var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626382&x=1752',
		'title': '',
		'imageId': '66626382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626390&x=1752',
		'title': '',
		'imageId': '66626390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626385&x=1752',
		'title': '',
		'imageId': '66626385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626389&x=1752',
		'title': '',
		'imageId': '66626389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626392&x=1752',
		'title': '',
		'imageId': '66626392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626391&x=1752',
		'title': '',
		'imageId': '66626391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626388&x=1752',
		'title': '',
		'imageId': '66626388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626387&x=1752',
		'title': '',
		'imageId': '66626387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626383&x=1752',
		'title': '',
		'imageId': '66626383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952967&docid=66626384&x=1752',
		'title': '',
		'imageId': '66626384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952967';

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