var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056937&x=4714',
		'title': '',
		'imageId': '71056937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056936&x=4714',
		'title': '',
		'imageId': '71056936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056938&x=4714',
		'title': '',
		'imageId': '71056938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056939&x=4714',
		'title': '',
		'imageId': '71056939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056951&x=4714',
		'title': '',
		'imageId': '71056951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056945&x=4714',
		'title': '',
		'imageId': '71056945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056952&x=4714',
		'title': '',
		'imageId': '71056952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056934&x=4714',
		'title': '',
		'imageId': '71056934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052771&docid=71056935&x=4714',
		'title': '',
		'imageId': '71056935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052771';

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