var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816432&x=54',
		'title': '',
		'imageId': '68816432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816435&x=54',
		'title': '',
		'imageId': '68816435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816439&x=54',
		'title': '',
		'imageId': '68816439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816441&x=54',
		'title': '',
		'imageId': '68816441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816436&x=54',
		'title': '',
		'imageId': '68816436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816433&x=54',
		'title': '',
		'imageId': '68816433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816443&x=54',
		'title': '',
		'imageId': '68816443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816434&x=54',
		'title': '',
		'imageId': '68816434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816440&x=54',
		'title': '',
		'imageId': '68816440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816442&x=54',
		'title': '',
		'imageId': '68816442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816437&x=54',
		'title': '',
		'imageId': '68816437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959756&docid=68816438&x=54',
		'title': '',
		'imageId': '68816438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959756';

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