var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134362&x=4021',
		'title': '',
		'imageId': '69134362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134359&x=4021',
		'title': '',
		'imageId': '69134359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134366&x=4021',
		'title': '',
		'imageId': '69134366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134357&x=4021',
		'title': '',
		'imageId': '69134357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134361&x=4021',
		'title': '',
		'imageId': '69134361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134364&x=4021',
		'title': '',
		'imageId': '69134364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134363&x=4021',
		'title': '',
		'imageId': '69134363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134356&x=4021',
		'title': '',
		'imageId': '69134356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134358&x=4021',
		'title': '',
		'imageId': '69134358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134367&x=4021',
		'title': '',
		'imageId': '69134367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974436&docid=69134365&x=4021',
		'title': '',
		'imageId': '69134365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974436';

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