var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814168&x=4217',
		'title': '',
		'imageId': '69814168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814172&x=4217',
		'title': '',
		'imageId': '69814172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814174&x=4217',
		'title': '',
		'imageId': '69814174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814173&x=4217',
		'title': '',
		'imageId': '69814173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814176&x=4217',
		'title': '',
		'imageId': '69814176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814171&x=4217',
		'title': '',
		'imageId': '69814171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814175&x=4217',
		'title': '',
		'imageId': '69814175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69814170&x=4217',
		'title': '',
		'imageId': '69814170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69981684&x=4217',
		'title': '',
		'imageId': '69981684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69981683&x=4217',
		'title': '',
		'imageId': '69981683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69981682&x=4217',
		'title': '',
		'imageId': '69981682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004184&docid=69981681&x=4217',
		'title': '',
		'imageId': '69981681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004184';

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