var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528651&x=3822',
		'title': '',
		'imageId': '68528651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528644&x=3822',
		'title': '',
		'imageId': '68528644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528652&x=3822',
		'title': '',
		'imageId': '68528652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528647&x=3822',
		'title': '',
		'imageId': '68528647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528650&x=3822',
		'title': '',
		'imageId': '68528650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528648&x=3822',
		'title': '',
		'imageId': '68528648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528643&x=3822',
		'title': '',
		'imageId': '68528643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528642&x=3822',
		'title': '',
		'imageId': '68528642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528645&x=3822',
		'title': '',
		'imageId': '68528645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528649&x=3822',
		'title': '',
		'imageId': '68528649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528641&x=3822',
		'title': '',
		'imageId': '68528641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947552&docid=68528646&x=3822',
		'title': '',
		'imageId': '68528646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947552';

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