function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function addbookmark()
{
bookmarkurl="http://www.angimobiliario.com/"
bookmarktitle="AN-GI mobiliario · Dormitorios · Ambiente ONIX, CUBIC y 12mas12 · Calidad y Vanguardia"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
  else
   alert("Usuarios de NETSCAPE apretar las teclas (CTRL+Mayúsculas+D) para añadir esta página web a Favoritos en su navegador");
}


function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, ',type=fullWindow,fullscreen,scrollbars=no');
return false;
}


var msg = "© Copyright 2003-2009 angimobiliario.com - AN-GI";
if(document.layers) window.captureEvents(Event.MOUSEDOWN);
function no_click(e){
if (navigator.appName == 'Netscape' && ( e.which == 2 || e.which == 3))
 {
  alert(msg);return false;
 }
 if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
 {
   alert(msg);return false;
 }
}
window.onmousedown=no_click;
document.onmousedown=no_click;


function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}


function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function NewWindow(mypage, myname, w, h, scroll, locat, tool) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',location='+locat+',toolbar='+tool+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

