
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="Procomer-01/procomer_historia-01-01.html" class="menu" target="_parent">History</a>'
menu1[1]='<a href="Procomer-01/procomer_vision-01-03.html" class="menu" target="_parent">Vision</a>'
menu1[2]='<a href="Procomer-01/procomer_mision-01-02.html" class="menu" target="_parent">Mission</a>'
menu1[3]='<a href="Procomer-01/procomer_valores-01-04.html" class="menu" target="_parent">Values</a>'
menu1[4]='<a href="Procomer-01/procomer_politica-01-06.html" class="menu" target="_parent">Quality Policy</a>'
menu1[5]='<a href="Procomer-01/procomer_areas-01-07.html" class="menu" target="_parent">Service Areas</a>'
menu1[6]='<a href="Procomer-01/procomer_organigrama-01-05.html" class="menu" target="_parent">Organizational Arrangement </a>'
	
var menu2=new Array()
menu2[0]='<a href="PC-02/pc_eventos-02-02.html" class="menu" target="_parent">Promotion Events</a>'
menu2[1]='<a href="PC-02/pc_oficinas-02-03.html" class="menu" target="_parent">Trade Promotion Offices </a>'
menu2[2]='<a href="PC-02/pc_inteligencia-02-01.html" class="menu" target="_parent">Country Profiles</a>'

var menu3=new Array()
menu3[0]='<a href="Estadisticas-04/anuario-04-01/est_anuario-04-01-01.html" class="menu" target="_parent">Statistical Yearbook</a>'
menu3[1]='<a href="Estadisticas-04/mensual-04-02/est_mensual-04-02-01.html" class="menu" target="_parent">Monthly Statistical Report </a>'
<!--menu3[2]='<a href="Estadisticas-04/online-04-03/est_online-04-03-01.html" class="menu" target="_parent">Online Foreign Trade Data</a>'-->

var menu4=new Array()
menu4[0]='<a href="Regimen-05/regimen_zf-05-01.html" class="menu" target="_parent">Free Zones</a>'
menu4[1]='<a href="Regimen-05/regimen_pa-05-02/pa_quees.html" class="menu" target="_parent">In bond System </a>'
<!--menu4[2]='<a href="Tramites-12/tramites_linea.html" class="menu" target="_parent">Online business procedures </a>'-->
	
var menu5=new Array()
menu5[0]='<a href="Fomentar-07/fomentar_encadenamiento-07-01.html" class="menu" target="_parent"> Costa Rica Provee</a>'
<!--menu5[1]='<a href="Fomentar-07/fomentar_oficinas-07-02.html" class="menu" target="_parent">Regional Offices </a>'-->


var menu6=new Array()
menu6[0]='<a href="Procomer_digital-09/comunicados-09-01/comunicados_prensa-09-01-01.html" class="menu" target="_parent">Press Release</a>'
<!--menu6[1]='<a href="Procomer_digital-09/boletin_digital-09-02/procomer_digital-09-02-01.html" class="menu" target="_parent">Electronic Newsletter </a>'-->

var menu7=new Array()
menu7[0]='<a href="Publicaciones-11/revista_enlace_mundial-11-01.html" class="menu" target="_parent">Enlace Mundial Magazine</a>'
<!--menu7[1]='<a href="Publicaciones-11/clave_del_comercio-11-02.html" class="menu" target="_parent">The Key to Trade</a>'-->
menu7[1]='<a href="http://www.tramites.go.cr/manual/default.htm" target="_blank" class="menu">Investors Manual</a>'
<!--menu7[2]='<a href="Publicaciones-11/investigaciones-11-03.html" class="menu" target="_parent">Economic Research</a>'-->

var menu8=new Array()
menu8[0]='<a href="Ventanilla-06/ventanilla_quees.html" class="menu" target="_parent">We Engage in</a>'
<!--menu8[1]='<a href="Ventanilla-06/ventanilla_tramites.html" class="menu" target="_parent">Electronic Procedures</a>'-->
menu8[1]='<a href="Ventanilla-06/ventanilla_docs.html" target="_parent" class="menu">Documents of Interest</a>'
<!--menu8[3]='<a href="Ventanilla-06/ventanilla_soporte.html" target="_parent" class="menu">Support</a>'-->

var menu9=new Array()
menu9[0]='<a href="Inversion-15/inversion-15-01.html" class="menu" target="_parent">Investment</a>'
menu9[1]='<a href="Inversion-15/inversion-15-02.html" class="menu" target="_parent">Investment Opportunities Portfolio</a>'

var menu10=new Array()
menu10[0]='<a href="investigacion-16/investigaciones-Economicas.html" class="menu" target="_parent">Economic Research</a>'
menu10[1]='<a href="investigacion-16/investigaciones-Mercados.html" class="menu" target="_parent">Market Research</a>'

var menu11=new Array()
menu11[0]='<a href="http://www.procomer.directorioscostarica.com/seccionIngles.aspx?S=65C21168-BE5B-45A0-A523-DEE1B018115B&D=Export%20Products" class="menu" target="_parent">Export Products</a>'
menu11[1]='<a href="http://www.procomer.directorioscostarica.com/seccionIngles.aspx?S=4A1D31E3-011C-4846-B922-F2A6FAF9BAD1&D=Import%20Products" class="menu" target="_parent">Import Products</a>'
menu11[2]='<a href="http://www.procomer.directorioscostarica.com/seccionIngles.aspx?S=55332322-3603-4E31-97F6-4FDF25B545C3&D=Services" class="menu" target="_parent">Services</a>'

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

// JavaScript Document