var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867213&x=2432',
		'title': '',
		'imageId': '68867213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867215&x=2432',
		'title': '',
		'imageId': '68867215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867216&x=2432',
		'title': '',
		'imageId': '68867216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867226&x=2432',
		'title': '',
		'imageId': '68867226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867217&x=2432',
		'title': '',
		'imageId': '68867217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867227&x=2432',
		'title': '',
		'imageId': '68867227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867214&x=2432',
		'title': '',
		'imageId': '68867214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867230&x=2432',
		'title': '',
		'imageId': '68867230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867218&x=2432',
		'title': '',
		'imageId': '68867218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867222&x=2432',
		'title': '',
		'imageId': '68867222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867233&x=2432',
		'title': '',
		'imageId': '68867233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962558&docid=68867237&x=2432',
		'title': '',
		'imageId': '68867237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962558';

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