var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061298&x=1918',
		'title': '',
		'imageId': '71061298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061291&x=1918',
		'title': '',
		'imageId': '71061291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061293&x=1918',
		'title': '',
		'imageId': '71061293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061289&x=1918',
		'title': '',
		'imageId': '71061289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061292&x=1918',
		'title': '',
		'imageId': '71061292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061297&x=1918',
		'title': '',
		'imageId': '71061297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061295&x=1918',
		'title': '',
		'imageId': '71061295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061294&x=1918',
		'title': '',
		'imageId': '71061294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061290&x=1918',
		'title': '',
		'imageId': '71061290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061296&x=1918',
		'title': '',
		'imageId': '71061296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052999&docid=71061299&x=1918',
		'title': '',
		'imageId': '71061299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052999';

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