var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514314&x=148',
		'title': '',
		'imageId': '68514314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514318&x=148',
		'title': '',
		'imageId': '68514318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514317&x=148',
		'title': '',
		'imageId': '68514317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514313&x=148',
		'title': '',
		'imageId': '68514313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514321&x=148',
		'title': '',
		'imageId': '68514321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514322&x=148',
		'title': '',
		'imageId': '68514322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514325&x=148',
		'title': '',
		'imageId': '68514325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514320&x=148',
		'title': '',
		'imageId': '68514320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514326&x=148',
		'title': '',
		'imageId': '68514326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514319&x=148',
		'title': '',
		'imageId': '68514319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947168&docid=68514327&x=148',
		'title': '',
		'imageId': '68514327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947168';

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