var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842669&x=4248',
		'title': '',
		'imageId': '69842669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842663&x=4248',
		'title': '',
		'imageId': '69842663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842668&x=4248',
		'title': '',
		'imageId': '69842668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842664&x=4248',
		'title': '',
		'imageId': '69842664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842665&x=4248',
		'title': '',
		'imageId': '69842665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842666&x=4248',
		'title': '',
		'imageId': '69842666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842678&x=4248',
		'title': '',
		'imageId': '69842678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842667&x=4248',
		'title': '',
		'imageId': '69842667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842682&x=4248',
		'title': '',
		'imageId': '69842682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842671&x=4248',
		'title': '',
		'imageId': '69842671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842676&x=4248',
		'title': '',
		'imageId': '69842676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842680&x=4248',
		'title': '',
		'imageId': '69842680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842679&x=4248',
		'title': '',
		'imageId': '69842679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842677&x=4248',
		'title': '',
		'imageId': '69842677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842662&x=4248',
		'title': '',
		'imageId': '69842662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842681&x=4248',
		'title': '',
		'imageId': '69842681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842683&x=4248',
		'title': '',
		'imageId': '69842683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842670&x=4248',
		'title': '',
		'imageId': '69842670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842672&x=4248',
		'title': '',
		'imageId': '69842672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842673&x=4248',
		'title': '',
		'imageId': '69842673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842675&x=4248',
		'title': '',
		'imageId': '69842675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842674&x=4248',
		'title': '',
		'imageId': '69842674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842684&x=4248',
		'title': '',
		'imageId': '69842684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005191&docid=69842685&x=4248',
		'title': '',
		'imageId': '69842685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005191';

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