var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880913&x=5841',
		'title': '',
		'imageId': '69880913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880915&x=5841',
		'title': '',
		'imageId': '69880915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880914&x=5841',
		'title': '',
		'imageId': '69880914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880932&x=5841',
		'title': '',
		'imageId': '69880932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880933&x=5841',
		'title': '',
		'imageId': '69880933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880934&x=5841',
		'title': '',
		'imageId': '69880934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880967&x=5841',
		'title': '',
		'imageId': '69880967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880968&x=5841',
		'title': '',
		'imageId': '69880968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880969&x=5841',
		'title': '',
		'imageId': '69880969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880982&x=5841',
		'title': '',
		'imageId': '69880982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69880983&x=5841',
		'title': '',
		'imageId': '69880983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881041&x=5841',
		'title': '',
		'imageId': '69881041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881043&x=5841',
		'title': '',
		'imageId': '69881043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881042&x=5841',
		'title': '',
		'imageId': '69881042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881052&x=5841',
		'title': '',
		'imageId': '69881052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881051&x=5841',
		'title': '',
		'imageId': '69881051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881098&x=5841',
		'title': '',
		'imageId': '69881098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881096&x=5841',
		'title': '',
		'imageId': '69881096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881097&x=5841',
		'title': '',
		'imageId': '69881097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881137&x=5841',
		'title': '',
		'imageId': '69881137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881138&x=5841',
		'title': '',
		'imageId': '69881138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881139&x=5841',
		'title': '',
		'imageId': '69881139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881211&x=5841',
		'title': '',
		'imageId': '69881211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006971&docid=69881212&x=5841',
		'title': '',
		'imageId': '69881212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006971';

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