var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537217&x=041',
		'title': '',
		'imageId': '68537217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537215&x=041',
		'title': '',
		'imageId': '68537215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537214&x=041',
		'title': '',
		'imageId': '68537214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537221&x=041',
		'title': '',
		'imageId': '68537221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537230&x=041',
		'title': '',
		'imageId': '68537230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537219&x=041',
		'title': '',
		'imageId': '68537219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537232&x=041',
		'title': '',
		'imageId': '68537232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537223&x=041',
		'title': '',
		'imageId': '68537223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537227&x=041',
		'title': '',
		'imageId': '68537227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537406&x=041',
		'title': '',
		'imageId': '68537406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68537405&x=041',
		'title': '',
		'imageId': '68537405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947984&docid=68622175&x=041',
		'title': '',
		'imageId': '68622175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947984';

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