var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389292&x=208',
		'title': '',
		'imageId': '66389292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389293&x=208',
		'title': '',
		'imageId': '66389293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389294&x=208',
		'title': '',
		'imageId': '66389294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389295&x=208',
		'title': '',
		'imageId': '66389295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389305&x=208',
		'title': '',
		'imageId': '66389305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389304&x=208',
		'title': '',
		'imageId': '66389304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389310&x=208',
		'title': '',
		'imageId': '66389310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389313&x=208',
		'title': '',
		'imageId': '66389313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389314&x=208',
		'title': '',
		'imageId': '66389314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389311&x=208',
		'title': '',
		'imageId': '66389311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945426&docid=66389312&x=208',
		'title': '',
		'imageId': '66389312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945426';

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