var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230250&x=2651',
		'title': '',
		'imageId': '69230250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230256&x=2651',
		'title': '',
		'imageId': '69230256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230251&x=2651',
		'title': '',
		'imageId': '69230251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230257&x=2651',
		'title': '',
		'imageId': '69230257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230223&x=2651',
		'title': '',
		'imageId': '69230223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230227&x=2651',
		'title': '',
		'imageId': '69230227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230237&x=2651',
		'title': '',
		'imageId': '69230237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230222&x=2651',
		'title': '',
		'imageId': '69230222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230226&x=2651',
		'title': '',
		'imageId': '69230226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230239&x=2651',
		'title': '',
		'imageId': '69230239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230224&x=2651',
		'title': '',
		'imageId': '69230224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230242&x=2651',
		'title': '',
		'imageId': '69230242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230230&x=2651',
		'title': '',
		'imageId': '69230230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230225&x=2651',
		'title': '',
		'imageId': '69230225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230235&x=2651',
		'title': '',
		'imageId': '69230235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230249&x=2651',
		'title': '',
		'imageId': '69230249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230269&x=2651',
		'title': '',
		'imageId': '69230269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230274&x=2651',
		'title': '',
		'imageId': '69230274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230275&x=2651',
		'title': '',
		'imageId': '69230275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230282&x=2651',
		'title': '',
		'imageId': '69230282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230283&x=2651',
		'title': '',
		'imageId': '69230283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230286&x=2651',
		'title': '',
		'imageId': '69230286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230263&x=2651',
		'title': '',
		'imageId': '69230263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978783&docid=69230262&x=2651',
		'title': '',
		'imageId': '69230262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978783';

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