



	/* Modified to support Opera */
	function bookmark(){
		var title = document.title;
		var url = document.URL;
		if (window.sidebar) // firefox
			window.sidebar.addPanel(title, url, "");
		else if(window.opera && window.print){ // opera
			var elem = document.createElement('a');
			elem.setAttribute('href',url);
			elem.setAttribute('title',title);
			elem.setAttribute('rel','sidebar');
			elem.click();
		}
		else if(document.all)// ie
			window.external.AddFavorite(url, title);
	}
	
	function mailpage() {
		var mail_str = "mailto:mail_destinatario@dominio.com?subject=" + document.title;
		mail_str = mail_str + "&body=Le han recomendado la siguiente página: "+document.title+" ("+document.URL+").";
		location.href = mail_str;
	}
	/*
	function mailpage() {
		var subject = document.title;
		var body = escape('Le han recomendado la siguiente web: ')+document.title+' ('+document.URL+').';
		location.href = 'mailto:mail_destinatario@dominio.com?subject='+subject+'&body='+body;
	}*/
	
	
	
	function openWindow(strUrl, strWindowName, strWindowFeatures){
	    windowName = strWindowName;
	    if (windowName == null)
	       windowName = '';
	
	    if (strWindowFeatures != null){
	       window.window.open(strUrl, windowName, strWindowFeatures);
	
	    } else {
	      window.window.open(strUrl, windowName, 'location=0,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1,fullscreen=0,width=600,height=450');
	    }
	}

