var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888144&x=927',
		'title': '',
		'imageId': '66888144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888143&x=927',
		'title': '',
		'imageId': '66888143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888145&x=927',
		'title': '',
		'imageId': '66888145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888156&x=927',
		'title': '',
		'imageId': '66888156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888146&x=927',
		'title': '',
		'imageId': '66888146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888147&x=927',
		'title': '',
		'imageId': '66888147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888148&x=927',
		'title': '',
		'imageId': '66888148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888150&x=927',
		'title': '',
		'imageId': '66888150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888151&x=927',
		'title': '',
		'imageId': '66888151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888149&x=927',
		'title': '',
		'imageId': '66888149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888152&x=927',
		'title': '',
		'imageId': '66888152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880444&docid=66888153&x=927',
		'title': '',
		'imageId': '66888153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880444';

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