var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984108&x=1954',
		'title': '',
		'imageId': '69984108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984109&x=1954',
		'title': '',
		'imageId': '69984109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984110&x=1954',
		'title': '',
		'imageId': '69984110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984111&x=1954',
		'title': '',
		'imageId': '69984111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984112&x=1954',
		'title': '',
		'imageId': '69984112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984113&x=1954',
		'title': '',
		'imageId': '69984113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984114&x=1954',
		'title': '',
		'imageId': '69984114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984115&x=1954',
		'title': '',
		'imageId': '69984115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984116&x=1954',
		'title': '',
		'imageId': '69984116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984117&x=1954',
		'title': '',
		'imageId': '69984117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011016&docid=69984118&x=1954',
		'title': '',
		'imageId': '69984118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011016';

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