var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124760&x=225',
		'title': '',
		'imageId': '67124760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124759&x=225',
		'title': '',
		'imageId': '67124759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124750&x=225',
		'title': '',
		'imageId': '67124750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124752&x=225',
		'title': '',
		'imageId': '67124752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124757&x=225',
		'title': '',
		'imageId': '67124757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124754&x=225',
		'title': '',
		'imageId': '67124754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124756&x=225',
		'title': '',
		'imageId': '67124756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124755&x=225',
		'title': '',
		'imageId': '67124755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124751&x=225',
		'title': '',
		'imageId': '67124751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124753&x=225',
		'title': '',
		'imageId': '67124753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909740&docid=67124758&x=225',
		'title': '',
		'imageId': '67124758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909740';

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