var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084689&x=37',
		'title': '',
		'imageId': '69084689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084686&x=37',
		'title': '',
		'imageId': '69084686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084694&x=37',
		'title': '',
		'imageId': '69084694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084693&x=37',
		'title': '',
		'imageId': '69084693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084685&x=37',
		'title': '',
		'imageId': '69084685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084687&x=37',
		'title': '',
		'imageId': '69084687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084691&x=37',
		'title': '',
		'imageId': '69084691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084692&x=37',
		'title': '',
		'imageId': '69084692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084695&x=37',
		'title': '',
		'imageId': '69084695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084690&x=37',
		'title': '',
		'imageId': '69084690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972467&docid=69084688&x=37',
		'title': '',
		'imageId': '69084688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972467';

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