var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274057&x=3445',
		'title': '',
		'imageId': '7274057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274058&x=3445',
		'title': '',
		'imageId': '7274058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274056&x=3445',
		'title': '',
		'imageId': '7274056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274061&x=3445',
		'title': '',
		'imageId': '7274061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274066&x=3445',
		'title': '',
		'imageId': '7274066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274067&x=3445',
		'title': '',
		'imageId': '7274067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274070&x=3445',
		'title': '',
		'imageId': '7274070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274073&x=3445',
		'title': '',
		'imageId': '7274073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274076&x=3445',
		'title': '',
		'imageId': '7274076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274079&x=3445',
		'title': '',
		'imageId': '7274079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913693&docid=7274082&x=3445',
		'title': '',
		'imageId': '7274082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913693';

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