var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=67975145&x=2614',
		'title': '',
		'imageId': '67975145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=67992693&x=2614',
		'title': '',
		'imageId': '67992693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68043839&x=2614',
		'title': '',
		'imageId': '68043839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68043842&x=2614',
		'title': '',
		'imageId': '68043842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68043845&x=2614',
		'title': '',
		'imageId': '68043845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68043849&x=2614',
		'title': '',
		'imageId': '68043849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68043852&x=2614',
		'title': '',
		'imageId': '68043852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68059301&x=2614',
		'title': '',
		'imageId': '68059301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68059304&x=2614',
		'title': '',
		'imageId': '68059304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68059309&x=2614',
		'title': '',
		'imageId': '68059309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925614&docid=68059316&x=2614',
		'title': '',
		'imageId': '68059316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925614';

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