var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689488&x=3648',
		'title': '',
		'imageId': '69689488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689473&x=3648',
		'title': '',
		'imageId': '69689473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689497&x=3648',
		'title': '',
		'imageId': '69689497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689490&x=3648',
		'title': '',
		'imageId': '69689490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689481&x=3648',
		'title': '',
		'imageId': '69689481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689468&x=3648',
		'title': '',
		'imageId': '69689468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689471&x=3648',
		'title': '',
		'imageId': '69689471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689492&x=3648',
		'title': '',
		'imageId': '69689492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689508&x=3648',
		'title': '',
		'imageId': '69689508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689470&x=3648',
		'title': '',
		'imageId': '69689470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689469&x=3648',
		'title': '',
		'imageId': '69689469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689487&x=3648',
		'title': '',
		'imageId': '69689487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689509&x=3648',
		'title': '',
		'imageId': '69689509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689507&x=3648',
		'title': '',
		'imageId': '69689507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689500&x=3648',
		'title': '',
		'imageId': '69689500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999204&docid=69689493&x=3648',
		'title': '',
		'imageId': '69689493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999204';

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