var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888628&x=5611',
		'title': '',
		'imageId': '70888628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888629&x=5611',
		'title': '',
		'imageId': '70888629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888630&x=5611',
		'title': '',
		'imageId': '70888630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888631&x=5611',
		'title': '',
		'imageId': '70888631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888632&x=5611',
		'title': '',
		'imageId': '70888632',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888633&x=5611',
		'title': '',
		'imageId': '70888633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888634&x=5611',
		'title': '',
		'imageId': '70888634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888635&x=5611',
		'title': '',
		'imageId': '70888635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888636&x=5611',
		'title': '',
		'imageId': '70888636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888637&x=5611',
		'title': '',
		'imageId': '70888637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045686&docid=70888638&x=5611',
		'title': '',
		'imageId': '70888638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045686';

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