// JavaScript Document
function setEN() {
	var expiredays = 365;
	var c_name= "localelanguage";
	var value = "en-gb";

	var href    = document.location.href; 
	var string  = href.split( "/" ); 	

	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ "; expires="+exdate.toGMTString() + "; path=/" + string[3] + "/";
	window.location.reload(); 
}
function setFI() {
	var expiredays = 365;
	var c_name= "localelanguage";
	var value = "fi-fi";

	var href    = document.location.href; 
	var string  = href.split( "/" ); 	
	
	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ "; expires="+exdate.toGMTString() + "; path=/" + string[3] + "/";
	window.location.reload(); 
}
function setSWE() {
	var expiredays = 365;
	var c_name= "localelanguage";
	var value = "sv-se";

	var href    = document.location.href; 
	var string  = href.split( "/" ); 		
	
	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ "; expires="+exdate.toGMTString() + "; path=/" + string[3] + "/";
	window.location.reload(); 
}
function setNO() {
	var expiredays = 365;
	var c_name= "localelanguage";
	var value = "no-no";

	var href    = document.location.href; 
	var string  = href.split( "/" ); 	
	
	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ "; expires="+exdate.toGMTString() + "; path=/" + string[3] + "/";
	window.location.reload(); 
}
function setDK() {
	var expiredays = 365;
	var c_name= "localelanguage";
	var value = "da-dk";
	
	var href    = document.location.href; 
	var string  = href.split( "/" ); 	
	
	var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ "; expires="+exdate.toGMTString() + "; path=/" + string[3] + "/";
	window.location.reload(); 
}