var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641234&x=4022',
		'title': '',
		'imageId': '69641234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641237&x=4022',
		'title': '',
		'imageId': '69641237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641233&x=4022',
		'title': '',
		'imageId': '69641233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641228&x=4022',
		'title': '',
		'imageId': '69641228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641238&x=4022',
		'title': '',
		'imageId': '69641238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641235&x=4022',
		'title': '',
		'imageId': '69641235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641236&x=4022',
		'title': '',
		'imageId': '69641236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641229&x=4022',
		'title': '',
		'imageId': '69641229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641231&x=4022',
		'title': '',
		'imageId': '69641231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641230&x=4022',
		'title': '',
		'imageId': '69641230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997144&docid=69641232&x=4022',
		'title': '',
		'imageId': '69641232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997144';

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