var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067967&x=5849',
		'title': '',
		'imageId': '70067967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067957&x=5849',
		'title': '',
		'imageId': '70067957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067963&x=5849',
		'title': '',
		'imageId': '70067963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067965&x=5849',
		'title': '',
		'imageId': '70067965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067936&x=5849',
		'title': '',
		'imageId': '70067936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067948&x=5849',
		'title': '',
		'imageId': '70067948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067933&x=5849',
		'title': '',
		'imageId': '70067933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067931&x=5849',
		'title': '',
		'imageId': '70067931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067934&x=5849',
		'title': '',
		'imageId': '70067934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067947&x=5849',
		'title': '',
		'imageId': '70067947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067932&x=5849',
		'title': '',
		'imageId': '70067932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067941&x=5849',
		'title': '',
		'imageId': '70067941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067953&x=5849',
		'title': '',
		'imageId': '70067953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067935&x=5849',
		'title': '',
		'imageId': '70067935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067945&x=5849',
		'title': '',
		'imageId': '70067945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067954&x=5849',
		'title': '',
		'imageId': '70067954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067978&x=5849',
		'title': '',
		'imageId': '70067978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067984&x=5849',
		'title': '',
		'imageId': '70067984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067987&x=5849',
		'title': '',
		'imageId': '70067987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067989&x=5849',
		'title': '',
		'imageId': '70067989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067990&x=5849',
		'title': '',
		'imageId': '70067990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067995&x=5849',
		'title': '',
		'imageId': '70067995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067972&x=5849',
		'title': '',
		'imageId': '70067972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014566&docid=70067977&x=5849',
		'title': '',
		'imageId': '70067977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014566';

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