// Katkotaan karttapaikka-linkeistä liian pitkät otsikot lyhyemmiksi
window.onload = function() {
    return 
/*
	var links = document.links;
	for(var i = 0; i < links.length; i++) {
		var href=links.href;
		if (href.search("karttapaikka")!=-1)
		{
			var match = /&title=(.*?)(&|$)/g;
			var m = match.exec(href);
			if (m!==null) {
				var title=decodeURIComponent(m);
				title=title.replace(/ä/g,"a");
				title=title.replace(/Ä/g,"A");
				title=title.replace(/ö/g,"o");
				title=title.replace(/Ö/g,"O");
				title=title.replace(/å/g,"a");
				title=title.replace(/Å/g,"a");
				title=title.replace(/–/g,"-");
				
				title=encodeURIComponent(escape(title));				
				title=title.replace(/^(.{1,35}{2}).*?$/, "$1");
				href=href.replace(m,title)
				if (links.href!==href)
				{
					links.href=href + "...";
				}
			}
		}
	}*/
};