<!--


var Roll=new Array();


Roll["a"] = new RollOver("images/1_on.gif");
Roll["b"] = new RollOver("images/2_on.gif");
Roll["c"] = new RollOver("images/3_on.gif");
Roll["d"] = new RollOver("images/4_on.gif");
Roll["e"] = new RollOver("images/5_on.gif");
Roll["f"] = new RollOver("images/6_on.gif");
Roll["g"] = new RollOver("images/7_on.gif");
Roll["h"] = new RollOver("images/8_on.gif");
Roll["i"] = new RollOver("images/9_on.gif");


function RollOver(on_url)
{       this.on        = new Image();
        this.on.src    = on_url;
}

function flip ()
{       if(arguments.length==1) arguments[1]=arguments[0];
        for(i=0 ; i<arguments.length ; i+=2){
                temp = document.images[arguments[i]].src;
                document.images[arguments[i]].src  = Roll[arguments[i+1]].on.src;
                Roll[arguments[i+1]].on.src = temp;
        }
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}
	
	
	


//-->

































