var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300406&x=5650',
		'title': '',
		'imageId': '70300406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300459&x=5650',
		'title': '',
		'imageId': '70300459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300465&x=5650',
		'title': '',
		'imageId': '70300465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300464&x=5650',
		'title': '',
		'imageId': '70300464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300441&x=5650',
		'title': '',
		'imageId': '70300441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300451&x=5650',
		'title': '',
		'imageId': '70300451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300452&x=5650',
		'title': '',
		'imageId': '70300452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300446&x=5650',
		'title': '',
		'imageId': '70300446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300426&x=5650',
		'title': '',
		'imageId': '70300426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300376&x=5650',
		'title': '',
		'imageId': '70300376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300398&x=5650',
		'title': '',
		'imageId': '70300398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300391&x=5650',
		'title': '',
		'imageId': '70300391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300394&x=5650',
		'title': '',
		'imageId': '70300394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300377&x=5650',
		'title': '',
		'imageId': '70300377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300425&x=5650',
		'title': '',
		'imageId': '70300425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300379&x=5650',
		'title': '',
		'imageId': '70300379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300434&x=5650',
		'title': '',
		'imageId': '70300434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300380&x=5650',
		'title': '',
		'imageId': '70300380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300415&x=5650',
		'title': '',
		'imageId': '70300415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300420&x=5650',
		'title': '',
		'imageId': '70300420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300416&x=5650',
		'title': '',
		'imageId': '70300416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300435&x=5650',
		'title': '',
		'imageId': '70300435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300440&x=5650',
		'title': '',
		'imageId': '70300440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300399&x=5650',
		'title': '',
		'imageId': '70300399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300403&x=5650',
		'title': '',
		'imageId': '70300403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300386&x=5650',
		'title': '',
		'imageId': '70300386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300453&x=5650',
		'title': '',
		'imageId': '70300453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300396&x=5650',
		'title': '',
		'imageId': '70300396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300381&x=5650',
		'title': '',
		'imageId': '70300381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300458&x=5650',
		'title': '',
		'imageId': '70300458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300378&x=5650',
		'title': '',
		'imageId': '70300378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300417&x=5650',
		'title': '',
		'imageId': '70300417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300433&x=5650',
		'title': '',
		'imageId': '70300433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023083&docid=70300411&x=5650',
		'title': '',
		'imageId': '70300411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023083';

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