function openSite(site) {
//open('index2.html',"utopia9","status=no,toolbar=no,directories=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width="+(screen.width-10)+",height="+(screen.height-60));
open(site,"utopia9","status=no,toolbar=no,directories=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width="+(screen.width-50)+",height="+(screen.height-100));
}

function ratonin(src,fondoin) {
       src.bgColor = fondoin;
       return true;
}

function slide() {
	//alert(document.body.scrollTop);
	//menutable.style.top=document.body.scrollTop;
	//return true;
}

function mostrar(imagen,w,h) {
  he = (h+50>=500) ? 500 : h+50
  we = (w+50>=750) ? 750 : w+50
  windowNote = open('',"Note","status=no,toolbar=no,directories=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width="+we+",height="+he);
  text = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">';
  text += '<HTML><HEAD><TITLE>Utop&iacute;a - Dibujos</TITLE><META HTTP-EQUIV="imagetoolbar" CONTENT="no"><SCRIPT  LANGUAGE="JavaScript" src="../scripts.js"></script></HEAD>';
  text += '<BODY BGCOLOR="#fff3ce" TEXT="#000000" LINK="#000080" VLINK="#800080" ALINK="#FF0000"  onLoad="derecha();">';
  text += '<!-- aca necesito el codigo que impida hacer click con el boton derecho o usar la barra de herramientas del IE6 para copiar la imagen-->';
  text += '<CENTER><IMG SRC="'+imagen+'" BORDER=0 WIDTH='+w+' HEIGHT='+h+'></CENTER>';
  text += '</BODY></HTML>';
  windowNote.document.write(text);
  windowNote.focus();
  windowNote.document.close();
}

function nostate(){
   window.status = 'ggg';
window.status = '';

}

function derecha() {
    if(document.layers){ 
      window.captureEvents(Event.MOUSEDOWN); 
      window.onMouseDown=ratonAbajo; 
    }
    else  
      document.oncontextmenu=ratonAbajo;  	     
    function ratonAbajo(LePucho){  
      if(document.layers&&LePucho.which!=1) 
        return false; 
      if(document.all||document.getElementById)
       return false;	  
    } 		
}

function estado(obj){
   window.status=obj.title;
}
