// JavaScript Document

function goLang(lang) {
	
	var expires = new Date();
	expires.setTime(expires.getTime() + 1000 * 60 * 60 * 24 * 356); //1 year
	document.cookie = "lang="+lang+";path=/;expires=" + expires.toGMTString() + ";";
	window.location.href = "/"+lang+"/";
}
