// JavaScript Document
	function popup(url,name,features) {
		window.open(url, name, features);
	}
	// Pone el color a la tabla.
	function setback(elem,bc) {
		document.getElementById(elem).bgColor = bc;
		window.status=bc;
	} 
	// Quita el color a la tabla.
	function offback(elem,bc) {
		document.getElementById(elem).bgColor = "";
	} 
	function bookmarkme() {
		if (document.all) {
			window.external.AddFavorite(location.href, document.title);
		}else if (window.sidebar){
			window.sidebar.addPanel(document.title, location.href, "");
		}
	}
	function externalLinks() {
		if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
		for (var i=0; i<anchors.length; i++) {
			var anchor = anchors[i];
			if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
				anchors[i].target = "_blank";
		}
	} 

	function toggledic ( elem, imag, forced ) {
		var s = eval("document.getElementById('"+elem+"').style");
		var ima = eval("document.getElementById('"+imag+"')");

		if (forced=='true') {
		  ima.src='http:\/\/img.tfd.com\/toggle\/b-down.gif';
		  s.display='none';
		} else {
		//var s = elem.style;
		// var s=document.getElementById('dictionarybox_ol').style;
		ima.src='http:\/\/img.tfd.com\/toggle\/b-'+(s.display?'up.gif':'down.gif');
		s.display=(s.display?'':'none');
		}
	}
	
	function presentatrdiv(url, id_contenedor) {
		var s = eval("document.getElementById('"+id_contenedor+"')");
		s.style.visibility='visible';
		//llamarasincrono(url,id_contenedor);
		s.innerHTML="http://translator.imtranslator.net?loc=es&dir=en/es";
	}
	

