var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589410&x=5921',
		'title': '',
		'imageId': '71589410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589414&x=5921',
		'title': '',
		'imageId': '71589414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589412&x=5921',
		'title': '',
		'imageId': '71589412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589415&x=5921',
		'title': '',
		'imageId': '71589415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589413&x=5921',
		'title': '',
		'imageId': '71589413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589411&x=5921',
		'title': '',
		'imageId': '71589411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589408&x=5921',
		'title': '',
		'imageId': '71589408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589416&x=5921',
		'title': '',
		'imageId': '71589416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589406&x=5921',
		'title': '',
		'imageId': '71589406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589407&x=5921',
		'title': '',
		'imageId': '71589407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080100&docid=71589409&x=5921',
		'title': '',
		'imageId': '71589409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080100';

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