var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727867&x=324',
		'title': '',
		'imageId': '68727867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727869&x=324',
		'title': '',
		'imageId': '68727869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727871&x=324',
		'title': '',
		'imageId': '68727871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727872&x=324',
		'title': '',
		'imageId': '68727872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727868&x=324',
		'title': '',
		'imageId': '68727868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727875&x=324',
		'title': '',
		'imageId': '68727875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727876&x=324',
		'title': '',
		'imageId': '68727876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727873&x=324',
		'title': '',
		'imageId': '68727873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727874&x=324',
		'title': '',
		'imageId': '68727874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956095&docid=68727870&x=324',
		'title': '',
		'imageId': '68727870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956095';

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