var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508289&x=527',
		'title': '',
		'imageId': '67508289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508319&x=527',
		'title': '',
		'imageId': '67508319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508298&x=527',
		'title': '',
		'imageId': '67508298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508297&x=527',
		'title': '',
		'imageId': '67508297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508291&x=527',
		'title': '',
		'imageId': '67508291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508294&x=527',
		'title': '',
		'imageId': '67508294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508296&x=527',
		'title': '',
		'imageId': '67508296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508295&x=527',
		'title': '',
		'imageId': '67508295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508293&x=527',
		'title': '',
		'imageId': '67508293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508292&x=527',
		'title': '',
		'imageId': '67508292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904187&docid=67508290&x=527',
		'title': '',
		'imageId': '67508290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904187';

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