var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197187&x=4651',
		'title': '',
		'imageId': '70197187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197184&x=4651',
		'title': '',
		'imageId': '70197184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197191&x=4651',
		'title': '',
		'imageId': '70197191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197189&x=4651',
		'title': '',
		'imageId': '70197189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197182&x=4651',
		'title': '',
		'imageId': '70197182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197186&x=4651',
		'title': '',
		'imageId': '70197186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197178&x=4651',
		'title': '',
		'imageId': '70197178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197179&x=4651',
		'title': '',
		'imageId': '70197179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197194&x=4651',
		'title': '',
		'imageId': '70197194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197195&x=4651',
		'title': '',
		'imageId': '70197195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197199&x=4651',
		'title': '',
		'imageId': '70197199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197193&x=4651',
		'title': '',
		'imageId': '70197193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197181&x=4651',
		'title': '',
		'imageId': '70197181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197180&x=4651',
		'title': '',
		'imageId': '70197180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197190&x=4651',
		'title': '',
		'imageId': '70197190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197197&x=4651',
		'title': '',
		'imageId': '70197197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197198&x=4651',
		'title': '',
		'imageId': '70197198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197185&x=4651',
		'title': '',
		'imageId': '70197185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197196&x=4651',
		'title': '',
		'imageId': '70197196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197183&x=4651',
		'title': '',
		'imageId': '70197183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197192&x=4651',
		'title': '',
		'imageId': '70197192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=70197188&x=4651',
		'title': '',
		'imageId': '70197188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=59270916&x=4651',
		'title': '',
		'imageId': '59270916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018386&docid=59270915&x=4651',
		'title': '',
		'imageId': '59270915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018386';

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