var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327779&x=4846',
		'title': '',
		'imageId': '68327779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327772&x=4846',
		'title': '',
		'imageId': '68327772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327773&x=4846',
		'title': '',
		'imageId': '68327773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327774&x=4846',
		'title': '',
		'imageId': '68327774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327780&x=4846',
		'title': '',
		'imageId': '68327780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327781&x=4846',
		'title': '',
		'imageId': '68327781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327776&x=4846',
		'title': '',
		'imageId': '68327776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327782&x=4846',
		'title': '',
		'imageId': '68327782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327777&x=4846',
		'title': '',
		'imageId': '68327777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327778&x=4846',
		'title': '',
		'imageId': '68327778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938329&docid=68327775&x=4846',
		'title': '',
		'imageId': '68327775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938329';

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