var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929601&x=5526',
		'title': '',
		'imageId': '71929601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929604&x=5526',
		'title': '',
		'imageId': '71929604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929605&x=5526',
		'title': '',
		'imageId': '71929605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929600&x=5526',
		'title': '',
		'imageId': '71929600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929603&x=5526',
		'title': '',
		'imageId': '71929603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929607&x=5526',
		'title': '',
		'imageId': '71929607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929602&x=5526',
		'title': '',
		'imageId': '71929602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929606&x=5526',
		'title': '',
		'imageId': '71929606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929744&x=5526',
		'title': '',
		'imageId': '71929744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929746&x=5526',
		'title': '',
		'imageId': '71929746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089738&docid=71929745&x=5526',
		'title': '',
		'imageId': '71929745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089738';

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