// JavaScript Document
<!--
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);


var current = "";

function show(name)
{
current = name;
var tip = document.getElementById(name);

if (tip)
{
//var flyimg = eval('document.all.img' + name);
tip.style.visibility = "visible";
}
}


function print_page()
{
	content_frame.focus()
	content_frame.print()
}


function hide(name)
{
var tip = document.getElementById(name);
if (tip)
{
tip.style.visibility = "hidden";
current="";
}
}




/* Function highlights left nav section when subnavs are chosen */
function selectedcolor(id){

var x = document.getElementById(id);

if (x)
{
x.style.color = "#FA9A00";
x.onmouseout = "";
x.onmouseover = "";

}
}


/* Highlight function invoked and defined on a per-page basis */
/*highlight('nav1')*/

function showLeftNav(num)
{
//alert("num="+num)
	for(i=1;i<7;i++)
	{
		a = document.getElementById(id);
		//alert("i="+i)
		
		if(i==num)
		{
			a.style.display='block';
		}else{
			a.style.display='none';
		}
	}
	
	
}
 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function display1_onclick() {
countries.style.visibility = "visible"; 
contact.style.visibility = "hidden";  
}

function display2_onclick() {
countries.style.visibility = "hidden"; 
contact.style.visibility = "visible";  
}

function span_onover(id) {
	var a = document.getElementById(id)
	if(a)	
	{
		a.style.color = "#FA9A00";
	}	
}

function span_onout(id) {
	var a = document.getElementById(id)
	if(a)
	{
		a.style.color = "";		
	}	
}


//document.all.top1.style.color="#FA9A00";

function MM_findObj(n, d) { //v4.0
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

/-->

