var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749309&x=4527',
		'title': '',
		'imageId': '69749309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749315&x=4527',
		'title': '',
		'imageId': '69749315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749318&x=4527',
		'title': '',
		'imageId': '69749318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749316&x=4527',
		'title': '',
		'imageId': '69749316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749313&x=4527',
		'title': '',
		'imageId': '69749313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749317&x=4527',
		'title': '',
		'imageId': '69749317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749319&x=4527',
		'title': '',
		'imageId': '69749319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749312&x=4527',
		'title': '',
		'imageId': '69749312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749311&x=4527',
		'title': '',
		'imageId': '69749311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749314&x=4527',
		'title': '',
		'imageId': '69749314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998725&docid=69749310&x=4527',
		'title': '',
		'imageId': '69749310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998725';

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