var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340692&x=3649',
		'title': '',
		'imageId': '69340692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340691&x=3649',
		'title': '',
		'imageId': '69340691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340689&x=3649',
		'title': '',
		'imageId': '69340689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340699&x=3649',
		'title': '',
		'imageId': '69340699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340695&x=3649',
		'title': '',
		'imageId': '69340695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340693&x=3649',
		'title': '',
		'imageId': '69340693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340700&x=3649',
		'title': '',
		'imageId': '69340700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340697&x=3649',
		'title': '',
		'imageId': '69340697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340690&x=3649',
		'title': '',
		'imageId': '69340690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340696&x=3649',
		'title': '',
		'imageId': '69340696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340698&x=3649',
		'title': '',
		'imageId': '69340698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003964&docid=69340694&x=3649',
		'title': '',
		'imageId': '69340694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003964';

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