var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768965&x=4544',
		'title': '',
		'imageId': '71768965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768971&x=4544',
		'title': '',
		'imageId': '71768971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768963&x=4544',
		'title': '',
		'imageId': '71768963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768962&x=4544',
		'title': '',
		'imageId': '71768962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768966&x=4544',
		'title': '',
		'imageId': '71768966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768967&x=4544',
		'title': '',
		'imageId': '71768967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768968&x=4544',
		'title': '',
		'imageId': '71768968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768969&x=4544',
		'title': '',
		'imageId': '71768969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768970&x=4544',
		'title': '',
		'imageId': '71768970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768972&x=4544',
		'title': '',
		'imageId': '71768972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083079&docid=71768973&x=4544',
		'title': '',
		'imageId': '71768973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083079';

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