var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70829536&x=4031',
		'title': '',
		'imageId': '70829536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70829535&x=4031',
		'title': '',
		'imageId': '70829535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70829538&x=4031',
		'title': '',
		'imageId': '70829538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70829537&x=4031',
		'title': '',
		'imageId': '70829537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70829534&x=4031',
		'title': '',
		'imageId': '70829534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70903561&x=4031',
		'title': '',
		'imageId': '70903561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70903563&x=4031',
		'title': '',
		'imageId': '70903563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70903562&x=4031',
		'title': '',
		'imageId': '70903562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066980&docid=70903560&x=4031',
		'title': '',
		'imageId': '70903560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066980';

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