var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753054&x=1852',
		'title': '',
		'imageId': '68753054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753052&x=1852',
		'title': '',
		'imageId': '68753052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753055&x=1852',
		'title': '',
		'imageId': '68753055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753057&x=1852',
		'title': '',
		'imageId': '68753057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753058&x=1852',
		'title': '',
		'imageId': '68753058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753059&x=1852',
		'title': '',
		'imageId': '68753059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753053&x=1852',
		'title': '',
		'imageId': '68753053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753049&x=1852',
		'title': '',
		'imageId': '68753049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753056&x=1852',
		'title': '',
		'imageId': '68753056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753051&x=1852',
		'title': '',
		'imageId': '68753051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957081&docid=68753050&x=1852',
		'title': '',
		'imageId': '68753050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957081';

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