var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064424&x=3948',
		'title': '',
		'imageId': '68064424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064434&x=3948',
		'title': '',
		'imageId': '68064434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064432&x=3948',
		'title': '',
		'imageId': '68064432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064423&x=3948',
		'title': '',
		'imageId': '68064423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68066316&x=3948',
		'title': '',
		'imageId': '68066316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064422&x=3948',
		'title': '',
		'imageId': '68064422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064430&x=3948',
		'title': '',
		'imageId': '68064430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064425&x=3948',
		'title': '',
		'imageId': '68064425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064431&x=3948',
		'title': '',
		'imageId': '68064431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68064427&x=3948',
		'title': '',
		'imageId': '68064427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926986&docid=68066318&x=3948',
		'title': '',
		'imageId': '68066318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926986';

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