var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888075&x=2344',
		'title': '',
		'imageId': '69888075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888077&x=2344',
		'title': '',
		'imageId': '69888077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888078&x=2344',
		'title': '',
		'imageId': '69888078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888079&x=2344',
		'title': '',
		'imageId': '69888079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888080&x=2344',
		'title': '',
		'imageId': '69888080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888081&x=2344',
		'title': '',
		'imageId': '69888081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888082&x=2344',
		'title': '',
		'imageId': '69888082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888083&x=2344',
		'title': '',
		'imageId': '69888083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888084&x=2344',
		'title': '',
		'imageId': '69888084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888085&x=2344',
		'title': '',
		'imageId': '69888085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888086&x=2344',
		'title': '',
		'imageId': '69888086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888087&x=2344',
		'title': '',
		'imageId': '69888087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888088&x=2344',
		'title': '',
		'imageId': '69888088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888089&x=2344',
		'title': '',
		'imageId': '69888089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888090&x=2344',
		'title': '',
		'imageId': '69888090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888091&x=2344',
		'title': '',
		'imageId': '69888091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888092&x=2344',
		'title': '',
		'imageId': '69888092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888093&x=2344',
		'title': '',
		'imageId': '69888093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888094&x=2344',
		'title': '',
		'imageId': '69888094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007435&docid=69888095&x=2344',
		'title': '',
		'imageId': '69888095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007435';

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