var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=69261202&x=3627',
		'title': '',
		'imageId': '69261202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443825&x=3627',
		'title': '',
		'imageId': '68443825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443824&x=3627',
		'title': '',
		'imageId': '68443824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443826&x=3627',
		'title': '',
		'imageId': '68443826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443827&x=3627',
		'title': '',
		'imageId': '68443827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443830&x=3627',
		'title': '',
		'imageId': '68443830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443829&x=3627',
		'title': '',
		'imageId': '68443829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443823&x=3627',
		'title': '',
		'imageId': '68443823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443828&x=3627',
		'title': '',
		'imageId': '68443828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944207&docid=68443831&x=3627',
		'title': '',
		'imageId': '68443831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944207';

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