var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951013&x=1935',
		'title': '',
		'imageId': '71951013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951019&x=1935',
		'title': '',
		'imageId': '71951019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951014&x=1935',
		'title': '',
		'imageId': '71951014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951021&x=1935',
		'title': '',
		'imageId': '71951021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951012&x=1935',
		'title': '',
		'imageId': '71951012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951015&x=1935',
		'title': '',
		'imageId': '71951015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951022&x=1935',
		'title': '',
		'imageId': '71951022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951018&x=1935',
		'title': '',
		'imageId': '71951018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951016&x=1935',
		'title': '',
		'imageId': '71951016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951020&x=1935',
		'title': '',
		'imageId': '71951020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089895&docid=71951017&x=1935',
		'title': '',
		'imageId': '71951017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089895';

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