var closedunderaddition=function(){
	var div,iframe,body;
	function load(){
		body=document.body;
		var div=document.getElementById('google_translate_element');
		div.style.display="none";
		var select=div.getElementsByTagName('SELECT')[0];//google appends a select tag and other garbage to this div
		if(!select)//If it doesn't exist yet 
			return setTimeout(load,0);//loop until it does
		while(div.firstChild)div.removeChild(div.firstChild);//this removes all of the 'powered by google' stuff
		div.appendChild(select);//...but puts the select back
		div.style.display="";
		addEvent(select,'change',getIframe);
	}
	function getIframe(e){
		body.style.position="static";
		div=body.firstChild; 
		if(div.className!="skiptranslate")//wait for the iframe to be appended
			return setTimeout(getIframe,0);
		if(window.attachEvent)//In IE, just remove it.
			body.removeChild(div);
		else{//other browsers, hide it
			iframe=div.firstChild;
			removeIframe();			
		}
	}
	function removeIframe(){
		if(iframe.offsetHeight==0)
			return setTimeout(removeIframe,0);
		div.style.display="none";
	}
	var addEvent;
	if(window.attachEvent)
		addEvent=function(obj,type,func){obj.attachEvent("on"+type,func);}
	else
		addEvent=function(obj,type,func){obj.addEventListener(type,func,false);}
	addEvent(window,'load',load);
}();