var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607300&x=1019',
		'title': '',
		'imageId': '71607300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607305&x=1019',
		'title': '',
		'imageId': '71607305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607299&x=1019',
		'title': '',
		'imageId': '71607299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607308&x=1019',
		'title': '',
		'imageId': '71607308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607309&x=1019',
		'title': '',
		'imageId': '71607309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607312&x=1019',
		'title': '',
		'imageId': '71607312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607303&x=1019',
		'title': '',
		'imageId': '71607303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607304&x=1019',
		'title': '',
		'imageId': '71607304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075933&docid=71607302&x=1019',
		'title': '',
		'imageId': '71607302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075933';

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