// costaricacenter.js 2009.02.07 - Buscador de Personas, Propiedades autos y telefonos - Web 2.0 Ajax
var costaricacenter_url ='http://CostaRicaCenter.Com';
var costaricacenter_name='.: CostaRicaCenter.com - Costa Rica - Complete Information Center';
function costaricacenter_favorite() { window.external.AddFavorite(costaricacenter_url, costaricacenter_name); }
function costaricacenter_home(Browser) { Browser.style.behavior='url(#default#homepage)'; Browser.setHomePage(costaricacenter_url); }
function costaricacenter_show(id) { var count=0; var obj; while (obj = document.getElementById(id+"_"+count)) { if (obj.className == 'show') { 	obj.className = 'hide'; 		} else if (obj.className == 'hide') { obj.className = 'show'; } count++; } }
function costaricacenter_go(targ,selObj,restore){ eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; }
function costaricacenter_rclick(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { costaricacenter_favorite(); } return true; }
function costaricacenter_info() { document.onmousedown=costaricacenter_rclick; document.onmouseup=costaricacenter_rclick; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=costaricacenter_rclick; window.onmouseup=costaricacenter_rclick; }
costaricacenter_info();

function tecnimenu_click(table_id, name) { 
 var option=0; var table;
 while (table = document.getElementById(table_id+"_"+option)) {
  if (name) { table.className = name; }
   else if (table.className == 'tecnimenu_show') { table.className = 'tecnimenu_hide'; }
   else if (table.className == 'tecnimenu_hide') { table.className = 'tecnimenu_show'; }
   option++;
 }
}


