var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006186&x=2127',
		'title': '',
		'imageId': '70006186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006190&x=2127',
		'title': '',
		'imageId': '70006190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006187&x=2127',
		'title': '',
		'imageId': '70006187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006188&x=2127',
		'title': '',
		'imageId': '70006188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006193&x=2127',
		'title': '',
		'imageId': '70006193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006189&x=2127',
		'title': '',
		'imageId': '70006189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006191&x=2127',
		'title': '',
		'imageId': '70006191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006192&x=2127',
		'title': '',
		'imageId': '70006192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006194&x=2127',
		'title': '',
		'imageId': '70006194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011986&docid=70006195&x=2127',
		'title': '',
		'imageId': '70006195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011986';

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