var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936128&x=2739',
		'title': '',
		'imageId': '67936128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936125&x=2739',
		'title': '',
		'imageId': '67936125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936127&x=2739',
		'title': '',
		'imageId': '67936127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936130&x=2739',
		'title': '',
		'imageId': '67936130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936126&x=2739',
		'title': '',
		'imageId': '67936126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936131&x=2739',
		'title': '',
		'imageId': '67936131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936129&x=2739',
		'title': '',
		'imageId': '67936129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936132&x=2739',
		'title': '',
		'imageId': '67936132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936133&x=2739',
		'title': '',
		'imageId': '67936133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936134&x=2739',
		'title': '',
		'imageId': '67936134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921143&docid=67936124&x=2739',
		'title': '',
		'imageId': '67936124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921143';

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