var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766774&x=3128',
		'title': '',
		'imageId': '67766774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766769&x=3128',
		'title': '',
		'imageId': '67766769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766767&x=3128',
		'title': '',
		'imageId': '67766767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766768&x=3128',
		'title': '',
		'imageId': '67766768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766770&x=3128',
		'title': '',
		'imageId': '67766770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766771&x=3128',
		'title': '',
		'imageId': '67766771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766773&x=3128',
		'title': '',
		'imageId': '67766773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766776&x=3128',
		'title': '',
		'imageId': '67766776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766778&x=3128',
		'title': '',
		'imageId': '67766778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766777&x=3128',
		'title': '',
		'imageId': '67766777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897268&docid=67766772&x=3128',
		'title': '',
		'imageId': '67766772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3897268';

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