// OJO: No quitar porque se usa esta cookie para la validacion de los
// usuarios, colaboradores y administradores de emaresme.com

document.cookie = 'check_cookies=yes';
function derecha(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert('Tots els drets reservats a Chaves Informática Programación S.L.');
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)){
alert('Tots els drets reservats a Chaves Informática Programación S.L.')
}
}
// ANULADO MOMENTANEAMENTE:document.onmousedown=derecha
function noframes() {
    if (top.frames.length!=0)
    top.location=self.document.location;
}
function nWin2(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
function irA(url)
{
  window.open (url);
}

