


// Detect if browser is Netscape 3 + or IE 4 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 3) || 
        (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; 
    else br = "n2";

// Create image objects, preload all active and inactive images.
    
	
	if (br== "n3") {                             
    img1on = new Image();          	            			
    img1on.src = "images_sub/home_over.gif";  	   
     										 
	img2on = new Image();          			 
    img2on.src = "images_sub/sm_over.gif";        
    
	img3on = new Image();                   
    img3on.src = "images_sub/feed_over.gif";        
    
	img4on = new Image();
    img4on.src = "images_sub/ql_over.gif";        

    
                                                 
    img1off = new Image();                      			
    img1off.src = "images_sub/home_off.gif"; 		                 
    										  
	img2off = new Image();          		
    img2off.src = "images_sub/sm_off.gif";     	   
    
	img3off = new Image();                  
    img3off.src = "images_sub/feed_off.gif";        
    
	img4off = new Image();
    img4off.src = "images_sub/ql_off.gif";        

    }

// Function to "activate" images.
function imgAct(imgName, on) {
    if (br == "n3" && on==1) {
    	document[imgName].src = eval(imgName + "on.src");
    }
	else if (br == "n3" && on==0) {
	    document[imgName].src = eval(imgName + "off.src");
	}
}

function loadA(){
myUrl = "popup.html";

myTarget = "new_window";

myArgs =        "width=700,"

                        +"height=500,"

                        +"location=0,"

                        +"menubar=1,"

                        +"resizable=0,"

                        +"scrollbars=1,"

                        +"status=0,"

                        +"titlebar=1,"

                        +"toolbar=0,"

                        +"hotkeys=0,"

                        +"screenx=30,"

                        +"screeny=30,"

                        +"left=30,"

                        +"right=30";

                        

                        window.open( myUrl, myTarget, myArgs );


                        }						
function leapto(form)
        {
        var myindex=form.dest.selectedIndex
        parent.frames[0].location.href = (form.dest.options[myindex].value);
        }
function loadB(){
myUrl = "events_gallery2.htm";
myTarget = "new_window"; 
myArgs =        "width=430,"
                        +"height=450,"
                        +"location=0,"
                        +"menubar=1,"
                        +"resizable=0,"
                        +"scrollbars=0,"
                        +"status=0,"
                        +"titlebar=1,"
                        +"toolbar=0,"
                        +"hotkeys=0,"
                        +"screenx=30,"
                        +"screeny=30,"
                        +"left=30,"
                        +"right=30";
                        window.open( myUrl, myTarget, myArgs );

                        }						
function leapto(form)
        {
        var myindex=form.dest.selectedIndex
        parent.frames[0].location.href = (form.dest.options[myindex].value);
        }
function loadC(){
myUrl = "events_gallery3.htm";
myTarget = "new_window"; 
myArgs =        "width=430,"
                        +"height=450,"
                        +"location=0,"
                        +"menubar=1,"
                        +"resizable=0,"
                        +"scrollbars=0,"
                        +"status=0,"
                        +"titlebar=1,"
                        +"toolbar=0,"
                        +"hotkeys=0,"
                        +"screenx=30,"
                        +"screeny=30,"
                        +"left=30,"
                        +"right=30";
                        window.open( myUrl, myTarget, myArgs );

                        }						
function leapto(form)
        {
        var myindex=form.dest.selectedIndex
        parent.frames[0].location.href = (form.dest.options[myindex].value);
        }
		




