var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681683&x=2159',
		'title': '',
		'imageId': '66681683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681684&x=2159',
		'title': '',
		'imageId': '66681684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681685&x=2159',
		'title': '',
		'imageId': '66681685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681686&x=2159',
		'title': '',
		'imageId': '66681686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681687&x=2159',
		'title': '',
		'imageId': '66681687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681688&x=2159',
		'title': '',
		'imageId': '66681688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681689&x=2159',
		'title': '',
		'imageId': '66681689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681690&x=2159',
		'title': '',
		'imageId': '66681690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681691&x=2159',
		'title': '',
		'imageId': '66681691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681692&x=2159',
		'title': '',
		'imageId': '66681692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871621&docid=66681693&x=2159',
		'title': '',
		'imageId': '66681693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3871621';

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