var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005879&x=1531',
		'title': '',
		'imageId': '68005879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005877&x=1531',
		'title': '',
		'imageId': '68005877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005884&x=1531',
		'title': '',
		'imageId': '68005884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005885&x=1531',
		'title': '',
		'imageId': '68005885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005882&x=1531',
		'title': '',
		'imageId': '68005882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005878&x=1531',
		'title': '',
		'imageId': '68005878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005875&x=1531',
		'title': '',
		'imageId': '68005875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005883&x=1531',
		'title': '',
		'imageId': '68005883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005876&x=1531',
		'title': '',
		'imageId': '68005876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005881&x=1531',
		'title': '',
		'imageId': '68005881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923483&docid=68005880&x=1531',
		'title': '',
		'imageId': '68005880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923483';

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