var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401752&x=5546',
		'title': '',
		'imageId': '67401752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401756&x=5546',
		'title': '',
		'imageId': '67401756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401758&x=5546',
		'title': '',
		'imageId': '67401758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401755&x=5546',
		'title': '',
		'imageId': '67401755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401759&x=5546',
		'title': '',
		'imageId': '67401759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401751&x=5546',
		'title': '',
		'imageId': '67401751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401757&x=5546',
		'title': '',
		'imageId': '67401757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401753&x=5546',
		'title': '',
		'imageId': '67401753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401749&x=5546',
		'title': '',
		'imageId': '67401749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401754&x=5546',
		'title': '',
		'imageId': '67401754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899884&docid=67401750&x=5546',
		'title': '',
		'imageId': '67401750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899884';

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