var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886684&x=1927',
		'title': '',
		'imageId': '69886684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886699&x=1927',
		'title': '',
		'imageId': '69886699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886683&x=1927',
		'title': '',
		'imageId': '69886683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886688&x=1927',
		'title': '',
		'imageId': '69886688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886682&x=1927',
		'title': '',
		'imageId': '69886682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886681&x=1927',
		'title': '',
		'imageId': '69886681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886687&x=1927',
		'title': '',
		'imageId': '69886687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886700&x=1927',
		'title': '',
		'imageId': '69886700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886704&x=1927',
		'title': '',
		'imageId': '69886704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886701&x=1927',
		'title': '',
		'imageId': '69886701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886706&x=1927',
		'title': '',
		'imageId': '69886706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886705&x=1927',
		'title': '',
		'imageId': '69886705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886719&x=1927',
		'title': '',
		'imageId': '69886719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886717&x=1927',
		'title': '',
		'imageId': '69886717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886718&x=1927',
		'title': '',
		'imageId': '69886718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007338&docid=69886720&x=1927',
		'title': '',
		'imageId': '69886720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007338';

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