var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708293&x=4323',
		'title': '',
		'imageId': '70708293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708285&x=4323',
		'title': '',
		'imageId': '70708285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708289&x=4323',
		'title': '',
		'imageId': '70708289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708292&x=4323',
		'title': '',
		'imageId': '70708292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708287&x=4323',
		'title': '',
		'imageId': '70708287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708286&x=4323',
		'title': '',
		'imageId': '70708286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708288&x=4323',
		'title': '',
		'imageId': '70708288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708291&x=4323',
		'title': '',
		'imageId': '70708291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708290&x=4323',
		'title': '',
		'imageId': '70708290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70840785&x=4323',
		'title': '',
		'imageId': '70840785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4039286&docid=70708297&x=4323',
		'title': '',
		'imageId': '70708297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4039286';

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