var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973102&x=241',
		'title': '',
		'imageId': '66973102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973103&x=241',
		'title': '',
		'imageId': '66973103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973096&x=241',
		'title': '',
		'imageId': '66973096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973104&x=241',
		'title': '',
		'imageId': '66973104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973101&x=241',
		'title': '',
		'imageId': '66973101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973098&x=241',
		'title': '',
		'imageId': '66973098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973099&x=241',
		'title': '',
		'imageId': '66973099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973094&x=241',
		'title': '',
		'imageId': '66973094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973095&x=241',
		'title': '',
		'imageId': '66973095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973100&x=241',
		'title': '',
		'imageId': '66973100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015608&docid=66973097&x=241',
		'title': '',
		'imageId': '66973097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015608';

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