var ctryheight='166px' 
var ctrywidth ='140px' 
var ctryleft  ='5px'
var ctryreveal='0px' 
var ctrytop='115px'   
var ctryurl="countriesmenu.html" 

var ns4=document.layers?1:0
var ie4=document.all
var ns6=document.getElementById&&!document.all?1:0

if (ie4||ns6)
document.write('<iframe id="menubar2" frameborder=0 style="position:absolute; border:0; height:'+((parseInt(ctryreveal)))+'px; width:'+ctrywidth+'; top:'+ctrytop+'; left:'+ctryleft+'; " src="'+ctryurl+'"></iframe>')
else if (ns4){
document.write('<style>\n#menubar{\nwidth:'+ctrywidth+';}\n<\/style>\n')
document.write('<layer id="menubar" left=0 top='+ctrytop+' width='+ctrywidth+' height='+ctryheight+' onMouseover="pull()" onMouseout="draw()" src="'+ctryurl+'" visibility=hide></layer>')
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4){
document.menubar.height=(parseInt(ctryreveal))
document.menubar.visibility="show"
setTimeout("window.onresize=regenerate",400)
}
}

window.onload=regenerate2

if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("menubar2").style : document.all.menubar2.style
}
else if (ns4){
document.write('</layer>')
themenu=document.layers.menubar
}

function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",10)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",10)
}
function pullengine(){
if ((ie4||ns6)&&parseInt(themenu.height)<ctryheight)
themenu.height=parseInt(themenu.height)+10+"px"
else if(ns4&&themenu.height<ctryheight)
themenu.height+=10
else if (window.pullit){
themenu.height=ctryheight
clearInterval(pullit)
}
}

function drawengine(){
if ((ie4||ns6)&&parseInt(themenu.height)>ctryreveal)
themenu.height=parseInt(themenu.height)-10+"px"
else if(ns4&&themenu.height>ctryreveal)
themenu.height-=10
else if (window.drawit){
themenu.height=ctryreveal
clearInterval(drawit)
}
}
