var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145564&x=2359',
		'title': '',
		'imageId': '70145564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145562&x=2359',
		'title': '',
		'imageId': '70145562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145563&x=2359',
		'title': '',
		'imageId': '70145563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145566&x=2359',
		'title': '',
		'imageId': '70145566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145565&x=2359',
		'title': '',
		'imageId': '70145565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145573&x=2359',
		'title': '',
		'imageId': '70145573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145574&x=2359',
		'title': '',
		'imageId': '70145574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145575&x=2359',
		'title': '',
		'imageId': '70145575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145578&x=2359',
		'title': '',
		'imageId': '70145578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016801&docid=70145561&x=2359',
		'title': '',
		'imageId': '70145561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016801';

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