function addFramesetTranslate(){ var pageURL = window.location.href.replace(/&/g, "%26"); pageURL = encodeURIComponent(pageURL); var translateDropdown = '
' + '
Translate this page...
' + '' + '
' + '
'; var pageHost = window.location.host; if(pageHost != "translate.googleusercontent.com") { $("#sw-mystart-left").append(translateDropdown); $(".sw-mystart-dropdown.translate").click(function() { $(".sw-dropdown",this).show(); }); $(".sw-mystart-dropdown.translate").hover(function() { }, function() { $(".sw-dropdown",this).hide(); }); } }*/