// Modifcacion Grafica  Guia Web
// Funcion de desabilitacion del boton derecho del raton.
//TEXTO PARA INFORMAR
var message="DERECHOS RESERVADOS\nPARA MAS INFORMACION\n   wwww.garritex.com";

// A PARTIR DE AQUÍ NO EDITAR
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;








///Funcion de fade de imagen en pagina.
/*
imagen fade
*/

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=20
}



function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=15
else if (window.highlighting)
clearInterval(highlighting)
}



// Funcion apertura de apertura de fichas sin barra de herramientas.
function NewWin(url,w,h)
{newWin=window.open(url, 'picture', 'location=0,resizable=1,status=0,titlebar=0,directories=0,toolbar=0,menubar=0,scrollbars=0,status=0,screenX=550,screenY=550,width='+w+',height='+h);
onscreen=true;}




///Funcion de hora y fecha.

<!--
function fecha()
{
<!-- Hiding
 h=new Date()

ano = h.getYear()

 today = new Date()
 day = today.getDay()
  if ( day == 0 ) { document.write("Sunday "); }
 if ( day == 1 ) { document.write("Monday "); }
 if ( day == 2 ) { document.write("Tuesday "); }
 if ( day == 3 ) { document.write("Wednesday "); }
 if ( day == 4 ) { document.write("Thursday "); }
 if ( day == 5 ) { document.write("Friday "); }
 if ( day == 6 ) { document.write("Saturday "); }

 today = new Date()
  hours = today.getHours()
        minutes = today.getMinutes()
        zerom = ''
        zeroh = ''

        if ( minutes < 10 ) { zerom = 0 }
        if ( hours < 10 ) { zeroh = 0 }
       if ( today.getMonth() == 0 ) { month = "January" }
  if ( today.getMonth() == 1 ) { month = "February" }
 if ( today.getMonth() == 2 ) { month = "March" }
 if ( today.getMonth() == 3 ) { month = "April" }
 if ( today.getMonth() == 4 ) { month = "May" }
        if ( today.getMonth() == 5 ) { month = "June" }
        if ( today.getMonth() == 6 ) { month = "July" }
  if ( today.getMonth() == 7 ) { month = "August" }
 if ( today.getMonth() == 8 ) { month = "September" }
 if ( today.getMonth() == 9 ) { month = "October" }
 if ( today.getMonth() == 10 ) { month = "November" }
 if ( today.getMonth() == 11 ) { month = "December" }

 document.write( today.getDate(),"   ",month,"  ",ano), "</b></font>.";
// end hiding contents -->
}
