var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555576&x=3710',
		'title': '',
		'imageId': '67555576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555568&x=3710',
		'title': '',
		'imageId': '67555568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555575&x=3710',
		'title': '',
		'imageId': '67555575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555570&x=3710',
		'title': '',
		'imageId': '67555570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555574&x=3710',
		'title': '',
		'imageId': '67555574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555569&x=3710',
		'title': '',
		'imageId': '67555569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555571&x=3710',
		'title': '',
		'imageId': '67555571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555578&x=3710',
		'title': '',
		'imageId': '67555578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555577&x=3710',
		'title': '',
		'imageId': '67555577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555572&x=3710',
		'title': '',
		'imageId': '67555572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932126&docid=67555573&x=3710',
		'title': '',
		'imageId': '67555573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932126';

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