
function translate(lan){
	switch (lan) {
			case "en":
			window.location="http://translate.google.com/translate?sl=pt&hl=en&u=" + document.URL;break;
			case "de":
			window.location="http://translate.google.com/translate?sl=pt&hl=de&u=" + document.URL;break;
			case "jp":
			window.location="http://translate.google.com/translate?sl=pt&hl=ja&u="+document.URL;break;
			case "it":
			window.location="http://translate.google.com/translate?sl=pt&hl=it&u="+document.URL;break;
			case "es":
			window.location="http://translate.google.com/translate?sl=pt&hl=es&u="+document.URL;break;
			case "fa":
			window.location="http://translate.google.com/translate?sl=pt&hl=fr&u="+document.URL;break;
			case "poc":
			window.location="http://translate.google.com/translate?sl=pt&hl=ru&u="+document.URL;break;
			case "zh-CN":
			window.location="http://translate.google.com/translate?sl=pt&hl=zh-CN&u="+document.URL;break;
			case "zh-TW":
			window.location="http://translate.google.com/translate?sl=pt&hl=zh-TW&u="+document.URL;break;
			case "ru":
			window.location="http://translate.google.com/translate?sl=pt&hl=ru&u=" + document.URL;break;
			case "sv":
			window.location="http://translate.google.com/translate?sl=pt&hl=sv&u=" + document.URL;break;
			case "cs":
			window.location="http://translate.google.com/translate?sl=pt&hl=cs&u=" + document.URL;break;
			case "el":
			window.location="http://translate.google.com/translate?sl=pt&hl=el&u=" + document.URL;break;
			case "ar":
			window.location="http://translate.google.com/translate?sl=pt&hl=ar&u=" + document.URL;break;
			case "bg":
			window.location="http://translate.google.com/translate?sl=pt&hl=bg&u=" + document.URL;break;
			case "ko":
			window.location="http://translate.google.com/translate?sl=pt&hl=ko&u=" + document.URL;break;
			case "hr":
			window.location="http://translate.google.com/translate?sl=pt&hl=hr&u=" + document.URL;break;
			case "da":
			window.location="http://translate.google.com/translate?sl=pt&hl=da&u=" + document.URL;break;
			default:
			window.location="http://translate.google.com/translate?sl=pt&hl=pt&u="+document.URL;
	};
};


