var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772303&x=3214',
		'title': '',
		'imageId': '69772303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772306&x=3214',
		'title': '',
		'imageId': '69772306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772305&x=3214',
		'title': '',
		'imageId': '69772305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772313&x=3214',
		'title': '',
		'imageId': '69772313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772309&x=3214',
		'title': '',
		'imageId': '69772309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772311&x=3214',
		'title': '',
		'imageId': '69772311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772304&x=3214',
		'title': '',
		'imageId': '69772304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772308&x=3214',
		'title': '',
		'imageId': '69772308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772312&x=3214',
		'title': '',
		'imageId': '69772312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772310&x=3214',
		'title': '',
		'imageId': '69772310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772307&x=3214',
		'title': '',
		'imageId': '69772307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002467&docid=69772314&x=3214',
		'title': '',
		'imageId': '69772314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002467';

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