//Writes correct style sheet into page
//NOTE: style_legacy.css is for ie4 and ns4 on a mac....all other browsers use style.css
var stylesheet="style.css";

if (navigator.platform.indexOf("Mac")!=-1)
{
	if (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")
	{
		stylesheet="style_legacy.css";
	}
	else if (navigator.appName=="Microsoft Internet Explorer" && navigator.appVersion.indexOf("MSIE 4")!=-1)
	{
		stylesheet="style_legacy.css";
	}
}

document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"includes/"+stylesheet+"\">");

if (document.images) {         
               i1 = new Image();          
               i1.src = "images/hp_fltour_on.gif";    
               i2 = new Image();          
               i2.src = "images/hp_nav_ag_on.gif";    
               i3 = new Image();          
               i3.src = "images/hp_nav_fl2_on.gif";    
               i4 = new Image();          
               i4.src = "images/hp_nav_fl_on.gif";
               i5 = new Image();          
               i5.src = "images/hp_nav_im_on.gif";
               i6 = new Image();          
               i6.src = "images/hp_nav_moog_on.gif";
               i7 = new Image();          
               i7.src = "images/hp_nav_stf_on.gif";
               i8 = new Image();          
               i8.src = "images/hp_nav_tb_on.gif";

} 
  
function roll(imgOne,rollImg,rollText) {
        if (document.images) {
                document [imgOne].src = rollImg;
        }
}

//popUp Script
//usage: (#, #, 'name', 'url')
function popUpWindow (window_width, window_height, window_name, window_url)
{
	var options="width="+window_width+",height="+window_height+"";
	popupWin=window.open(window_url, window_name, options);
}
