var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200912&x=504',
		'title': '',
		'imageId': '67200912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200913&x=504',
		'title': '',
		'imageId': '67200913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200914&x=504',
		'title': '',
		'imageId': '67200914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200915&x=504',
		'title': '',
		'imageId': '67200915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200916&x=504',
		'title': '',
		'imageId': '67200916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200917&x=504',
		'title': '',
		'imageId': '67200917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200918&x=504',
		'title': '',
		'imageId': '67200918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200919&x=504',
		'title': '',
		'imageId': '67200919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200920&x=504',
		'title': '',
		'imageId': '67200920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892192&docid=67200921&x=504',
		'title': '',
		'imageId': '67200921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3892192';

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