var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488914&x=4554',
		'title': '',
		'imageId': '68488914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488915&x=4554',
		'title': '',
		'imageId': '68488915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488916&x=4554',
		'title': '',
		'imageId': '68488916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488917&x=4554',
		'title': '',
		'imageId': '68488917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488918&x=4554',
		'title': '',
		'imageId': '68488918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488919&x=4554',
		'title': '',
		'imageId': '68488919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488920&x=4554',
		'title': '',
		'imageId': '68488920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488921&x=4554',
		'title': '',
		'imageId': '68488921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488922&x=4554',
		'title': '',
		'imageId': '68488922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488923&x=4554',
		'title': '',
		'imageId': '68488923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488924&x=4554',
		'title': '',
		'imageId': '68488924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488925&x=4554',
		'title': '',
		'imageId': '68488925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488926&x=4554',
		'title': '',
		'imageId': '68488926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488927&x=4554',
		'title': '',
		'imageId': '68488927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488928&x=4554',
		'title': '',
		'imageId': '68488928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488929&x=4554',
		'title': '',
		'imageId': '68488929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488930&x=4554',
		'title': '',
		'imageId': '68488930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488931&x=4554',
		'title': '',
		'imageId': '68488931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488932&x=4554',
		'title': '',
		'imageId': '68488932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488933&x=4554',
		'title': '',
		'imageId': '68488933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488934&x=4554',
		'title': '',
		'imageId': '68488934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946262&docid=68488935&x=4554',
		'title': '',
		'imageId': '68488935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946262';

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