var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392484&x=237',
		'title': '',
		'imageId': '69392484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392479&x=237',
		'title': '',
		'imageId': '69392479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392483&x=237',
		'title': '',
		'imageId': '69392483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392481&x=237',
		'title': '',
		'imageId': '69392481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392480&x=237',
		'title': '',
		'imageId': '69392480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392486&x=237',
		'title': '',
		'imageId': '69392486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392485&x=237',
		'title': '',
		'imageId': '69392485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392478&x=237',
		'title': '',
		'imageId': '69392478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392482&x=237',
		'title': '',
		'imageId': '69392482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912690&docid=69392487&x=237',
		'title': '',
		'imageId': '69392487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912690';

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