var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166304&x=571',
		'title': '',
		'imageId': '70166304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166302&x=571',
		'title': '',
		'imageId': '70166302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166306&x=571',
		'title': '',
		'imageId': '70166306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166305&x=571',
		'title': '',
		'imageId': '70166305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166300&x=571',
		'title': '',
		'imageId': '70166300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166308&x=571',
		'title': '',
		'imageId': '70166308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166307&x=571',
		'title': '',
		'imageId': '70166307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017343&docid=70166301&x=571',
		'title': '',
		'imageId': '70166301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017343';

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