var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914422&x=2439',
		'title': '',
		'imageId': '69914422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914740&x=2439',
		'title': '',
		'imageId': '69914740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914417&x=2439',
		'title': '',
		'imageId': '69914417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914419&x=2439',
		'title': '',
		'imageId': '69914419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914420&x=2439',
		'title': '',
		'imageId': '69914420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914418&x=2439',
		'title': '',
		'imageId': '69914418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914421&x=2439',
		'title': '',
		'imageId': '69914421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914411&x=2439',
		'title': '',
		'imageId': '69914411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914754&x=2439',
		'title': '',
		'imageId': '69914754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914413&x=2439',
		'title': '',
		'imageId': '69914413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914414&x=2439',
		'title': '',
		'imageId': '69914414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008183&docid=69914416&x=2439',
		'title': '',
		'imageId': '69914416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008183';

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