var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964214&x=5311',
		'title': '',
		'imageId': '66964214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964215&x=5311',
		'title': '',
		'imageId': '66964215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964216&x=5311',
		'title': '',
		'imageId': '66964216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964217&x=5311',
		'title': '',
		'imageId': '66964217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964218&x=5311',
		'title': '',
		'imageId': '66964218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964219&x=5311',
		'title': '',
		'imageId': '66964219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964220&x=5311',
		'title': '',
		'imageId': '66964220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964221&x=5311',
		'title': '',
		'imageId': '66964221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964222&x=5311',
		'title': '',
		'imageId': '66964222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964223&x=5311',
		'title': '',
		'imageId': '66964223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883240&docid=66964224&x=5311',
		'title': '',
		'imageId': '66964224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883240';

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