var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102458&x=5949',
		'title': '',
		'imageId': '70102458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102428&x=5949',
		'title': '',
		'imageId': '70102428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102462&x=5949',
		'title': '',
		'imageId': '70102462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102441&x=5949',
		'title': '',
		'imageId': '70102441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102431&x=5949',
		'title': '',
		'imageId': '70102431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102448&x=5949',
		'title': '',
		'imageId': '70102448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102456&x=5949',
		'title': '',
		'imageId': '70102456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102455&x=5949',
		'title': '',
		'imageId': '70102455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102457&x=5949',
		'title': '',
		'imageId': '70102457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102459&x=5949',
		'title': '',
		'imageId': '70102459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102461&x=5949',
		'title': '',
		'imageId': '70102461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102454&x=5949',
		'title': '',
		'imageId': '70102454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102450&x=5949',
		'title': '',
		'imageId': '70102450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102425&x=5949',
		'title': '',
		'imageId': '70102425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102422&x=5949',
		'title': '',
		'imageId': '70102422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102444&x=5949',
		'title': '',
		'imageId': '70102444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102426&x=5949',
		'title': '',
		'imageId': '70102426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102429&x=5949',
		'title': '',
		'imageId': '70102429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102423&x=5949',
		'title': '',
		'imageId': '70102423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102419&x=5949',
		'title': '',
		'imageId': '70102419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102436&x=5949',
		'title': '',
		'imageId': '70102436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102453&x=5949',
		'title': '',
		'imageId': '70102453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102435&x=5949',
		'title': '',
		'imageId': '70102435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102430&x=5949',
		'title': '',
		'imageId': '70102430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102421&x=5949',
		'title': '',
		'imageId': '70102421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102446&x=5949',
		'title': '',
		'imageId': '70102446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102460&x=5949',
		'title': '',
		'imageId': '70102460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102434&x=5949',
		'title': '',
		'imageId': '70102434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102449&x=5949',
		'title': '',
		'imageId': '70102449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102424&x=5949',
		'title': '',
		'imageId': '70102424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102440&x=5949',
		'title': '',
		'imageId': '70102440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102442&x=5949',
		'title': '',
		'imageId': '70102442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102420&x=5949',
		'title': '',
		'imageId': '70102420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102437&x=5949',
		'title': '',
		'imageId': '70102437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102438&x=5949',
		'title': '',
		'imageId': '70102438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102439&x=5949',
		'title': '',
		'imageId': '70102439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102427&x=5949',
		'title': '',
		'imageId': '70102427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102445&x=5949',
		'title': '',
		'imageId': '70102445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102452&x=5949',
		'title': '',
		'imageId': '70102452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102447&x=5949',
		'title': '',
		'imageId': '70102447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102443&x=5949',
		'title': '',
		'imageId': '70102443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102433&x=5949',
		'title': '',
		'imageId': '70102433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102451&x=5949',
		'title': '',
		'imageId': '70102451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=70102432&x=5949',
		'title': '',
		'imageId': '70102432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=59271014&x=5949',
		'title': '',
		'imageId': '59271014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012290&docid=59271013&x=5949',
		'title': '',
		'imageId': '59271013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012290';

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