var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188583&x=3544',
		'title': '',
		'imageId': '70188583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188585&x=3544',
		'title': '',
		'imageId': '70188585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188582&x=3544',
		'title': '',
		'imageId': '70188582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188598&x=3544',
		'title': '',
		'imageId': '70188598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188601&x=3544',
		'title': '',
		'imageId': '70188601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188600&x=3544',
		'title': '',
		'imageId': '70188600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188591&x=3544',
		'title': '',
		'imageId': '70188591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188589&x=3544',
		'title': '',
		'imageId': '70188589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188602&x=3544',
		'title': '',
		'imageId': '70188602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188586&x=3544',
		'title': '',
		'imageId': '70188586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188584&x=3544',
		'title': '',
		'imageId': '70188584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188593&x=3544',
		'title': '',
		'imageId': '70188593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188596&x=3544',
		'title': '',
		'imageId': '70188596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188587&x=3544',
		'title': '',
		'imageId': '70188587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188592&x=3544',
		'title': '',
		'imageId': '70188592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188594&x=3544',
		'title': '',
		'imageId': '70188594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188588&x=3544',
		'title': '',
		'imageId': '70188588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188603&x=3544',
		'title': '',
		'imageId': '70188603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188590&x=3544',
		'title': '',
		'imageId': '70188590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188599&x=3544',
		'title': '',
		'imageId': '70188599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188597&x=3544',
		'title': '',
		'imageId': '70188597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018471&docid=70188595&x=3544',
		'title': '',
		'imageId': '70188595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018471';

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