var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292419&x=426',
		'title': '',
		'imageId': '69292419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292420&x=426',
		'title': '',
		'imageId': '69292420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292421&x=426',
		'title': '',
		'imageId': '69292421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292422&x=426',
		'title': '',
		'imageId': '69292422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292423&x=426',
		'title': '',
		'imageId': '69292423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292424&x=426',
		'title': '',
		'imageId': '69292424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292425&x=426',
		'title': '',
		'imageId': '69292425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292426&x=426',
		'title': '',
		'imageId': '69292426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292427&x=426',
		'title': '',
		'imageId': '69292427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292428&x=426',
		'title': '',
		'imageId': '69292428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981165&docid=69292429&x=426',
		'title': '',
		'imageId': '69292429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981165';

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