var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948039&x=5236',
		'title': '',
		'imageId': '69948039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948042&x=5236',
		'title': '',
		'imageId': '69948042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948044&x=5236',
		'title': '',
		'imageId': '69948044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948056&x=5236',
		'title': '',
		'imageId': '69948056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948059&x=5236',
		'title': '',
		'imageId': '69948059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948060&x=5236',
		'title': '',
		'imageId': '69948060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948064&x=5236',
		'title': '',
		'imageId': '69948064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948067&x=5236',
		'title': '',
		'imageId': '69948067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948070&x=5236',
		'title': '',
		'imageId': '69948070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948073&x=5236',
		'title': '',
		'imageId': '69948073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009510&docid=69948078&x=5236',
		'title': '',
		'imageId': '69948078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009510';

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