
function Zoom(theImage,theTitle,x,y) 
{     
var x1 = x + 24     
var y1 = y + 80 	
var newWindow = null         
newWindow = window.open("","","width="+x1+",height="+y1+",scrollbars=no,resizable=yes")   	
if (newWindow !=null) 
{ 		
newWindow.focus() 		
var newimage = "<HTML><link rel='stylesheet' type='text/css' HREF='newpage.css'><HEAD><TITLE>" +theTitle+ "</TITLE></HEAD>" 		
newimage += "<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 CLASS='popup'><FORM><DIV align=\"center\"><IMG SRC=" +theImage+ " WIDTH=" +x+ " HEIGHT=" +y+ " BORDER=0 VSPACE=10 CLASS='popup'><BR>" 		
newimage += "<FONT CLASS='popup'><B>" +theTitle+ "</B></FONT><BR>" 		
newimage += "<IMG SRC='space.gif' WIDTH=1 HEIGHT=10><BR>" 		
newimage += "<INPUT TYPE='button' CLASS='popup' VALUE='Close This Window' onClick='javascript:window.close()'></FORM></DIV>" 		
newimage += "</BODY></HTML>" 		
newWindow.document.write(newimage) 		
newWindow.document.close() 	} } 


function CurrencyPopup(QueryString)
{
CurrencyWindow = window.open ('', 'CurrencyWindow', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,height=170,width=600')
CurrencyWindow.focus()
CurrencyWindow.location.href = 'http://www.xe.com/ecc/input.cgi?Template=sw&'+QueryString
}


function o(id) {

}

function BrowserIsIE7() { return (navigator.userAgent.match(/MSIE 7\./)); }
function BrowserIsIE6() { return (navigator.userAgent.match(/MSIE 6\./)); }

function ID(id){
  return document.getElementById(id);
}

var Flies = new Object;
Flies['nav'] = new Object;

function FlyOver(id,type) {

  if(BrowserIsIE7()) document.getElementById('nav-holder').style.paddingTop = '23px';
  if(BrowserIsIE6()) document.getElementById('nav-holder').style.paddingTop = '23px';


  for (var i in Flies[type]) {
    if (typeof Flies[type][i] == 'number') {
      FlyKill(i);
      clearTimeout(Flies[type][i]);
    }
  }
  Flies[type] = new Object;
  var n = ID(id);
  n.style.display = 'block';
  n.style.opacity = 1;
  n.style.filter = "alpha(opacity=100)";
  Flies[type][id] = true;
}

function FlyOut(id,type) {
  var n = ID(id);
  Flies[type][id] = setTimeout("FlyFade('"+id+"','"+type+"')", 10);
}

function FlyKill(id) {
  var n = ID(id);
  n.style.display = 'none';
}

function FlyFade(id,type) {
  var n = ID(id);
  var op = n.style.opacity;
  if (op < 0.1) {
    FlyKill(id);
    return;
  }
  op -= op / 10;
  n.style.filter = "alpha(opacity=" + (op * 100) + ")";
  n.style.opacity = op;
  Flies[type][id] = setTimeout("FlyFade('"+id+"','"+type+"')", 1);
}
