var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986057&docid=68952528&x=340',
		'title': '',
		'imageId': '68952528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986057&docid=68952543&x=340',
		'title': '',
		'imageId': '68952543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986057&docid=68952544&x=340',
		'title': '',
		'imageId': '68952544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986057&docid=68952545&x=340',
		'title': '',
		'imageId': '68952545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986057';

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