var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535486&x=5645',
		'title': '',
		'imageId': '67535486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535481&x=5645',
		'title': '',
		'imageId': '67535481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535482&x=5645',
		'title': '',
		'imageId': '67535482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535484&x=5645',
		'title': '',
		'imageId': '67535484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535489&x=5645',
		'title': '',
		'imageId': '67535489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535480&x=5645',
		'title': '',
		'imageId': '67535480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535488&x=5645',
		'title': '',
		'imageId': '67535488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535485&x=5645',
		'title': '',
		'imageId': '67535485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535483&x=5645',
		'title': '',
		'imageId': '67535483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939403&docid=67535487&x=5645',
		'title': '',
		'imageId': '67535487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939403';

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