var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212709&x=448',
		'title': '',
		'imageId': '70212709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212708&x=448',
		'title': '',
		'imageId': '70212708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212704&x=448',
		'title': '',
		'imageId': '70212704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212705&x=448',
		'title': '',
		'imageId': '70212705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212706&x=448',
		'title': '',
		'imageId': '70212706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212707&x=448',
		'title': '',
		'imageId': '70212707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212710&x=448',
		'title': '',
		'imageId': '70212710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212712&x=448',
		'title': '',
		'imageId': '70212712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212713&x=448',
		'title': '',
		'imageId': '70212713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70212711&x=448',
		'title': '',
		'imageId': '70212711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019326&docid=70213190&x=448',
		'title': '',
		'imageId': '70213190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019326';

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