/*
 * Copyright 2010
 * Asesores Informaticos Svfnet
 * Author: Julio Varela
 * Date: Febrero 02, 2010
 */

<!--

//*******************************************
// script de Inhabilitacion de Textos   
//*******************************************

//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

//*******************************************
// script de fecha   
//*******************************************
  var hoy = new Date();
  var anio = hoy.getYear();
  var mName = hoy.getMonth() + 1;
  var dName = hoy.getDay() + 1;
  var diaNr = ((hoy.getDate()<10) ? "" : "") + hoy.getDate();
  if(dName==1) Dia = "Domingo";
  if(dName==2) Dia = "Lunes" ;
  if(dName==3) Dia = "Martes";
  if(dName==4) Dia = "Mircoles";
  if(dName==5) Dia = "Jueves";
  if(dName==6) Dia = "Viernes";
  if(dName==7) Dia = "Sbado";
  if(mName==1) Mes = "Enero" ;
  if(mName==2) Mes = "Febrero";
  if(mName==3) Mes = "Marzo" ;
  if(mName==4) Mes = "Abril" ;
  if(mName==5) Mes = "Mayo" ;
  if(mName==6) Mes = "Junio" ;
  if(mName==7) Mes = "Julio" ;
  if(mName==8) Mes = "Agosto";
  if(mName==9) Mes = "Septiembre";
  if(mName==10) Mes = "Octubre";
  if(mName==11) Mes = "Noviembre";
  if(mName==12) Mes = "Diciembre";
  window.defaultStatus = "páginas web y posicionamiento en buscadores - " + Dia + " " + diaNr + " de " + Mes + " de " + anio

//*******************************************
// script de boton derecho   
//*******************************************
function derecha(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert('páginas web y\nposicionamiento en buscadores\n\nFunción Desactivada')
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)){
alert('páginas web y\nposicionamiento en buscadores\n\nFunción Desactivada')
}
}
document.onmousedown=derecha

//*******************************************
// script de Maximizar Página   
//*******************************************
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

//-->

