var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005832&x=4257',
		'title': '',
		'imageId': '70005832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005835&x=4257',
		'title': '',
		'imageId': '70005835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005830&x=4257',
		'title': '',
		'imageId': '70005830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005831&x=4257',
		'title': '',
		'imageId': '70005831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005837&x=4257',
		'title': '',
		'imageId': '70005837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005826&x=4257',
		'title': '',
		'imageId': '70005826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005829&x=4257',
		'title': '',
		'imageId': '70005829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005836&x=4257',
		'title': '',
		'imageId': '70005836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005828&x=4257',
		'title': '',
		'imageId': '70005828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005833&x=4257',
		'title': '',
		'imageId': '70005833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011967&docid=70005827&x=4257',
		'title': '',
		'imageId': '70005827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011967';

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