var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316079&x=2330',
		'title': '',
		'imageId': '69316079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316078&x=2330',
		'title': '',
		'imageId': '69316078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316093&x=2330',
		'title': '',
		'imageId': '69316093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316083&x=2330',
		'title': '',
		'imageId': '69316083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316082&x=2330',
		'title': '',
		'imageId': '69316082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316104&x=2330',
		'title': '',
		'imageId': '69316104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316101&x=2330',
		'title': '',
		'imageId': '69316101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316080&x=2330',
		'title': '',
		'imageId': '69316080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316081&x=2330',
		'title': '',
		'imageId': '69316081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316102&x=2330',
		'title': '',
		'imageId': '69316102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316094&x=2330',
		'title': '',
		'imageId': '69316094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019389&docid=69316095&x=2330',
		'title': '',
		'imageId': '69316095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019389';

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