var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688043&x=578',
		'title': '',
		'imageId': '67688043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688044&x=578',
		'title': '',
		'imageId': '67688044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688042&x=578',
		'title': '',
		'imageId': '67688042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688045&x=578',
		'title': '',
		'imageId': '67688045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688046&x=578',
		'title': '',
		'imageId': '67688046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688047&x=578',
		'title': '',
		'imageId': '67688047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688053&x=578',
		'title': '',
		'imageId': '67688053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688056&x=578',
		'title': '',
		'imageId': '67688056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688057&x=578',
		'title': '',
		'imageId': '67688057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688062&x=578',
		'title': '',
		'imageId': '67688062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912059&docid=67688065&x=578',
		'title': '',
		'imageId': '67688065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912059';

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