var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599265&x=5610',
		'title': '',
		'imageId': '71599265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599269&x=5610',
		'title': '',
		'imageId': '71599269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599264&x=5610',
		'title': '',
		'imageId': '71599264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599266&x=5610',
		'title': '',
		'imageId': '71599266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599267&x=5610',
		'title': '',
		'imageId': '71599267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599270&x=5610',
		'title': '',
		'imageId': '71599270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599271&x=5610',
		'title': '',
		'imageId': '71599271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075635&docid=71599268&x=5610',
		'title': '',
		'imageId': '71599268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075635';

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