var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354348&x=446',
		'title': '',
		'imageId': '68354348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354350&x=446',
		'title': '',
		'imageId': '68354350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354347&x=446',
		'title': '',
		'imageId': '68354347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354349&x=446',
		'title': '',
		'imageId': '68354349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354354&x=446',
		'title': '',
		'imageId': '68354354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354353&x=446',
		'title': '',
		'imageId': '68354353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354356&x=446',
		'title': '',
		'imageId': '68354356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354352&x=446',
		'title': '',
		'imageId': '68354352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354357&x=446',
		'title': '',
		'imageId': '68354357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354351&x=446',
		'title': '',
		'imageId': '68354351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939492&docid=68354355&x=446',
		'title': '',
		'imageId': '68354355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939492';

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";
	})
}
