var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268418&x=2453',
		'title': '',
		'imageId': '70268418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268455&x=2453',
		'title': '',
		'imageId': '70268455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268415&x=2453',
		'title': '',
		'imageId': '70268415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268432&x=2453',
		'title': '',
		'imageId': '70268432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268412&x=2453',
		'title': '',
		'imageId': '70268412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268411&x=2453',
		'title': '',
		'imageId': '70268411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268430&x=2453',
		'title': '',
		'imageId': '70268430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268417&x=2453',
		'title': '',
		'imageId': '70268417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268414&x=2453',
		'title': '',
		'imageId': '70268414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268416&x=2453',
		'title': '',
		'imageId': '70268416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268423&x=2453',
		'title': '',
		'imageId': '70268423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268452&x=2453',
		'title': '',
		'imageId': '70268452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268438&x=2453',
		'title': '',
		'imageId': '70268438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268421&x=2453',
		'title': '',
		'imageId': '70268421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268453&x=2453',
		'title': '',
		'imageId': '70268453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268426&x=2453',
		'title': '',
		'imageId': '70268426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268419&x=2453',
		'title': '',
		'imageId': '70268419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268425&x=2453',
		'title': '',
		'imageId': '70268425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268420&x=2453',
		'title': '',
		'imageId': '70268420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268424&x=2453',
		'title': '',
		'imageId': '70268424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268422&x=2453',
		'title': '',
		'imageId': '70268422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268454&x=2453',
		'title': '',
		'imageId': '70268454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268447&x=2453',
		'title': 'HAS A SMELL OF CIGARETTE SMOKE',
		'imageId': '70268447',
		'alt' : 'HAS A SMELL OF CIGARETTE SMOKE',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268429&x=2453',
		'title': '',
		'imageId': '70268429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268440&x=2453',
		'title': '',
		'imageId': '70268440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268427&x=2453',
		'title': '',
		'imageId': '70268427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268434&x=2453',
		'title': '',
		'imageId': '70268434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268437&x=2453',
		'title': '',
		'imageId': '70268437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268436&x=2453',
		'title': '',
		'imageId': '70268436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268456&x=2453',
		'title': '',
		'imageId': '70268456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268435&x=2453',
		'title': '',
		'imageId': '70268435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268428&x=2453',
		'title': '',
		'imageId': '70268428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268439&x=2453',
		'title': '',
		'imageId': '70268439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268451&x=2453',
		'title': '',
		'imageId': '70268451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268448&x=2453',
		'title': '',
		'imageId': '70268448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268449&x=2453',
		'title': '',
		'imageId': '70268449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268445&x=2453',
		'title': '',
		'imageId': '70268445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268458&x=2453',
		'title': '',
		'imageId': '70268458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268444&x=2453',
		'title': '',
		'imageId': '70268444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268433&x=2453',
		'title': '',
		'imageId': '70268433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268442&x=2453',
		'title': '',
		'imageId': '70268442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268441&x=2453',
		'title': '',
		'imageId': '70268441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268443&x=2453',
		'title': '',
		'imageId': '70268443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268457&x=2453',
		'title': '',
		'imageId': '70268457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268450&x=2453',
		'title': '',
		'imageId': '70268450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268431&x=2453',
		'title': '',
		'imageId': '70268431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021697&docid=70268413&x=2453',
		'title': '',
		'imageId': '70268413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021697';

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