var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839662&x=5721',
		'title': '',
		'imageId': '69839662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839663&x=5721',
		'title': '',
		'imageId': '69839663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839665&x=5721',
		'title': '',
		'imageId': '69839665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839666&x=5721',
		'title': '',
		'imageId': '69839666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839667&x=5721',
		'title': '',
		'imageId': '69839667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839660&x=5721',
		'title': '',
		'imageId': '69839660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839668&x=5721',
		'title': '',
		'imageId': '69839668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839659&x=5721',
		'title': '',
		'imageId': '69839659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839664&x=5721',
		'title': '',
		'imageId': '69839664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839661&x=5721',
		'title': '',
		'imageId': '69839661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839670&x=5721',
		'title': '',
		'imageId': '69839670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005087&docid=69839669&x=5721',
		'title': '',
		'imageId': '69839669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005087';

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