var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007988&x=2352',
		'title': '',
		'imageId': '68007988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007984&x=2352',
		'title': '',
		'imageId': '68007984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020556&x=2352',
		'title': '',
		'imageId': '68020556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007991&x=2352',
		'title': '',
		'imageId': '68007991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007993&x=2352',
		'title': '',
		'imageId': '68007993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007990&x=2352',
		'title': '',
		'imageId': '68007990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007983&x=2352',
		'title': '',
		'imageId': '68007983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007985&x=2352',
		'title': '',
		'imageId': '68007985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007992&x=2352',
		'title': '',
		'imageId': '68007992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007989&x=2352',
		'title': '',
		'imageId': '68007989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007986&x=2352',
		'title': '',
		'imageId': '68007986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007995&x=2352',
		'title': '',
		'imageId': '68007995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007994&x=2352',
		'title': '',
		'imageId': '68007994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68007996&x=2352',
		'title': '',
		'imageId': '68007996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020561&x=2352',
		'title': '',
		'imageId': '68020561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020557&x=2352',
		'title': '',
		'imageId': '68020557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020560&x=2352',
		'title': '',
		'imageId': '68020560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020562&x=2352',
		'title': '',
		'imageId': '68020562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020563&x=2352',
		'title': '',
		'imageId': '68020563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020559&x=2352',
		'title': '',
		'imageId': '68020559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020565&x=2352',
		'title': '',
		'imageId': '68020565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020564&x=2352',
		'title': '',
		'imageId': '68020564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020566&x=2352',
		'title': '',
		'imageId': '68020566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924452&docid=68020558&x=2352',
		'title': '',
		'imageId': '68020558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924452';

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