function translate(to){
	// var to can be: fr, es, ph, de, en, etc..
	
	from = "en"; // always from english
	u = document.location.href; // current page
	
	url = "http://translate.google.com/translate?client=tmpg&hl="+from+"&u="+u+"&langpair="+from+"|"+to;
	
	document.location.href = url;
}