var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001492&x=3510',
		'title': '',
		'imageId': '69001492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001497&x=3510',
		'title': '',
		'imageId': '69001497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001489&x=3510',
		'title': '',
		'imageId': '69001489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001491&x=3510',
		'title': '',
		'imageId': '69001491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001494&x=3510',
		'title': '',
		'imageId': '69001494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001493&x=3510',
		'title': '',
		'imageId': '69001493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001496&x=3510',
		'title': '',
		'imageId': '69001496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001498&x=3510',
		'title': '',
		'imageId': '69001498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001490&x=3510',
		'title': '',
		'imageId': '69001490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966943&docid=69001495&x=3510',
		'title': '',
		'imageId': '69001495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966943';

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