var IEminVersionMAC = 5.1

var IEminVersionPC = 5.5

var NSminVersion = 6.2





var DetectSystem_BrowserType = "";

var DetectSystem_BrowserVerMajor = 0;

var DetectSystem_BrowserVerFull = 0.0;

var DetectSystem_BrowserProblem = false;

var DetectSystem_SysType = "";

var DetectSystem_SysProblem = false;

var DetectSystem_Cookies = false;

var DetectSystem_CookieProblem = false;

var DetectSystem_Java = false;

var DetectSystem_JavaProblem = false;

var DetectSystem_ActiveX = false;

var DetectSystem_ActiveXProblem = false;

var DetectSystem_ScrWidth  = 0;

var DetectSystem_ScrHeight = 0;

var DetectSystem_ScrProblem = false;

var DetectSystem_Problem = false;

var DetectSystem_Logging = "";

// -->

//

// Set some HTML tags, to make "document.write" a bit simpler

//

var TagTable = '<'+'TABLE BORDER=3 CELLPADDING=5>';

var TagTableEnd = '<'+'/TABLE>';

var TagTR = '<'+'TR>';

var TagTREnd = '<'+'/TR>';

var TagTD = '<'+'TD VALIGN="TOP">';

var TagTDEnd = '<'+'/TD>';

var TagUL = '<'+'UL>';

var TagULEnd = '<'+'/UL>';

var TagOL = '<'+'OL>';

var TagOLEnd = '<'+'/OL>';

var TagLI = '<'+'LI>';

var TagLIEnd = '<'+'/LI>';

var TagB = '<'+'B>';

var TagBEnd = '<'+'/B>';

var TagI = '<'+'I>';

var TagIEnd = '<'+'/I>';

var TagCenter = '<'+'CENTER>';

var TagCenterEnd = '<'+'/CENTER>';

var TagP = '<'+'P>';

var TagBR = '<'+'BR>';

///////////////////////////////





////////////// vars for DS checker 2002-2003

/// Logos //////////

var ieLogo = '<'+'img src="access/images/ie_logo.gif" alt="Internet Explorer Logo" />';

var nsLogo = '<'+'img src="access/images/NScape.gif" alt="Netscape" />';

var AcrobatLogo = '<'+'img src="access/images/icon_ad.gif" alt="Acrobat" />';

var logoIcon2Show = "Logo missing"; // Logo Switch Default



// Marks for results: ////////////

var markCheckMark = '<' + 'img src="access/images/MarkCheck32.gif" alt="checkmark" />';

var markCrossMark = '<' + 'img src="access/images/MarkCross32.gif" alt="xmark" />';

var markQuestMark = '<' + 'img src="access/images/MarkQuest.gif" alt="Qmark" />';

var markStatusSym = "missing graphic"; // This is the mark switch



// Text readouts: //////////////

var commentText = "" ; // This is the main display text

var Technical_Message = "" ; // This is the technical display text



////////// URLs: //////////////

var installDirectorURL = "http://www.macromedia.com/shockwave/download/" ;

var DirSwFAQsURL = "http://sdc.shockwave.com/support/shockwave/faq.html" ;

var DirSwProbsTechURL = "http://sdc.shockwave.com/support/shockwave/ts/documents/playerfaq.htm" ;

var installAcrobatURL = "http://www.adobe.com/products/acrobat/readstep2.html"

var AcrobatFAQURL = "http://www.adobe.com/products/acrobat/faq.html"



////////// Versions: //////////////

var DirSwVer = "" ;



//// Switches

//var ShockMode = ""



// Rather than update all references, hack needs to be synched.(both used throughout)

var LclCheckMark = markCheckMark;

var LclCrossMark = markCrossMark;

var LclQuestMark = markQuestMark;

/////// End of Daves checker printout variables





////////////////////////////////////////

////  PluginList  //////////////////////

//Flash

//Windows Media Player

//Java

//Shockwave

//RealPlayer

//QuickTime

//Acrobat Reader

//SVG Viewer

var agt=navigator.userAgent.toLowerCase();

var ie = (agt.indexOf("msie") != -1);

var ns = (navigator.appName.indexOf("Netscape") != -1);

var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));

var mac = (agt.indexOf("mac")!=-1);



if (ie && win) { pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") + detectIE("SWCtl.SWCtl.1","Shockwave Director") + detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash") + detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer") + detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime") + detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player") + detectIE("PDF.PdfCtrl.5","Acrobat Reader"); }



if (ns || !win) {

nse = ""; for (var i=0;i<navigator.mimeTypes.length;i++) nse += navigator.mimeTypes.type.toLowerCase();

pluginlist = detectNS("image/svg-xml","SVG Viewer") + detectNS("application/x-director","Shockwave Director") + detectNS("application/x-shockwave-flash","Shockwave Flash") + detectNS("audio/x-pn-realaudio-plugin","RealPlayer") + detectNS("video/quicktime","QuickTime") + detectNS("application/x-mplayer2","Windows Media Player") + detectNS("application/pdf","Acrobat Reader");

}



function detectIE(ClassID,name) { result = false; document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))</SCRIPT>\n'); if (result) return name+','; else return ''; }

function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; }



pluginlist += navigator.javaEnabled() ? "Java," : "";

if (pluginlist.length > 0) pluginlist = pluginlist.substring(0,pluginlist.length-1);



//SAMPLE USAGE- detect "Flash"

//if (pluginlist.indexOf("Flash")!=-1)

//document.write("You have flash installed") 



////  PluginList END //////////////////////



// Check for Director //////////////////

// Director ///////////////////////////////////////////////////////////

with (navigator) if (appName.indexOf('Microsoft')!=-1 && appVersion.indexOf('Mac')==-1) document.write(''+

'<scr'+'ipt language="VBScript">\nOn error resume next\n'+

'MM_dir = IsObject(CreateObject("SWCtl.SWCtl.1"))\n</scr'+'ipt>');





//--- Navigator Plugin Table////

function NavPluginTable() {

  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {

document.write("<TABLE BORDER=1><TR VALIGN=TOP>",

   "<TH ALIGN=left>i",

   "<TH ALIGN=left>type",

   "<TH ALIGN=left>description",

   "<TH ALIGN=left>enabledPlugin.name",

    "<TH ALIGN=left>suffixes</TR>")

for (i=0; i < navigator.mimeTypes.length; i++) {

   document.write("<TR VALIGN=TOP><TD>",i,

      "<TD>",navigator.mimeTypes[i].type,

      "<TD>",navigator.mimeTypes[i].description,

	  "<TD>",navigator.mimeTypes[i].enabledPlugin.name,

   	"<TD>",navigator.mimeTypes[i].suffixes,"</TR>")

}

document.write("</TABLE>")

}

}

///--  END table write



//// QT ////////////////////////////////////////////////////

function checkQT() {



/*  Quicktime check is a pain in the @##@, use a plugin redirect, seems to be the only way.

if ((DetectSystem_BrowserType == "NS")) { // || (DetectSystem_BrowserType == "NS6")) {

	DetectSystem_Quicktime = false;

     if (navigator.plugins) {

          for (i=0; i < navigator.plugins.length; i++ ) {

               if (navigator.plugins[i].name.indexOf("QuickTime") >= 0)

                    { DetectSystem_Quicktime  = true; }

            }

        }

}

if (DetectSystem_BrowserType == "IE") {

    DetectSystem_Quicktime = false;

    document.write('<'+'script language="VBScript"> \n');

    document.write('On Error Resume Next \n');

    document.write('Set theObject = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1") \n');

	document.write('On Error  goto 0 \n');

	document.write('	If IsObject(theObject) Then \n');

	document.write('		If theObject.IsQuickTimeAvailable(0) Then \n');

	document.write('			DetectSystem_Quicktime = true \n');

	document.write('		End If \n');

	document.write('    End If \n');

    document.write('<'+'/script> \n');

}

    if (DetectSystem_Quicktime)

    {document.write("<font face=\"Arial, Helvetica, sans-serif\" color=\"#006600\"><b><font size=\"2\">" + markCheckMark + " You have QuickTime" +  "</font>" );}

    else

	    {

		document.write("<font face=\"Arial, Helvetica, sans-serif\" color=\"#FF0000\"><b><font size=\"2\">" + markCrossMark + ' You do not have QuickTime ' +  "</font>" );

		DetectSystem_QTProblem = true, DetectSystem_Logging = DetectSystem_Logging + "Quicktime_NOT_SUPPORTED_OR_ENABLED+";

		}

		*/

}

//////////////// END QT



//////////////// NAVIGATOR CHECK:

var ua = navigator.userAgent.toLowerCase();



if (document.layers) {

    DetectSystem_BrowserVerMajor = parseInt(navigator.appVersion);

    DetectSystem_BrowserVerFull = parseFloat(navigator.appVersion); 

	DetectSystem_BrowserType="NS";



    if (DetectSystem_BrowserVerFull < NSminVersion ) DetectSystem_BrowserProblem=true, DetectSystem_Logging=DetectSystem_Logging + "OLD_NS_VERSION+";

}



//////////////// IE CHECK:

else if (document.all) {

    // If V4 or higher, the given version is "4.0" and the actual version is embedded

    DetectSystem_BrowserType = "IE";

    DetectSystem_BrowserVerMajor = parseInt(navigator.appVersion);

    DetectSystem_BrowserVerFull = parseFloat(navigator.appVersion); 

    DetectSystem_BrowserProblem = false;

    if (DetectSystem_BrowserVerMajor >= 4) {

        var LclIndex = ua.indexOf("msie ");

        if (LclIndex != -1) {

            var LclRealVersion = ua.substring((LclIndex + 5), ua.length);

            DetectSystem_BrowserVerMajor = parseInt(LclRealVersion);

            DetectSystem_BrowserVerFull = parseFloat(LclRealVersion);

        }

    }

    

    if (DetectSystem_BrowserVerFull < IEminVersionMAC ) DetectSystem_BrowserProblem=true, DetectSystem_Logging = DetectSystem_Logging + "OLD_IE_VERSION+";

}



//////////////// NETSCAPE 6 CHECK:

else if (document.getElementById) { // NS 6 or other w3c compliant browser

	DetectSystem_BrowserType="NS6";

    DetectSystem_BrowserVerMajor=6;

	if (ua.indexOf("netscape6/") != -1) {

		DetectSystem_BrowserVerFull=ua.substring(ua.indexOf("netscape6/") + 10);

		

		if (parseFloat(DetectSystem_BrowserVerFull) < NSminVersion) DetectSystem_BrowserProblem=true, DetectSystem_Logging=DetectSystem_Logging + "OLD_NS6_VERSION+";

	}

}



//////////////// UNKNOWN BROWSER:

else {

	DetectSystem_BrowserProblem=true;

	DetectSystem_Logging=DetectSystem_Logging + "UNKNOWN_BROWSER+";

}



// Test for VBScript being supported and enabled (SCRIPT/NOSCRIPT, only for IE)

if (DetectSystem_BrowserType == "IE") {

    document.write('<'+'SCRIPT LANGUAGE="VBScript"> \n <'+'/SCRIPT> \n');

    document.write('<'+'NOSCRIPT> \n <'+'META HTTP-EQUIV="refresh" CONTENT="0; URL=.../ErrorNoScript.htm"> \n');

    document.write('<'+'/NOSCRIPT> \n');

}



// Detect MS Windows, 32-bit variants (Win95, Win98, WinNT, Win2k)

if ((ua.indexOf("win") != -1) || (ua.indexOf("32bit") != -1))

    DetectSystem_SysType = "WIN32";



// Detect MS Windows, 16-bit (Win31) (must come after WIN32 check)

if ((ua.indexOf("win16") != -1) || (ua.indexOf("16bit") != -1) || (ua.indexOf("windows 3.1") != -1) ||  (ua.indexOf("windows 16-bit") != -1) )

    DetectSystem_SysType = "WIN16";



// Detect Macintosh

if (ua.indexOf("mac") != -1)

    DetectSystem_SysType = "MAC";



// Detect OS/2

if ((ua.indexOf("os/2") != -1) || (navigator.appVersion.indexOf("OS/2") != -1) ||  (ua.indexOf("ibm-webexplorer") != -1))

    DetectSystem_SysType = "OS2";



// Detect as many flavors of UNIX as we can

if ( (ua.indexOf("sunos") != -1) || (ua.indexOf("irix") != -1) || (ua.indexOf("hp-ux") != -1) || (ua.indexOf("aix") != -1) ||

     (ua.indexOf("inux") != -1) || (ua.indexOf("sco") != -1) || (ua.indexOf("unix_sv") != -1) || (ua.indexOf("unix_system_v") != -1) ||

     (ua.indexOf("ncr") != -1) || (ua.indexOf("reliantunix") != -1) || (ua.indexOf("dec") != -1) || (ua.indexOf("osf1") != -1) ||

     (ua.indexOf("dec_alpha") != -1) || (ua.indexOf("alphaserver") != -1) || (ua.indexOf("ultrix") != -1) || (ua.indexOf("alphastation") != -1) ||

     (ua.indexOf("sinix") != -1) || (ua.indexOf("freebsd") != -1) || (ua.indexOf("bsd") != -1) || (ua.indexOf("x11") != -1) )

{

    DetectSystem_SysType = "UNIX";

}



// Make sure the Op Sys is supported

if (DetectSystem_SysType != "WIN32") DetectSystem_SysProblem = true, DetectSystem_Logging = DetectSystem_Logging + "NON_WIN32_OS+";



// Make sure that cookies are supported and enabled

var LclExpireOn = new Date();

LclExpireOn.setTime(LclExpireOn.getTime() + (1 * 60 * 1000));

document.cookie = "CookieTest=1; expires=" + LclExpireOn.toGMTString();

if (document.cookie.length > 0)

    if (document.cookie.indexOf("CookieTest") != -1) {DetectSystem_Cookies = true;}



if (!DetectSystem_Cookies) DetectSystem_CookieProblem = true, DetectSystem_Logging = DetectSystem_Logging + "COOKIES_DISABLED+";



// Make sure that Java is supported and enabled (Netscape only)

// If not NS, leave both "detected" and "problem" false (state unknown)

if ((DetectSystem_BrowserType == "NS")) { // || (DetectSystem_BrowserType == "NS6")) {

    DetectSystem_Java = navigator.javaEnabled();

    if (!DetectSystem_Java) DetectSystem_JavaProblem = true, DetectSystem_Logging = DetectSystem_Logging + "JAVA_NOT_SUPPORTED_OR_ENABLED+";

}



if (DetectSystem_BrowserType == "IE") {

    DetectSystem_ActiveX = true;

    document.write('<'+'script language="VBScript"> \n');

    document.write('On Error Resume Next \n');

    document.write('Set TestObj = CreateObject("Microsoft.ActiveXPlugin") \n');

    document.write('TestObjInstalled = IsObject(TestObj) \n');

    document.write('If Not TestObjInstalled Then \n');

    document.write('    Set TestObj = CreateObject("Microsoft.ActiveXPlugin.1") \n');

    document.write('    TestObjInstalled = IsObject(TestObj) \n');

    document.write('    End If \n');

    document.write('If Not TestObjInstalled Then \n');

    document.write('    DetectSystem_ActiveX = False \n');

    document.write('    End If \n');

    document.write('<'+'/script> \n');



    if (!DetectSystem_ActiveX) DetectSystem_ActiveXProblem = true, DetectSystem_Logging = DetectSystem_Logging + "ACTIVE_X_NOT_SUPPORTED_OR_ENABLED+";

}









// Get the screen size

var DetectSystem_ScrWidth  = (window.screen) ? window.screen.width : 800;

var DetectSystem_ScrHeight = (window.screen) ? window.screen.height : 600;



if ((DetectSystem_ScrWidth < 800) || (DetectSystem_ScrHeight < 600)) {

	DetectSystem_ScrProblem = true;

	DetectSystem_Logging = DetectSystem_Logging + "SCREEN_SIZE_LESS_THAN_800_BY_600+"

}



/*

window.onerror=null;

colors = window.screen.colorDepth;

document.form.color.value = Math.pow (2, colors);

if (window.screen.fontSmoothingEnabled == true)

document.form.fonts.value = "Yes";

else document.form.fonts.value = "No";

document.form.colordepth.value = window.screen.colorDepth;

document.form.width.value = window.screen.width;

document.form.height.value = window.screen.height;

document.form.maxwidth.value = window.screen.availWidth;

document.form.maxheight.value = window.screen.availHeight;

document.form.codename.value = navigator.appCodeName;

if (navigator.javaEnabled() < 1) document.form.java.value="No";

if (navigator.javaEnabled() == 1) document.form.java.value="Yes";



if(navigator.javaEnabled() && (navigator.appName != "Microsoft Internet Explorer")) {

vartool=java.awt.Toolkit.getDefaultToolkit();

addr=java.net.InetAddress.getLocalHost();

host=addr.getHostName();

ip=addr.getHostAddress();

*/





// Set a general "error" flag is there are any problems

DetectSystem_Problem = DetectSystem_BrowserProblem || DetectSystem_SysProblem || DetectSystem_CookieProblem || DetectSystem_ScrProblem || DetectSystem_JavaProblem || DetectSystem_ActiveXProblem;



if (DetectSystem_Logging == "")

	DetectSystem_Logging = "OK";



// -->

<!--













// -----------------------

// Audio plug-in detection

//

DetectAudio_Use = "";

DetectAudio_Problem = false;

DetectAudio_RealPlayerVer = "";

DetectAudio_RealPlayerVerBad = false;

DetectAudio_WinMediaVer = "";

DetectAudio_WinMediaVerBad = false;



DetectAudio_Logging = "";





//

// Make sure the audio plug-in is available

//

if (DetectSystem_BrowserType.substr(0, 2) == "NS")

{

    if (navigator.plugins)

    {

        var Index = navigator.plugins.length - 1;

        while (Index >= 0)

        {

            var LclPlugin = navigator.plugins[Index].name.toLowerCase();



            // Check for RealPlayer

            if (LclPlugin.indexOf("realplayer") != -1)

            {

                // Can't tell the version for anything before V6

                if (LclPlugin.indexOf("version 5") != -1)

                {

                    DetectAudio_RealPlayerVer = "5.0";

                }

                if (LclPlugin.indexOf("g2") != -1)

                {

                    DetectAudio_RealPlayerVer = "6.0.6.99";

                }

            }



// *NSWMP* *** To re-enable WMP for NS, uncomment the block of lines below ***

//***            // Check for Windows Media

//***            else if ((LclPlugin.indexOf("windows media") != -1) && (LclPlugin.indexOf("player") != -1))

//***            {

//***				DetectAudio_WinMediaVer = "6.2";

//***            }

// *NSWMP* *** To re-enable WMP for NS, uncomment the block of lines above ***



            Index -= 1;

        }

    }

}



//

// In IE, explicitly check for all possible ActiveX objects.

// This must be done in VBScript.

//

// Note - When MACs are supported, skip this, because ActiveX is

//        not supported (at least not by RealPlayer).

//

else if ((DetectSystem_BrowserType == "IE") && DetectSystem_ActiveX)

{

    //

    // Use VBScript to check.

    //

    document.write('<'+'SCRIPT LANGUAGE="VBScript"> \n');

    document.write('On Error Resume Next \n');



    //

    // Check for RealPlayer V4 (can't tell the specific version)

    //

    with (document) {

		write('Set LclRealPlayerV4Obj = CreateObject("RealVideo.RealVideo(tm) ActiveX Control (32-bit).1") \n');

		write('LclInstalled = IsObject(LclRealPlayerV4Obj) \n');

		write('If Not LclInstalled Then \n');

		write('    Set LclRealPlayerV4Obj = CreateObject("RealVideo.RealVideo(tm) ActiveX Control (32-bit)") \n');

		write('    LclInstalled = IsObject(LclRealPlayerV4Obj) \n');

		write('End If \n');

		write('If LclInstalled Then DetectAudio_RealPlayerVer = "4.0" \n');

	}



    //

    // Check for RealPlayer V5 (can't tell the specific version)

    //

    with (document) {

		write('Set LclRealPlayerV5Obj = CreateObject("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit).1") \n');

		write('LclInstalled = IsObject(LclRealPlayerV5Obj) \n');

		write('If Not LclInstalled Then \n');

		write('    Set LclRealPlayerV5Obj = CreateObject("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)") \n');

		write('    LclInstalled = IsObject(LclRealPlayerV5Obj) \n');

		write('End If \n');

		write('If LclInstalled Then DetectAudio_RealPlayerVer = "5.0" \n');

    }



    //

    // Check for RealPlayer V6 (G2) and V7

    // Get the specific version

    // Get the bandwidth as specified by the user at setup time

    //

    with (document) {

		write('Set LclRealPlayerV6Obj = CreateObject("rmocx.RealPlayer G2 Control.1") \n');

		write('LclInstalled = IsObject(LclRealPlayerV6Obj) \n');

		write('If Not LclInstalled Then \n');

		write('    Set LclRealPlayerV6Obj = CreateObject("rmocx.RealPlayer G2 Control") \n');

		write('    LclInstalled = IsObject(LclRealPlayerV6Obj) \n');

		write('End If \n');

		write('If LclInstalled Then \n');

		write('    DetectAudio_RealPlayerVer = LclRealPlayerV6Obj.GetVersionInfo() \n');

		write('    If DetectAudio_RealPlayerVer = "" Then DetectAudio_RealPlayerVer = "6.0.6.99" \n');

		write('End If \n');

	}

	

    //

    // Check for Windows Media.

    //   The V7 object is "WMPlayer.OCX", and should have a version property.

    //   The V6 object is "MediaPlayer.MediaPlayer", and does not have a version property.

    // Get the bandwidth as specified by the user at setup time

    //

    with (document) {

		write('Set LclWinMediaObj = CreateObject("WMPlayer.OCX") \n');

		write('LclInstalled = IsObject(LclWinMediaObj) \n');

		write('If Not LclInstalled Then \n');

		write('    Set LclWinMediaObj = CreateObject("WMPlayer.OCX.1") \n');

		write('    LclInstalled = IsObject(LclWinMediaObj) \n');

		write('End If \n');

		write('If LclInstalled Then \n');

		write('    DetectAudio_WinMediaVer = "7.0" \n');

		write('    DetectAudio_WinMediaVer = LclWinMediaObj.versionInfo \n');

		write('Else \n');

		write('    Set LclWinMediaObj = CreateObject("MediaPlayer.MediaPlayer.1") \n');

		write('    LclInstalled = IsObject(LclWinMediaObj) \n');

		write('    If Not LclInstalled Then \n');

		write('        Set LclWinMediaObj = CreateObject("MediaPlayer.MediaPlayer") \n');

		write('        LclInstalled = IsObject(LclWinMediaObj) \n');

		write('    End If \n');

		write('    If LclInstalled Then DetectAudio_WinMediaVer = "6.2" \n');

		write('End If \n');

	}

	

    document.write('<'+'/SCRIPT> \n');

}



//

// Check for Flash Player

//

/* var flash2Installed=flash3Installed=flash4Installed=flash5Installed=flash6Installed=false, flashVersion=0;

if (document.all) {

    with (document) {

		write('<'+'SCRIPT LANGUAGE="VBScript"> \n');

		write('On Error Resume Next \n');

		write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');

		write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');

		write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');

		write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');

		write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');

		write('<' + '/SCRIPT>');

	}

}

else if (navigator.plugins) {

	if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {

		var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";

		var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;

		var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));

		flash2Installed=flashVersion==2, 	flash3Installed=flashVersion==3, 	flash4Installed=flashVersion==4, 	flash5Installed=flashVersion==5, 	flash6Installed=flashVersion>=6;

	}

}



for (var i=2; i <= 6; i++) {  

  if (eval("flash" + i + "Installed") == true) flashVersion = i;

}

*/

//

// End of Flash Detection

//





//

// Note whether or not either player exists but has a bad version

//



if (DetectAudio_RealPlayerVer != "") {

	var aryVer=DetectAudio_RealPlayerVer.split("."), RPMajor=0, RPMinorA=0, RPMinorB=0, RPMinorC=0, badRP=false;

	for (var i=0; i<aryVer.length; i++) {

		if(i==0) RPMajor=aryVer[0]

		else if(i==1) RPMinorA=aryVer[1]

		else if(i==2) RPMinorB=aryVer[2]

		else if(i==3) RPMinorC=aryVer[3];

	}



	// version must be at least 6.0.6

	if(parseInt(RPMajor)<6) badRP=true

	else if((parseInt(RPMajor)==6) && (parseInt(RPMinorA)==0) && (parseInt(RPMinorB)<6)) badRP=true;



	if (badRP) {

		DetectAudio_RealPlayerVerBad=true;

		DetectAudio_Logging = DetectAudio_Logging + "BAD_VERSION_OF_REALPLAYER_" + DetectAudio_RealPlayerVer + "+";

	}

}



if ((DetectAudio_WinMediaVer != "")   && (DetectAudio_WinMediaVer < "6.2")) {

	DetectAudio_WinMediaVerBad = true;

	DetectAudio_Logging	= DetectAudio_Logging + "BAD_VERSION_OF_WINMEDIAPLAYER_" + DetectAudio_WinMediaVer + "+";

}



//

// We have a general audio problem if

//  1) both don't exist

//  1) both exist, and both are bad versions

//  3) if WinMedia only, and its a bad version

//  4) if RealPlayer only, and its a bad version

//

if ((DetectAudio_RealPlayerVer == "") && (DetectAudio_WinMediaVer == "")) {

    DetectAudio_Problem = true;

	DetectAudio_Logging	= DetectAudio_Logging + "NO_REALPLAYER_AND_NO_WINMEDIAPLAYER+";

}

else if ((DetectAudio_RealPlayerVer != "") && DetectAudio_RealPlayerVerBad && (DetectAudio_WinMediaVer != "") && DetectAudio_WinMediaVerBad) {

    DetectAudio_Problem = true;

	DetectAudio_Logging	= DetectAudio_Logging + "BAD_VERSION_OF_REALPLAYER_AND_BAD_VERSION_OF_WINMEDIAPLAYER+";

}

else if ((DetectAudio_WinMediaVer != "") && DetectAudio_WinMediaVerBad && (DetectAudio_RealPlayerVer == ""))

{

    DetectAudio_Problem = true;

	DetectAudio_Logging	= DetectAudio_Logging + "BAD_VERSION_OF_WINMEDIAPLAYER_AND_NO_REALPLAYER+";

}

else if ((DetectAudio_RealPlayerVer != "") && DetectAudio_RealPlayerVerBad && (DetectAudio_WinMediaVer == ""))

{

    DetectAudio_Problem = true;

	DetectAudio_Logging	= DetectAudio_Logging + "BAD_VERSION_OF_REALPLAYER_AND_NO_WINMEDIAPLAYER+";

}



//

// Set the player to use

//	1) "RAP" if good   version of RP, good/bad/no version of WM

//  2) "WMP" if good   version of WM,      bad/no version of RP

//  3) ""    if bad/no version of RP,      bad/no version of WM

//

//  However, if both players are installed,

//  determination will be based according to the current browser:

//  1) IE --> use WMP

//  2) NSCP (or anything other than IE) ->use RAP



if (!DetectAudio_Problem)

{

	//if have good versions of both players installed...

	if ( (DetectAudio_RealPlayerVer != "") && (!DetectAudio_RealPlayerVerBad) && (DetectAudio_WinMediaVer != "") && (!DetectAudio_WinMediaVerBad) )

	{

		//...and if this is IE...

		if ((DetectSystem_BrowserType == "IE") && DetectSystem_ActiveX)

			DetectAudio_Use = "WMP"	//...then select WMP as default

		else

			DetectAudio_Use = "RAP";	//...otherwise (NSCP or other browsers) --> use Real Player

	}

	

	// if only one player is installed-->use it

	else

	{

		if ((DetectAudio_RealPlayerVer != "") && (!DetectAudio_RealPlayerVerBad))

			DetectAudio_Use = "RAP"

		else if ((DetectAudio_WinMediaVer   != "") && !DetectAudio_WinMediaVerBad)   

			DetectAudio_Use = "WMP";

	}

}



if (DetectAudio_Logging == "") DetectAudio_Logging = "OK";



// -->



//



var LclCheckMark = '<'+'IMG SRC="images/MarkCheck.gif" HEIGHT=12 WIDTH=12>';

var LclCrossMark = '<'+'IMG SRC="images/MarkCross.gif" HEIGHT=12 WIDTH=12>';

var LclQuestMark = '<'+'IMG SRC="images/MarkQuest.gif" HEIGHT=12 WIDTH=12>';



// Understand the capabilities, and identify any possible problems

var LclProblem = DetectSystem_Problem || DetectAudio_Problem;



// System type

var LclSystemType = "";



if (DetectSystem_SysType == "WIN32") 

	LclSystemType = "MS Windows"

else if (DetectSystem_SysType == "WIN16") 

	LclSystemType = "MS Windows 3.1"

else if (DetectSystem_SysType == "MAC")

	LclSystemType = "Macintosh"

else if (DetectSystem_SysType == "OS2")

	LclSystemType = "OS/2"

else if (DetectSystem_SysType == "UNIX")  

	LclSystemType = "UNIX or Linux"

else

	LclSystemType = "Unknown";

	

var LclSystemTypeSym = LclCheckMark;



if (DetectSystem_SysProblem) 

	LclSystemTypeSym = LclCrossMark;



// Browser type and version

var LclBrowserType = "";

var LclBrowserVer = "" + DetectSystem_BrowserVerFull;



if (LclBrowserVer.indexOf(".") < 0) 

	LclBrowserVer += ".0";



if (DetectSystem_BrowserType == "IE") 

	LclBrowserType = "Internet Explorer Version " + LclBrowserVer

else if (DetectSystem_BrowserType.substr(0, 2) == "NS")	

	LclBrowserType = "Netscape Version " + LclBrowserVer

else 

	LclBrowserType = "Unknown";



//***else if (DetectSystem_BrowserType == "NS+")		{LclBrowserType = "Netscape compatible";}  // Treat Netscape-compatibles as "unknown"



var LclBrowserTypeSym = markCheckMark;



var LclBrowserRealError = false;



if (DetectSystem_BrowserProblem)

{

	LclBrowserTypeSym = markCrossMark;

	LclBrowserRealError = true;

}

else

{

	if ((DetectSystem_BrowserType == "IE") && (DetectSystem_BrowserVerFull == 4.01))

	{

		DetectSystem_Problem  = true;

		DetectSystem_BrowserProblem = true;

		LclBrowserTypeSym = markQuestMark;

		LclBrowserRealError = false;

	}

}



// Scripting

//    For Netscape, this must be ok if we got here.

//    For IE, assume the VBScript engine is corrupted, and reset it if not.

var LclScriptsEna = "";

var LclScriptsEnaSym = "";



if ((DetectSystem_BrowserType == "NS") || (DetectSystem_BrowserType == "NS6")) {

	LclScriptsEna = "Enabled";

	LclScriptsEnaSym = LclCheckMark;

}

else {

	LclScriptsEna = "Corrupted - You must remove and re-install the browser";

	LclScriptsEnaSym = LclCrossMark;

	document.write('<'+'SCRIPT LANGUAGE="VBScript">\n');

	document.write('LclScriptsEna = "Enabled"\n');

	document.write('LclScriptsEnaSym = LclCheckMark\n');

	document.write('<'+'/SCRIPT>\n');

}



// Cookies

var LclBrowserCookies = "Enabled";

var LclBrowserCookiesSym = LclCheckMark;

if (!DetectSystem_Cookies) {

    LclBrowserCookies = "Disabled";

    LclBrowserCookiesSym = LclCrossMark;

}



// Java - This is interesting only for Netscape

var LclBrowserJava = "";

var LclBrowserJavaSym = "";

if ((DetectSystem_BrowserType == "NS") || (DetectSystem_BrowserType == "NS6")) {

	LclBrowserJava = "Enabled";

	LclBrowserJavaSym = LclCheckMark;

	if (DetectSystem_JavaProblem) {

		LclBrowserJava = "Disabled";

		LclBrowserJavaSym = LclCrossMark;

	}

	else if (!DetectSystem_Java && !DetectSystem_JavaProblem) {

		LclBrowserJava = "Unknown";

		LclBrowserJavaSym = LclQuestMark;

	}

}



// ActiveX scripting - This is interesting only for IE

var LclBrowserActiveX = "";

var LclBrowserActiveXSym = "";

if (DetectSystem_BrowserType == "IE")

{

	LclBrowserActiveX = "Enabled";

	LclBrowserActiveXSym = LclCheckMark;

	if (DetectSystem_ActiveXProblem)

	{

		// Disabled

		LclBrowserActiveX = "Disabled";

		LclBrowserActiveXSym = LclCrossMark;

	}

	else if (!DetectSystem_ActiveX && !DetectSystem_ActiveXProblem)

	{

		// State unknown

		LclBrowserActiveX = "Unknown";

		LclBrowserActiveXSym = LclQuestMark;

	}

}



// Window size

var LclWindowSize = "" + DetectSystem_ScrWidth + " x " + DetectSystem_ScrHeight;

var LclWindowSizeSym = LclCheckMark;

if (DetectSystem_ScrProblem) {LclWindowSizeSym = LclQuestMark;}



// Realplayer audio

var LclRealPlayer = "Not detected";

if (DetectAudio_RealPlayerVer != "")

{

    LclRealPlayer = "Version " + DetectAudio_RealPlayerVer;

    if (DetectAudio_RealPlayerVerBad) {LclRealPlayer += " (not supported)";}

}



// WinMedia audio

var LclWinMedia = "Not detected";

if (DetectAudio_WinMediaVer != "")

{

    if ((DetectAudio_WinMediaVer >= "6.0") && (DetectAudio_WinMediaVer < "7.0"))

        LclWinMedia = "Version 6.x"

    else

        LclWinMedia = "Version " + DetectAudio_WinMediaVer



    if (DetectAudio_WinMediaVerBad)

        LclWinMedia += " (not supported)"

    else

        if (DetectAudio_WinMediaVer < "7.0") {LclWinMedia += ' <'+'font size=4><'+'b>*<'+'/b><'+'/font>';}

}



// RealPlayer and WinMedia checkmarks

var LclRealPlayerSym = "";

var LclWinMediaSym = "";

if (DetectAudio_RealPlayerVer != "")

{

    if (!DetectAudio_RealPlayerVerBad) {LclRealPlayerSym = LclCheckMark;}

    else {LclRealPlayerSym = LclCrossMark;}

}

if (DetectAudio_WinMediaVer != "")

{

    if (!DetectAudio_WinMediaVerBad) {LclWinMediaSym = LclCheckMark;}

    else {LclWinMediaSym = LclCrossMark;}

}

if ((DetectAudio_RealPlayerVer == "") && (DetectAudio_WinMediaVer == ""))

{

    LclRealPlayerSym = LclCrossMark;

    LclWinMediaSym = LclCrossMark;

}



// If using IE, and ActiveX scripting isn't enabled, then we really don't know what we have

if ((DetectSystem_BrowserType == "IE") && !DetectSystem_ActiveX)

{

    LclRealPlayerSym = LclQuestMark;

    LclWinMediaSym = LclQuestMark;

}



// See if Flash is installed

//var LclFlashSym = (flashVersion > 0) ?  LclCheckMark : LclCrossMark; 







//

///////// Display system capabilities ////////////////////////////////////////////////////////////////////



var fontFace = "<font face=\"Arial, Helvetica, sans-serif\" color=\"#006600\" size=\"2\"  b >";

function writeSystemData()

{

// Set up for the main table display

document.write(TagP + TagUL + TagUL + "\n");

//

// Display the capabilities in a table  ////////////////////////////////////////////////////////////////



document.write(TagTable +"\n");

document.write(TagTR + '<'+'td valign=top bgcolor="#000000" colspan=3 height="17"><'+'font face="Arial, Helvetica, sans-serif" color="#FFFFFF"><'+'b>System Information<'+'/b><'+'/font><'+'/td>' + TagTREnd);



	if (!DetectSystem_SysProblem)

		document.write(TagTR + TagTD + LclSystemTypeSym + TagTDEnd + TagTD + "System type"  + TagTDEnd  + TagTD + LclSystemType + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclSystemTypeSym + ' <a href="#SYSPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "System type"  + TagTDEnd  + TagTD + LclSystemType   + TagTDEnd + TagTREnd + "\n");

		

	if (!DetectSystem_BrowserProblem)

		document.write(TagTR + TagTD + LclBrowserTypeSym    + TagTDEnd + TagTD + "Browser type" + TagTDEnd  + TagTD + LclBrowserType + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclBrowserTypeSym + ' <a href="#BRSPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Browser type" + TagTDEnd  + TagTD + LclBrowserType    + TagTDEnd + TagTREnd + "\n");

	

	if (LclBrowserJava != "")

		{

		if (!DetectSystem_JavaProblem)

			document.write(TagTR + TagTD + LclBrowserJavaSym + TagTDEnd + TagTD + "Browser Java applets"      + TagTDEnd  + TagTD + LclBrowserJava    + TagTDEnd + TagTREnd + "\n");

		else

			document.write(TagTR + TagTD + LclBrowserJavaSym + ' <a href="#JVPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Browser Java applets" + TagTDEnd  + TagTD + LclBrowserJava    + TagTDEnd + TagTREnd + "\n");

		}



if (LclBrowserActiveX != "")

	{

	if (!DetectSystem_ActiveXProblem)

		document.write(TagTR + TagTD + LclBrowserActiveXSym + TagTDEnd + TagTD + "Browser ActiveX controls" + TagTDEnd  + TagTD + LclBrowserActiveX  + TagTDEnd + TagTREnd + "\n")

	else

		document.write(TagTR + TagTD + LclBrowserActiveXSym + ' <a href="#AXPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Browser ActiveX controls" + TagTDEnd  + TagTD + LclBrowserActiveX  + TagTDEnd + TagTREnd + "\n")

	}	



	if (LclScriptsEna == "Enabled")

		document.write(TagTR + TagTD + LclScriptsEnaSym     + TagTDEnd + TagTD + "Browser scripting" + TagTDEnd  + TagTD + LclScriptsEna + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclScriptsEnaSym + ' <a href="#JSPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Browser scripting" + TagTDEnd  + TagTD + LclScriptsEna + TagTDEnd + TagTREnd + "\n");



	if (DetectSystem_Cookies)

		document.write(TagTR + TagTD + LclBrowserCookiesSym + TagTDEnd + TagTD + "Browser cookies"            + TagTDEnd  + TagTD + LclBrowserCookies + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclBrowserCookiesSym  + ' <a href="#CKPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Browser cookies"  + TagTDEnd  + TagTD + LclBrowserCookies + TagTDEnd + TagTREnd + "\n");



	if (!DetectSystem_ScrProblem)

		document.write(TagTR + TagTD + LclWindowSizeSym     + TagTDEnd + TagTD + "Maximum window size"        + TagTDEnd  + TagTD + LclWindowSize     + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclWindowSizeSym  + ' <a href="#WSPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Maximum window size"  + TagTDEnd  + TagTD + LclWindowSize     + TagTDEnd + TagTREnd + "\n");





if (LclWinMediaSym != "")

{

	if (DetectSystem_BrowserType == "IE")	// *NSWMP* *** To re-enable WMP for NS, delete this line ***

		{

		if ( (DetectAudio_WinMediaVerBad) || (DetectAudio_WinMediaVer == ""))

			document.write(TagTR + TagTD + LclWinMediaSym + ' <a href="#WMPPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "Windows Media audio player" + TagTDEnd  + TagTD + LclWinMedia       + TagTDEnd + TagTREnd + "\n");

		else

			document.write(TagTR + TagTD + LclWinMediaSym + TagTDEnd + TagTD + "Windows Media audio player" + TagTDEnd  + TagTD + LclWinMedia  + TagTDEnd + TagTREnd + "\n");

		}

}



if (LclRealPlayerSym != "")

	{

	if (DetectAudio_RealPlayerVer == "")

		document.write(TagTR + TagTD + LclRealPlayerSym + ' <a href="#RPPROBLEM">Need Help?</a>' + TagTDEnd + TagTD + "RealPlayer audio player" + TagTDEnd  + TagTD + LclRealPlayer     + TagTDEnd + TagTREnd + "\n");

	else

		document.write(TagTR + TagTD + LclRealPlayerSym     + TagTDEnd + TagTD + "RealPlayer audio player" + TagTDEnd  + TagTD + LclRealPlayer     + TagTDEnd + TagTREnd + "\n");

	}



//document.write(TagTR + '<'+'td valign=top bgcolor="#000000" colspan=3 height="17"><'+'font face="Arial, Helvetica, sans-serif" color="#FFFFFF"><'+'b>Optional Components<'+'/b><'+'/font><'+'/td>' + TagTREnd);

//document.write(TagTR + TagTD + LclFlashSym  + TagTDEnd + TagTD + "Macromedia Flash Player" + TagTDEnd  + TagTD + ((flashVersion > 0) ? "Version " + flashVersion : "Flash Player not detected") + TagTDEnd + TagTREnd + "\n");



document.write(TagTableEnd + "\n");



//

// If there was a problem, give some hopefully helpful text

//



if (DetectSystem_Problem)

{

	// System type

	if (DetectSystem_SysProblem)

	{

		document.write("The type or version of operating system you are using is not supported or cannot be determined." + "\n");

		document.write("Supported operating systems are Windows 95, 98, NT4, and 2000." + "\n");

	}



    // Browser

    if (DetectSystem_BrowserProblem)

    {

		if (LclBrowserRealError)

		{

	        document.write(TagLI + "The type or version of the browser you are using is not supported.\n");

	        document.write("Site may not operate correctly when used with this browser.\n");

		}

		else

		{

			document.write(TagLI + "Your Internet Explorer product version is reported as 4.01.\n");

			document.write("We cannot determine the service pack used with this product version.\n");

			document.write("Please use Internet Explorer " + TagB + "Help About" + TagBEnd + " to determine the internal version number.\n");

			document.write("If the version number displayed is 4.72.3612.1713 or higher, your version of Internet Explorer is supported.\n");

			document.write("If it is lower, you must install a newer version of Internet Explorer.\n");

		}



        document.write(TagP + "Supported browsers are:" + TagP + "\n" + TagUL);

        document.write(  TagLI + "<"+"A HREF='http://www.microsoft.com/downloads/search.asp?' TARGET=_blank>Internet Explorer Version 4.01 SP2 or higher<"+"/A>" + TagLIEnd + "\n");

        document.write(  TagLI + "<"+"A HREF='http://home.netscape.com' TARGET=_blank>Netscape Navigator Version 4.08 or higher<"+"/A>" + TagLIEnd + "\n");

        document.write(  TagLI + "<"+"A HREF='http://home.netscape.com' TARGET=_blank>Netscape Version 6.2 or higher<"+"/A>" + TagLIEnd + "\n");

        document.write(TagULEnd + TagP + "\n");



		if (LclBrowserRealError)

	        document.write("We recommend that you download and install a new browser from one of the above links.\n" + TagP);



		if ((DetectSystem_BrowserType == "IE") && (DetectSystem_BrowserVerMajor == 4))

		{

			if (LclBrowserRealError)

			{

				document.write("Note that the Internet Explorer number reported in " + TagB + "Help About" + TagBEnd + " is the Microsoft internal version number, and not the product version number.\n");

				document.write("For example, IE version number 4.72.3612.1713 is actually IE product version 4.01 SP2 (the earliest supported version).\n");

			}



			document.write(TagP + "For a list of Internet Explorer internal version numbers and product version numbers, ");

			document.write("<"+"a href='IeVersions.htm' TARGET=_blank>click here<"+"/a>.\n");

		}



		document.write(TagLIEnd + TagP + "\n");

    }



    // Java (only interesting on Netscape)

	if ( (DetectSystem_BrowserType.substr(0, 2) == "NS") && DetectSystem_JavaProblem)

    {

        document.write(TagLI + "This site requires that Java be enabled in your Netscape browser." + TagP + "\n");

        document.write("To enable Java in Netscape Version 4:\n" + TagP + TagOL + TagLI);

        document.write("Select the " + TagB + "Edit" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

        document.write("Select the " + TagB + "Preferences..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

        document.write("Click on " + TagB + "Advanced" + TagBEnd + ".\n" + TagLIEnd + TagLI);

        document.write("Set it to " + TagB + "Enable Java" + TagBEnd + ".\n" + TagLIEnd + TagULEnd);

        document.write(TagLIEnd + TagP + "\n");

    }



    // ActiveX (only interesting on IE)

    if ((DetectSystem_BrowserType == "IE") && DetectSystem_ActiveXProblem)

    {

        document.write(TagLI + "This site requires that ActiveX controls are enabled in your Internet Explorer browser." + TagP + "\n");

		if (DetectSystem_BrowserVerMajor == 4)

		{

	        document.write("To enable ActiveX controls in Internet Explorer Version 4:\n" + TagP + TagOL + TagLI);

			document.write("Select the " + TagB + "View" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Internet Options..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Security" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Internet Zone" + TagBEnd + ".\n" + TagLIEnd + TagLI);

			document.write("Select " + TagB + "Medium" + TagBEnd + ", " + TagB + "Low" + TagBEnd + ", or " + TagB + "Custom" + TagBEnd + ".\n" + TagLIEnd + TagLI);

			document.write("If using " + TagB + "Custom" + TagBEnd + "...\n" + TagLIEnd + TagOL + TagLI);

			document.write("  Click on the " + TagB + "Settings..." + TagBEnd + " button.\n" + TagLIEnd + TagLI);

			document.write("  For " + TagB + "Script ActiveX controls marked safe for scripting" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagLI);

			document.write("  For " + TagB + "Run ActiveX controls and plugins" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagOLEnd + TagOLEnd);

		}

		else

		{

	        document.write("To enable ActiveX controls in Internet Explorer Version 5:\n" + TagP + TagOL + TagLI);

			document.write("Select the " + TagB + "Tools" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Internet Options..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Security" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

			document.write("Select the " + TagB + "Internet" + TagBEnd + " icon.\n" + TagLIEnd + TagLI);

			document.write("Click on the " + TagB + "Custom Level..." + TagBEnd + " button.\n" + TagLIEnd + TagLI);

			document.write("Find " + TagB + "ActiveX controls and plug-ins" + TagBEnd + ".\n" + TagLIEnd + TagLI);

			document.write("For " + TagB + "Run ActiveX controls and plug-ins" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagLI);

			document.write("For " + TagB + "Script ActiveX controls marked as safe for scripting" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagOLEnd);

		}

        document.write(TagLIEnd + TagP + "\n");

    }



    // Cookies

    if (DetectSystem_CookieProblem)

    {

        document.write(TagLI + "This site requires that cookies be enabled in your browser." + TagP + "\n");

        if (DetectSystem_BrowserType == "IE")

        {

			if (DetectSystem_BrowserVerMajor == 4)

			{

				document.write("To enable cookies in Internet Explorer Version 4:\n" + TagP + TagOL + TagLI);

				document.write("Select the " + TagB + "View" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Internet Options..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Advanced" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

				document.write("Find " + TagB + "Cookies" + TagBEnd + ".\n" + TagLIEnd + TagLI);

				document.write("Select " + TagB + "Always accept cookies" + TagBEnd + ".\n" + TagLIEnd + TagULEnd);

			}

			else

			{	

				if (DetectSystem_BrowserVerMajor == 5)

				{

				document.write("To enable cookies in Internet Explorer Version 5:\n" + TagP + TagOL + TagLI);

				document.write("Select the " + TagB + "Tools" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Internet Options..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Security" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Internet" + TagBEnd + " icon.\n" + TagLIEnd + TagLI);

				document.write("Click on the " + TagB + "Custom Level..." + TagBEnd + " button.\n" + TagLIEnd + TagLI);

				document.write("Find " + TagB + "Cookies" + TagBEnd + ".\n" + TagLIEnd + TagLI);

				document.write("For " + TagB + "Allow cookies that are stored on your computer" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagLI);

				document.write("For " + TagB + "Allow per-session cookies" + TagBEnd + ", set it to " + TagB + "Enable" + TagBEnd + ".\n" + TagLIEnd + TagOLEnd);

				}

				else

				{

				document.write("To enable cookies in Internet Explorer Version 6:\n" + TagP + TagOL + TagLI);

				document.write("Select the " + TagB + "Tools" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Internet Options..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

				document.write("Select the " + TagB + "Privacy" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

				document.write("In the " + TagB + "Web Sites" + TagBEnd + " section, click on the " + TagB + "Edit" + TagBEnd + "button.\n" + TagLIEnd + TagLI);

				document.write("In the " + TagB + "Address of Web Site" + TagBEnd + " field, enter " + TagB + "The site URL" + TagBEnd + ".\n" + TagLIEnd + TagLI);

				document.write("Click on the " + TagB + "Allow" + TagBEnd + " button.\n" + TagLIEnd + TagLI);

				document.write("Click on the " + TagB + "OK" + TagBEnd + " button.\n" + TagLIEnd + TagLI);

				document.write("Click on the " + TagB + "OK" + TagBEnd + " button to close the Internet Options window.\n" + TagLIEnd + TagOLEnd);

		  		}

			}

	}

        else

        {

            document.write("To enable cookies in Netscape Version 4:\n" + TagP + TagOL + TagLI);

            document.write("Select the " + TagB + "Edit" + TagBEnd + " menu.\n" + TagLIEnd + TagLI);

            document.write("Select the " + TagB + "Preferences..." + TagBEnd + " item.\n" + TagLIEnd + TagLI);

            document.write("Click on " + TagB + "Advanced" + TagBEnd + ".\n" + TagLIEnd + TagLI);

            document.write("Set it to " + TagB + "Accept Cookies" + TagBEnd + ".\n" + TagLIEnd + TagOLEnd);

        }

        document.write(TagLIEnd + TagP + "\n");

    }



    // Window size

    if (DetectSystem_ScrProblem)

    {

        document.write(TagLI + "Your screen area size is less than 800 by 600.\n");

        document.write("This may make some portions of the site display area difficult to read.\n");

        document.write("You may want to increase your screen area.\n" + TagP);

        

        document.write("The maximum screen area you can choose depends on your system capabilities.\n");

        document.write("Also, your system may reduce the number of colors available as you increase the screen area.\n");

        document.write("If you are not sure what to select, ask your system administrator.\n" + TagP);



        document.write("To change your screen area:\n" + TagP + TagOL + TagLI);

        document.write("On the " + TagB + "Start" + TagBEnd + " menu, select " + TagB + "Settings" + TagBEnd + " and " + TagB + "Control Panel" + TagBEnd + ".\n" + TagLIEnd + TagLI);

        document.write("In the Control Panel, double-click on " + TagB + "Display" + TagBEnd + ".\n" + TagLIEnd + TagLI);

        document.write("In Display Properties, select the " + TagB + "Settings" + TagBEnd + " tab.\n" + TagLIEnd + TagLI);

        document.write("Change your screen area to 800 by 600 or larger, and click " + TagB + "OK" + TagBEnd + ".\n" + TagLIEnd + TagOLEnd);

        

        document.write(TagLIEnd + TagP + "\n");

    }

}

}

/////////--END Display system capabilities ///////////////////////



