var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184130&x=539',
		'title': '',
		'imageId': '70184130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184131&x=539',
		'title': '',
		'imageId': '70184131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184133&x=539',
		'title': '',
		'imageId': '70184133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184134&x=539',
		'title': '',
		'imageId': '70184134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184132&x=539',
		'title': '',
		'imageId': '70184132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184137&x=539',
		'title': '',
		'imageId': '70184137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184142&x=539',
		'title': '',
		'imageId': '70184142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184149&x=539',
		'title': '',
		'imageId': '70184149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184151&x=539',
		'title': '',
		'imageId': '70184151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184150&x=539',
		'title': '',
		'imageId': '70184150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184152&x=539',
		'title': '',
		'imageId': '70184152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184155&x=539',
		'title': '',
		'imageId': '70184155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184158&x=539',
		'title': '',
		'imageId': '70184158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184161&x=539',
		'title': '',
		'imageId': '70184161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184166&x=539',
		'title': '',
		'imageId': '70184166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184171&x=539',
		'title': '',
		'imageId': '70184171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184172&x=539',
		'title': '',
		'imageId': '70184172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184175&x=539',
		'title': '',
		'imageId': '70184175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184178&x=539',
		'title': '',
		'imageId': '70184178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184179&x=539',
		'title': '',
		'imageId': '70184179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184182&x=539',
		'title': '',
		'imageId': '70184182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184185&x=539',
		'title': '',
		'imageId': '70184185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184188&x=539',
		'title': '',
		'imageId': '70184188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184193&x=539',
		'title': '',
		'imageId': '70184193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184197&x=539',
		'title': '',
		'imageId': '70184197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184199&x=539',
		'title': '',
		'imageId': '70184199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184200&x=539',
		'title': '',
		'imageId': '70184200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184203&x=539',
		'title': '',
		'imageId': '70184203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184206&x=539',
		'title': '',
		'imageId': '70184206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184210&x=539',
		'title': '',
		'imageId': '70184210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184212&x=539',
		'title': '',
		'imageId': '70184212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184215&x=539',
		'title': '',
		'imageId': '70184215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184221&x=539',
		'title': '',
		'imageId': '70184221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184223&x=539',
		'title': '',
		'imageId': '70184223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018330&docid=70184129&x=539',
		'title': '',
		'imageId': '70184129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018330';

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