var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065037&x=426',
		'title': '',
		'imageId': '68065037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065038&x=426',
		'title': '',
		'imageId': '68065038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065039&x=426',
		'title': '',
		'imageId': '68065039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065040&x=426',
		'title': '',
		'imageId': '68065040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065041&x=426',
		'title': '',
		'imageId': '68065041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065042&x=426',
		'title': '',
		'imageId': '68065042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065043&x=426',
		'title': '',
		'imageId': '68065043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065036&x=426',
		'title': '',
		'imageId': '68065036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927001&docid=68065033&x=426',
		'title': '',
		'imageId': '68065033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927001';

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