var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925027&x=3250',
		'title': '',
		'imageId': '69925027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925021&x=3250',
		'title': '',
		'imageId': '69925021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925030&x=3250',
		'title': '',
		'imageId': '69925030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925023&x=3250',
		'title': '',
		'imageId': '69925023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925020&x=3250',
		'title': '',
		'imageId': '69925020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925019&x=3250',
		'title': '',
		'imageId': '69925019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925029&x=3250',
		'title': '',
		'imageId': '69925029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925028&x=3250',
		'title': '',
		'imageId': '69925028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925026&x=3250',
		'title': '',
		'imageId': '69925026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925025&x=3250',
		'title': '',
		'imageId': '69925025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008553&docid=69925022&x=3250',
		'title': '',
		'imageId': '69925022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008553';

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