
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
}

