var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637069&x=059',
		'title': '',
		'imageId': '71637069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637072&x=059',
		'title': '',
		'imageId': '71637072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637075&x=059',
		'title': '',
		'imageId': '71637075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637077&x=059',
		'title': '',
		'imageId': '71637077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637081&x=059',
		'title': '',
		'imageId': '71637081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637084&x=059',
		'title': '',
		'imageId': '71637084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637087&x=059',
		'title': '',
		'imageId': '71637087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077010&docid=71637090&x=059',
		'title': '',
		'imageId': '71637090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4077010';

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