function translate(){ transurl = "http://translate.google.com/translate?u="; urlparams = "&langpair=en%7Ces"; //sets the languages to tranlate url = escape(document.URL); translate = transurl+url+urlparams; document.location = translate; } function doLoginLink(return_to) { document.getElementById('userlink').innerHTML = "Welcome! Login or Create Account"; document.getElementById('userlink').style.visibilty = 'visible'; }