var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905613&x=2540',
		'title': '',
		'imageId': '68905613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905617&x=2540',
		'title': '',
		'imageId': '68905617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905610&x=2540',
		'title': '',
		'imageId': '68905610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905621&x=2540',
		'title': '',
		'imageId': '68905621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905609&x=2540',
		'title': '',
		'imageId': '68905609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905614&x=2540',
		'title': '',
		'imageId': '68905614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905615&x=2540',
		'title': '',
		'imageId': '68905615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905611&x=2540',
		'title': '',
		'imageId': '68905611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905618&x=2540',
		'title': '',
		'imageId': '68905618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905616&x=2540',
		'title': '',
		'imageId': '68905616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971845&docid=68905620&x=2540',
		'title': '',
		'imageId': '68905620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971845';

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