var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634194&x=3529',
		'title': '',
		'imageId': '67634194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634200&x=3529',
		'title': '',
		'imageId': '67634200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634196&x=3529',
		'title': '',
		'imageId': '67634196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634195&x=3529',
		'title': '',
		'imageId': '67634195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634197&x=3529',
		'title': '',
		'imageId': '67634197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634199&x=3529',
		'title': '',
		'imageId': '67634199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634202&x=3529',
		'title': '',
		'imageId': '67634202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634192&x=3529',
		'title': '',
		'imageId': '67634192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634198&x=3529',
		'title': '',
		'imageId': '67634198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908062&docid=67634201&x=3529',
		'title': '',
		'imageId': '67634201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908062';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
