var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710145&x=1821',
		'title': '',
		'imageId': '71710145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710149&x=1821',
		'title': '',
		'imageId': '71710149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710147&x=1821',
		'title': '',
		'imageId': '71710147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710146&x=1821',
		'title': '',
		'imageId': '71710146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710150&x=1821',
		'title': '',
		'imageId': '71710150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710152&x=1821',
		'title': '',
		'imageId': '71710152',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093621&docid=71710148&x=1821',
		'title': '',
		'imageId': '71710148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4093621';

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