function fullWindow() { 		//for full-screen flash movies
   var str = "left=0,screenX=0,top=0,screenY=0,resizable=0";
    
   if (window.screen) {
      var ah    = screen.availHeight - 60;
      var aw    = screen.availWidth - 10;
      
      /*this next bit checks for the monitor's ratio 
      and changes window width for widescreen monitors
      
      the height will always be 100% but the width will 
      change to maintain proper ratio of elements in the 
      flash movie*/
      var ratio = (Math.floor(10 * (aw/ah)) / 10) ;
      var goal  = 1 + (1/3) ;
      fw = (ratio == 1.3)?aw:Math.round(ah*goal) ;
            
      str += ",height=" + ah;
      str += ",innerHeight=" + ah;
      str += ",width=" + aw;
      str += ",innerWidth=" + aw;
	}
	
	theURL = "popUp_fs-flash.php?file=home_v2.2&theWidth=" + fw + "&theHeight=" + ah ;
	
  win=window.open(theURL, "w", str);

	if (win) {
		win.focus();
		//window.opener = null;
	 	//self.close();
	}
}

function fullWindowTEMP() { 		//for full-screen flash movies
    var str = "left=0,screenX=0,top=0,screenY=0,resizable=0";
    
   if (window.screen) {
      var ah = screen.availHeight - 30;
      var aw = screen.availWidth - 10;
      
      str += ",height=700";
      str += ",innerHeight=700";
      str += ",width=1000";
      str += ",innerWidth=1000";
	}
	
	theURL = "intro_v1.0.html" ;

   win=window.open(theURL, "w", str);

	if (win) {
		win.focus();
		//window.opener = null;
	 	//self.close();
	}
}

function confirmWindow(theURL) { 		//for full-screen flash movies
    var str = "left=200,screenX=200,top=200,screenY=200,resizable=0";
 
   str += ",height=300" ;
   str += ",innerHeight=300" ;
   str += ",width=250" ;
   str += ",innerWidth=250" ;

   win=window.open(theURL, "w", str);

	if (win) {
		win.focus();
		//window.opener = null;
	 	//self.close();
	}
}





















































/*preload images
var path="img/";
	  
var bg0=new Image();
bg0.src=path+"bg0.jpg";

var bg1=new Image();
bg1.src=path+"bg1.jpg";

var bg2=new Image();
bg2.src=path+"bg2.jpg";

var bg3=new Image();
bg3.src=path+"bg3.jpg";

var bg4=new Image();
bg4.src=path+"bg4.jpg";

var bg5=new Image();
bg5.src=path+"bg5.jpg";

var bg6=new Image();
bg6.src=path+"bg6.jpg";

var bg7=new Image();
bg7.src=path+"bg7.jpg";

var bg8=new Image();
bg8.src=path+"bg8.jpg";

var bg9=new Image();
bg9.src=path+"bg9.jpg";

var bg10=new Image();
bg10.src=path+"bg10.jpg";

var bg11=new Image();
bg11.src=path+"bg11.jpg";

var bg12=new Image();
bg12.src=path+"bg12.jpg";

var bg13=new Image();
bg13.src=path+"bg13.jpg";

var bg14=new Image();
bg14.src=path+"bg14.jpg";

var bg15=new Image();
bg15.src=path+"bg15.jpg";

var bg16=new Image();
bg16.src=path+"bg16.jpg";

var bg17=new Image();
bg17.src=path+"bg17.jpg";
*/
