
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - externallink.js - */
// http://www.city.minami-alps.yamanashi.jp/portal_javascripts/externallink.js?original=1
function setExternalLinkClass(){var i,a;for(i=0;(a=document.getElementsByTagName("a")[i]);i++){if(a.getAttribute("href")!=null){href=a.getAttribute("href");if(href.match(/^http.*/)&&!href.match(location.hostname)){if(!a.className.match('link-external')){a.className+=' link-external'}}
if(href.match(/^https.*/)&&!href.match(location.hostname)){if(!a.className.match('link-https')){a.className+=' link-https'}}}}};jq(function(){setExternalLinkClass()});

/* - language.js - */
// http://www.city.minami-alps.yamanashi.jp/portal_javascripts/language.js?original=1
function setLanguage($lang){createCookie("I18N_LANGUAGE",$lang,0);return true};

