var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509610&x=4932',
		'title': '',
		'imageId': '71509610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509609&x=4932',
		'title': '',
		'imageId': '71509609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509607&x=4932',
		'title': '',
		'imageId': '71509607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509612&x=4932',
		'title': '',
		'imageId': '71509612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509608&x=4932',
		'title': '',
		'imageId': '71509608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509611&x=4932',
		'title': '',
		'imageId': '71509611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072347&docid=71509613&x=4932',
		'title': '',
		'imageId': '71509613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072347';

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