<!-- hide JavaScript from non-JavaScript browsers

//
// Browser sniffer code ripped from http://www.webreference.com/tools/browser/javascript.html
// thanks guys! - :b
//
	var appVer = navigator.appVersion;
	var ver    = parseFloat(appVer); // Netscape and others
	var iePos  = appVer.toLowerCase().indexOf('msie');
	if (iePos !=-1) {
	  ver = parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos)))
	}

    // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase();

    // *** BROWSER VERSION ***
    // Note: On IE5, these return 4, so use is.ie5up to detect IE5.
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);
    var is_getElementById   = (document.getElementById) ? "true" : "false"; // 001121-abk
    var is_getElementsByTagName = (document.getElementsByTagName) ? "true" : "false"; // 001127-abk
    var is_documentElement = (document.documentElement) ? "true" : "false"; // 001121-abk

    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1));
    var is_nav2 = (is_nav && (is_major == 2));
    var is_nav3 = (is_nav && (is_major == 3));
    var is_nav4 = (is_nav && (is_major == 4));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
                          (agt.indexOf("; nav") != -1)) );
	var is_nav6 = (is_nav && (agt.indexOf('netscape6') != -1)); // new 001120 - abk
	var is_nav6up = (is_nav && is_getElementById);              // new 001121 - abk
    var is_nav5 = (is_nav && (is_major == 5) && !(is_nav6)); // checked for ns6
    var is_nav5up = (is_nav && (is_major >= 5));
	
	// how to check for ns7+? is_major is still 5 in ns6 - abk
	
    var is_ie   = (agt.indexOf("msie") != -1);
    var is_ie3  = (is_ie && (is_major < 4));

// allow for v6+ ie
 
var msie_vers_start = agt.indexOf("msie")+5;
var msie_real_vers = parseFloat(agt.substring(msie_vers_start, msie_vers_start+3));

//    var is_ie4  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.")==-1));

    var is_ie4  = (is_ie && (is_major == 4) && (msie_real_vers < 5));

    var is_ie4up  = (is_ie  && (is_major >= 4));
//    var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.")!=-1));

    var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.")!=-1));

    var is_ie5up  = (is_ie  && !is_ie3 && !is_ie4 );

    var is_ie6  = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.")!=-1));

    var is_ie6up  = (is_ie  && !is_ie3 && !is_ie4 && !is_ie5);


    // *** PLATFORM ***
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    // NOTE: On Opera 3.0, the userAgent string includes "Windows 95/NT4" on all
    //        Win32, so you can't distinguish between Win95 and WinNT.
    var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));

    // is this a 16 bit compiled version?
    var is_win16 = ((agt.indexOf("win16")!=-1) || 
               (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || 
               (agt.indexOf("windows 16-bit")!=-1) );  

    var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
                    (agt.indexOf("windows 16-bit")!=-1));

    // NOTE: Reliable detection of Win98 may not be possible. It appears that:
    //       - On Nav 4.x and before you'll get plain "Windows" in userAgent.
    //       - On Mercury client, the 32-bit version will return "Win98", but
    //         the 16-bit version running on Win98 will still return "Win95".
    var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
    var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
    var is_win32 = (is_win95 || is_winnt || is_win98 || 
                    ((is_major >= 4) && (navigator.platform == "Win32")) ||
                    (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

    var is_os2   = ((agt.indexOf("os/2")!=-1) || 
                    (navigator.appVersion.indexOf("OS/2")!=-1) ||   
                    (agt.indexOf("ibm-webexplorer")!=-1));

    var is_mac    = (agt.indexOf("mac")!=-1);
    var is_mac68k = (is_mac && ((agt.indexOf("68k")!=-1) || 
                               (agt.indexOf("68000")!=-1)));
    var is_macppc = (is_mac && ((agt.indexOf("ppc")!=-1) || 
                                (agt.indexOf("powerpc")!=-1)));

    var is_irix  = (agt.indexOf("irix") !=-1);    // SGI
    var is_irix5 = (agt.indexOf("irix 5") !=-1);
    var is_irix6 = ((agt.indexOf("irix 6") !=-1) || (agt.indexOf("irix6") !=-1));
// cookies - 990624 - abk
//	document.cookie = "cookies=true";
	var is_cookie = (document.cookie) ? "true" : "false";
	var is_images = (document.images) ? "true":"false";
	var is_layers = (document.layers) ? "true":"false"; // gecko m7 bug?
// new doc obj tests 990624-abk
	var is_forms = (document.forms) ? "true" : "false";
	var is_links = (document.links) ? "true" : "false";
	var is_frames = (window.frames) ? "true" : "false";
	var is_screen = (window.screen) ? "true" : "false";

// java
	var is_java = (navigator.javaEnabled());

// win, mac and sgi window chrome dimensions

var win_startbarheight = 26;
var mac_menubarheight = 18;

var win_ie_dimensions = new Object();
win_ie_dimensions.id = "win_ie_dimensions";
win_ie_dimensions.statusbarheight = 26;
win_ie_dimensions.leftborderwidth = 5;
win_ie_dimensions.rightborderwidth = 5;
win_ie_dimensions.titlebarheight = 24;

var mac_ie_dimensions = new Object();
mac_ie_dimensions.id = "mac_ie_dimensions";
mac_ie_dimensions.statusbarheight = 22;
mac_ie_dimensions.leftborderwidth = 6;
mac_ie_dimensions.rightborderwidth = 7;
mac_ie_dimensions.titlebarheight = 22;

var win_nav_dimensions = new Object();
win_nav_dimensions.id = "win_nav_dimensions";
win_nav_dimensions.statusbarheight = 25;
win_nav_dimensions.leftborderwidth = 6;
win_nav_dimensions.rightborderwidth = 6;
win_nav_dimensions.titlebarheight = 25;

var win_nav6_dimensions = new Object();
win_nav6_dimensions.id = "win_nav6_dimensions";
win_nav6_dimensions.statusbarheight = 35;
win_nav6_dimensions.leftborderwidth = 3;
win_nav6_dimensions.rightborderwidth = 3;
win_nav6_dimensions.titlebarheight = 22;

var mac_nav6_dimensions = new Object();
mac_nav6_dimensions.id = "mac_nav6_dimensions";
mac_nav6_dimensions.statusbarheight = 38;
mac_nav6_dimensions.leftborderwidth = 6;
mac_nav6_dimensions.rightborderwidth = 6;
mac_nav6_dimensions.titlebarheight = 22;

var mac_nav_dimensions = new Object();
mac_nav_dimensions.id = "mac_nav_dimensions";
mac_nav_dimensions.statusbarheight = 32;
mac_nav_dimensions.leftborderwidth = 6;
mac_nav_dimensions.rightborderwidth = 7;
mac_nav_dimensions.titlebarheight = 23;

var sgi_nav_dimensions = new Object();
sgi_nav_dimensions.id = "sgi_nav_dimensions";
sgi_nav_dimensions.statusbarheight = 33;
sgi_nav_dimensions.leftborderwidth = 8;
sgi_nav_dimensions.rightborderwidth = 8;
sgi_nav_dimensions.titlebarheight = 32;

var win_min_availWidth = 800;
var win_min_availHeight = 572;

var mac_min_availWidth = 800;
var mac_min_availHeight = 580;

var browserDimensions;
var popHoriz = 800;
var popVert = 600;

var menuheight;
if (is_mac) {
	menuheight = mac_menubarheight
	if (is_nav4) { 
		browserDimensions=mac_nav_dimensions;
	} else if (is_ie) {
		browserDimensions=mac_ie_dimensions;
	} else if (is_nav6) {
		browserDimensions=mac_nav6_dimensions;
	}
} else {
	menuheight = win_startbarheight
	if (is_nav4) { 
		browserDimensions=win_nav_dimensions;
	} else if (is_ie) {
		browserDimensions=win_ie_dimensions;
	} else if (is_nav6) {
		browserDimensions=win_nav6_dimensions;
	}
}

if (screen.width == 800) {
	popHoriz = 800 - (browserDimensions.leftborderwidth + browserDimensions.rightborderwidth);
}

if (screen.height == 600) {
	popVert = 600 - menuheight - browserDimensions.statusbarheight - browserDimensions.titlebarheight;
}




// Flash Detection / Redirect (non-redirect variant)
// http://www.dithered.com/javascript/flash_detect/index.html
// code by Chris Nott (chris@dithered.com)

var dontKnow = false;
var flashVersion = 0;

var agent = navigator.userAgent.toLowerCase(); 

// IE4+ on Win32:  attempt to create an ActiveX object using VBScript
if (agent.indexOf("msie") != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf("win")!=-1 && agent.indexOf("16bit")==-1) {
	document.write('<scr' + 'ipt language="VBScript"\> \n');
	document.write('on error resume next \n');
	document.write('if IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")) then flashVersion = 6 \n');
	document.write('if flashVersionn > 6 and IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")) then flashVersion = 5 \n');
	document.write('if flashVersion < 5 and IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")) then flashVersion = 4 \n');
	document.write('if flashVersion < 4 and IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")) then flashVersion = 3 \n');	
	document.write('</scr' + 'ipt\> \n'); 
}

// NS3+ and Opera3+ (support plugin array):  check for Flash plugin in plugin array
else if (navigator.plugins != null && navigator.plugins.length > 0) {
	var flashPlugin = navigator.plugins['Shockwave Flash'];
	if (typeof flashPlugin == 'object') { 
		if (flashPlugin.description.indexOf('6.') != -1) flashVersion = 6;
		else if (flashPlugin.description.indexOf('5.') != -1) flashVersion = 5;
		else if (flashPlugin.description.indexOf('4.') != -1) flashVersion = 4;
		else if (flashPlugin.description.indexOf('3.') != -1) flashVersion = 3;
	}
}

// WebTV 2.5 supports flash 3
else if (agent.indexOf("webtv/2.5") != -1) flashVersion = 3;

// Can't detect in all other cases
else dontKnow = true;

var centerX,centerY;
if (screen.width==800) {
	centerX = 0;
	centerY = 0;
} else {
	centerX = (screen.width/2) - popHoriz/2 - menuheight/2;
	centerY = (screen.height/2) - popVert/2  - menuheight/2;
}

function pop800x600(goPage,nom) {
	var w,h;
	if (screen.width==800) {
		w = popHoriz;
		h = popVert;
	} else {
		w=800;
		h=600;
	}
	var popped = window.open(goPage,nom,'width='+w+',height='+h+',status=yes,menubar=no,scrollbars=no,resizable=no,screenX='+centerX+',screenY='+centerY+',left='+centerX+',top='+centerY);
	if (navigator.appName=="Netscape" || document.all) popped.focus();
	if ((screen.width==800) && is_mac && is_ie ) {
		popped.resizeTo(popHoriz,popVert+menuheight);			
	}
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) {
	newWindow=window.open(URLtoOpen, windowName, windowFeatures); 
	return newWindow;
}

function popBlankWindow(goPage, nom, windowWidth, windowHeight) {
	var w,h;
	var popped;
	w = windowWidth;
	h = windowHeight;	

	centerX = (screen.width/2) - windowWidth/2 - menuheight/2;
	centerY = (screen.height/2) - windowHeight/2  - menuheight/2;
	windowFeatures = "width="+w+",height="+h+",status=yes,menubar=no,scrollbars=no,resizable=no,screenX="+centerX+",screenY="+centerY+",left="+centerX+",top="+centerY;
	popped = openNewWindow('','',windowFeatures);
	if (navigator.appName=="Netscape" || document.all) popped.focus();
	return popped;
}

function showImageAttachment(goPage, nom, title, width, height) {
	var attachment;
	attachment = popBlankWindow(goPage, nom, width, height);
	attachment.document.open();
	attachment.document.write('<html><head><title>'+title+'</title></head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
	attachment.document.write('<img src="'+goPage+'" width="'+width+'" height="'+height+'">');
	attachment.document.write('</body></html>');
	attachment.document.close();
}

function showQTAttachment(goPage, nom, title, width, height) {
	var attachment;
	var w = width;
	var h = height+16;
	attachment = popBlankWindow(goPage, nom, w, h);
	attachment.document.open();
	attachment.document.write('<html><head><title>'+title+'</title></head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">\n');
	attachment.document.write('<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"\n');
	attachment.document.write('width="'+w+'" height="'+h+'"\n');
	attachment.document.write('CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">\n');
	attachment.document.write('<param name="src" value="'+goPage+'">\n');
	attachment.document.write('<param name="autoplay" value="true">\n');
	attachment.document.write('<param name="controller" value="true">\n');
	attachment.document.write('<embed src="'+goPage+'" width="'+w+'" height="'+h+'" autoplay="true"\n');
	attachment.document.write('CONTROLLER="true"\n');
	attachment.document.write('PLUGINSPAGE="http://www.apple.com/quicktime/download/"></EMBED>\n');
	attachment.document.write('</OBJECT>\n');
	attachment.document.write('</body></html>\n');
	attachment.document.close();
}

function popFullscreen(goPage,nom) {
	var w,h;
	w = screen.width - (browserDimensions.leftborderwidth + browserDimensions.rightborderwidth);
	h = screen.height - menuheight - browserDimensions.statusbarheight - browserDimensions.titlebarheight;
	centerX = 0;
	centerY = 0;
	var popped = window.open(goPage,nom,'width='+w+',height='+h+',status=yes,menubar=no,scrollbars=no,resizable=no,screenX='+centerX+',screenY='+centerY+',left='+centerX+',top='+centerY);
	if (navigator.appName=="Netscape" || document.all) popped.focus();
	if ( is_mac && is_ie ) {
		popped.resizeTo(w,h+menuheight);			
	}
}

function popup(goPage,nom, windowWidth, windowHeight) {
	if (parseInt(navigator.appVersion) >= 4) { 
		wX = (screen.width/2)-(windowWidth/2+10); wY = (screen.height/2)-(windowHeight/2+20); 
	} else { 
		wX = 0; wY = 0; 
	}

	var remote = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+msiemacsize)+',status=no,menubar=no,scrollbars=no,resizable=no,screenX='+wX+',screenY='+wY+',left='+wX+',top='+wY);
	if (navigator.appName=="Netscape" || document.all) remote.focus();
	
	if (remote.opener == null) remote.opener = window;

	if ( is_mac && is_ie ) {
		remote.resizeTo(windowWidth,windowHeight+msiemacsize);			
	}
//	return remote;
}

function popScroller(goPage,nom, windowWidth, windowHeight) {
	if (parseInt(navigator.appVersion) >= 4) { 
		wX = (screen.width/2)-(windowWidth/2+10); wY = (screen.height/2)-(windowHeight/2+20); 
	} else { 
		wX = 0; wY = 0; 
	}

	var remote = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+msiemacsize)+',status=yes,menubar=no,scrollbars=yes,resizable=yes,screenX='+wX+',screenY='+wY+',left='+wX+',top='+wY);
	if (navigator.appName=="Netscape" || document.all) remote.focus();
	
	if (remote.opener == null) remote.opener = window;
}

msiemacsize = 0;

function isaMac() { 
	if (navigator.appVersion.indexOf("PPC") != -1 || navigator.appVersion.indexOf("68K") != -1) {
		return true; 
	} else {
		return false; 
	}
}

if (navigator.appName == "Microsoft Internet Explorer" && isaMac() && parseInt(navigator.appVersion) <= 4 && navigator.appVersion.indexOf('MSIE 5') == -1)  {
	msiemacsize = 14;
}

function pop(goPage, nom, windowWidth, windowHeight) {
	if (parseInt(navigator.appVersion) >= 4) { 
		wX = (screen.width/2)-(windowWidth/2+10); wY = (screen.height/2)-(windowHeight/2+20); 
	} else { 
		wX = 0; wY = 0; 
	}

	var remote = window.open(goPage,nom,'width='+windowWidth+',height='+(windowHeight+msiemacsize)+',status=no,menubar=no,scrollbars=no,resizable=no,screenX='+wX+',screenY='+wY+',left='+wX+',top='+wY);
	if (navigator.appName=="Netscape" || document.all) remote.focus();
	
	if (remote.opener == null) remote.opener = window;
	return remote;
}

function launchSearch() {
  mySearch = pop("/search/index.html","mySearch",301,94);
}



// Quicktime detection script from apple.com - thanks :b

// initialize global variables
var detectableWithVB = false;
var pluginFound = false;


function goURL(daURL) {
    // if the browser can do it, use replace to preserve back button
    if(window.location.replace) {
	window.location.replace(daURL);
    } else {
	window.location = daURL;
    }
    return;
}

function redirectCheck(pluginFound, redirectURL, redirectIfFound) {
    // check for redirection
    if( redirectURL && ((pluginFound && redirectIfFound) || 
	(!pluginFound && !redirectIfFound)) ) {
	// go away
	goURL(redirectURL);
	return pluginFound;
    } else {
	// stay here and return result of plugin detection
	return pluginFound;
    }	
}

function canDetectPlugins() {
    if( detectableWithVB || (navigator.plugins && navigator.plugins.length > 0) ) {
	return true;
    } else {
	return false;
    }
}

function detectFlash(redirectURL, redirectIfFound) {
    pluginFound = detectPlugin('Shockwave','Flash'); 
    // if not found, try to detect with VisualBasic
    if(!pluginFound && detectableWithVB) {
	pluginFound = detectActiveXControl('ShockwaveFlash.ShockwaveFlash.1');
    }
    // check for redirection
    return redirectCheck(pluginFound, redirectURL, redirectIfFound);
}

function detectDirector(redirectURL, redirectIfFound) { 
    pluginFound = detectPlugin('Shockwave','Director'); 
    // if not found, try to detect with VisualBasic
    if(!pluginFound && detectableWithVB) {
	pluginFound = detectActiveXControl('SWCtl.SWCtl.1');
    }
    // check for redirection
    return redirectCheck(pluginFound, redirectURL, redirectIfFound);
}

function detectQuickTime(redirectURL, redirectIfFound) {
    pluginFound = detectPlugin('QuickTime');
    // if not found, try to detect with VisualBasic
    if(!pluginFound && detectableWithVB) {
	pluginFound = detectQuickTimeActiveXControl();
    }
    return redirectCheck(pluginFound, redirectURL, redirectIfFound);
}

function detectReal(redirectURL, redirectIfFound) {
    pluginFound = detectPlugin('RealPlayer');
    // if not found, try to detect with VisualBasic
    if(!pluginFound && detectableWithVB) {
	pluginFound = (detectActiveXControl('rmocx.RealPlayer G2 Control') ||
		       detectActiveXControl('RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)') ||
		       detectActiveXControl('RealVideo.RealVideo(tm) ActiveX Control (32-bit)'));
    }	
    return redirectCheck(pluginFound, redirectURL, redirectIfFound);
}

function detectWindowsMedia(redirectURL, redirectIfFound) {
    pluginFound = detectPlugin('Windows Media Player');
    // if not found, try to detect with VisualBasic
    if(!pluginFound && detectableWithVB) {
	pluginFound = detectActiveXControl('MediaPlayer.MediaPlayer.1');
    }
    return redirectCheck(pluginFound, redirectURL, redirectIfFound);
}

function detectPlugin() {
    // allow for multiple checks in a single pass
    var daPlugins = detectPlugin.arguments;
    // consider pluginFound to be false until proven true
    var pluginFound = false;
    // if plugins array is there and not fake
    if (navigator.plugins && navigator.plugins.length > 0) {
	var pluginsArrayLength = navigator.plugins.length;
	// for each plugin...
	for (pluginsArrayCounter=0; pluginsArrayCounter < pluginsArrayLength; pluginsArrayCounter++ ) {
	    // loop through all desired names and check each against the current plugin name
	    var numFound = 0;
	    for(namesCounter=0; namesCounter < daPlugins.length; namesCounter++) {
		// if desired plugin name is found in either plugin name or description
		if( (navigator.plugins[pluginsArrayCounter].name.indexOf(daPlugins[namesCounter]) >= 0) || 
		    (navigator.plugins[pluginsArrayCounter].description.indexOf(daPlugins[namesCounter]) >= 0) ) {
		    // this name was found
		    numFound++;
		}   
	    }
	    // now that we have checked all the required names against this one plugin,
	    // if the number we found matches the total number provided then we were successful
	    if(numFound == daPlugins.length) {
		pluginFound = true;
		// if we've found the plugin, we can stop looking through at the rest of the plugins
		break;
	    }
	}
    }
    return pluginFound;
} // detectPlugin


// Here we write out the VBScript block for MSIE Windows
if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) {
    document.writeln('<script language="VBscript">');

    document.writeln('\'do a one-time test for a version of VBScript that can handle this code');
    document.writeln('detectableWithVB = False');
    document.writeln('If ScriptEngineMajorVersion >= 2 then');
    document.writeln('  detectableWithVB = True');
    document.writeln('End If');

    document.writeln('\'this next function will detect most plugins');
    document.writeln('Function detectActiveXControl(activeXControlName)');
    document.writeln('  on error resume next');
    document.writeln('  detectActiveXControl = False');
    document.writeln('  If detectableWithVB Then');
    document.writeln('     detectActiveXControl = IsObject(CreateObject(activeXControlName))');
    document.writeln('  End If');
    document.writeln('End Function');

    document.writeln('\'and the following function handles QuickTime');
    document.writeln('Function detectQuickTimeActiveXControl()');
    document.writeln('  on error resume next');
    document.writeln('  detectQuickTimeActiveXControl = False');
    document.writeln('  If detectableWithVB Then');
    document.writeln('    detectQuickTimeActiveXControl = False');
    document.writeln('    hasQuickTimeChecker = false');
    document.writeln('    Set hasQuickTimeChecker = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")');
    document.writeln('    If IsObject(hasQuickTimeChecker) Then');
    document.writeln('      If hasQuickTimeChecker.IsQuickTimeAvailable(0) Then ');
    document.writeln('        detectQuickTimeActiveXControl = True');
    document.writeln('      End If');
    document.writeln('    End If');
    document.writeln('  End If');
    document.writeln('End Function');

    document.writeln('</scr' + 'ipt>');
}

//
// reworked Macromedia functions to work in Netscpae 6.... ('cause they won't do it themselves!) - :b
//

function BW_findLayer(n, d) { 
// adapted by Bradley Wong 
// to fix Dreamweaver 3 code not working in Netscape 6
	var p,i,x;  
	if (is_nav4 || is_ie4) {
		if(!d) d=document; 
		if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; 
			n=n.substring(0,p);
		}
		if(!(x=d[n])&&d.all) x=d.all[n]; 
		for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=BW_findLayer(n,d.layers[i].document); 
		return x;
	} else {
		return document.getElementById(n); 
	}
	
}


function MM_findObj(n, d) { //v3.0  
// Original Macromedia code - this function is redefined see below - :b
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_findObj(n, d) { 
// adapted by Bradley Wong 
// to fix Dreamweaver 3 code not working in Netscape 6
	var p,i,x;  
	if (is_nav4) {
		if(!d) d=document; 
		if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; 
			n=n.substring(0,p);
		}
		if(!(x=d[n])&&d.all) x=d.all[n]; 
		for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 
		return x;
	} else {
		return document.getElementById(n); 
	}
	
}

function MM_showHideLayers() { //v3.0
// Original Macromedia code - this function is redefined see below - :b
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v;
  }
}

function MM_showHideLayers() { //v3.0
// adapted by Bradley Wong 
// to fix Dreamweaver 3 code not working in Netscape 6
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=BW_findLayer(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v;
  }
}

//--> end hide JavaScript


function show(divID) {
	killAll();
	document.getElementById(divID).style.visibility = 'visible';
}

function hide(divID) {
	document.getElementById(divID).style.visibility = 'hidden';
}

function killAll(){
	for(var i=1; i<7; i++) {
        eval('hide(\'info_' + i + '\')');
	}
}

