var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654350&x=2944',
		'title': '',
		'imageId': '67654350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654352&x=2944',
		'title': '',
		'imageId': '67654352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654353&x=2944',
		'title': '',
		'imageId': '67654353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654354&x=2944',
		'title': '',
		'imageId': '67654354',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654355&x=2944',
		'title': '',
		'imageId': '67654355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654356&x=2944',
		'title': '',
		'imageId': '67654356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654357&x=2944',
		'title': '',
		'imageId': '67654357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654358&x=2944',
		'title': '',
		'imageId': '67654358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654359&x=2944',
		'title': '',
		'imageId': '67654359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654360&x=2944',
		'title': '',
		'imageId': '67654360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910707&docid=67654361&x=2944',
		'title': '',
		'imageId': '67654361',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910707';

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