var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880841&x=562',
		'title': '',
		'imageId': '68880841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880842&x=562',
		'title': '',
		'imageId': '68880842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880843&x=562',
		'title': '',
		'imageId': '68880843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880849&x=562',
		'title': '',
		'imageId': '68880849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880846&x=562',
		'title': '',
		'imageId': '68880846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880845&x=562',
		'title': '',
		'imageId': '68880845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880848&x=562',
		'title': '',
		'imageId': '68880848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880844&x=562',
		'title': '',
		'imageId': '68880844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880850&x=562',
		'title': '',
		'imageId': '68880850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880909&x=562',
		'title': '',
		'imageId': '68880909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880908&x=562',
		'title': '',
		'imageId': '68880908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880910&x=562',
		'title': '',
		'imageId': '68880910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880911&x=562',
		'title': '',
		'imageId': '68880911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880912&x=562',
		'title': '',
		'imageId': '68880912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880914&x=562',
		'title': '',
		'imageId': '68880914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880916&x=562',
		'title': '',
		'imageId': '68880916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880918&x=562',
		'title': '',
		'imageId': '68880918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880917&x=562',
		'title': '',
		'imageId': '68880917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880840&x=562',
		'title': '',
		'imageId': '68880840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880838&x=562',
		'title': '',
		'imageId': '68880838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880839&x=562',
		'title': '',
		'imageId': '68880839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880847&x=562',
		'title': '',
		'imageId': '68880847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880915&x=562',
		'title': '',
		'imageId': '68880915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963040&docid=68880913&x=562',
		'title': '',
		'imageId': '68880913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963040';

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