var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670373&x=5724',
		'title': '',
		'imageId': '69670373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670367&x=5724',
		'title': '',
		'imageId': '69670367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670374&x=5724',
		'title': '',
		'imageId': '69670374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670377&x=5724',
		'title': '',
		'imageId': '69670377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670372&x=5724',
		'title': '',
		'imageId': '69670372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670376&x=5724',
		'title': '',
		'imageId': '69670376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670369&x=5724',
		'title': '',
		'imageId': '69670369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670371&x=5724',
		'title': '',
		'imageId': '69670371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670370&x=5724',
		'title': '',
		'imageId': '69670370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670375&x=5724',
		'title': '',
		'imageId': '69670375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670366&x=5724',
		'title': '',
		'imageId': '69670366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998577&docid=69670368&x=5724',
		'title': '',
		'imageId': '69670368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998577';

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