var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125006&x=109',
		'title': '',
		'imageId': '67125006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125008&x=109',
		'title': '',
		'imageId': '67125008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125010&x=109',
		'title': '',
		'imageId': '67125010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125015&x=109',
		'title': '',
		'imageId': '67125015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125004&x=109',
		'title': '',
		'imageId': '67125004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125009&x=109',
		'title': '',
		'imageId': '67125009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125007&x=109',
		'title': '',
		'imageId': '67125007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125013&x=109',
		'title': '',
		'imageId': '67125013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125014&x=109',
		'title': '',
		'imageId': '67125014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125005&x=109',
		'title': '',
		'imageId': '67125005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125012&x=109',
		'title': '',
		'imageId': '67125012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909738&docid=67125011&x=109',
		'title': '',
		'imageId': '67125011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909738';

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