var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012127&x=2955',
		'title': '',
		'imageId': '68012127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012073&x=2955',
		'title': '',
		'imageId': '68012073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012079&x=2955',
		'title': '',
		'imageId': '68012079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012126&x=2955',
		'title': '',
		'imageId': '68012126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012064&x=2955',
		'title': '',
		'imageId': '68012064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012071&x=2955',
		'title': '',
		'imageId': '68012071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012076&x=2955',
		'title': '',
		'imageId': '68012076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012078&x=2955',
		'title': '',
		'imageId': '68012078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012075&x=2955',
		'title': '',
		'imageId': '68012075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012074&x=2955',
		'title': '',
		'imageId': '68012074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936968&docid=68012077&x=2955',
		'title': '',
		'imageId': '68012077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936968';

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