var browserVer=0;

var scriptflag=true;


// All just to check whether or not to scriptflag
if (navigator.appName.indexOf("Netscape")!=-1)

{

	temp=navigator.userAgent.split("Netscape6/");

	browserVer=parseFloat(temp[1]);

	

	if (!(document.getElementById&&!document.all) || (browserVer <= 6.02))	/* Executes only if the browser is below ns6.1 */

			scriptflag=false;

}



if (window.opera) {

       if ((i = navigator.userAgent.indexOf("Opera")) >= 0) {
          ver = parseFloat(navigator.userAgent.substr(i + "Opera".length));
          scriptflag=false;
          if (ver == 7.52 || ver >= 7.54)  scriptflag=true; 
       } 

} else {

	/* Executes only if the opera browser is not detected */

	/* This check is required as some opera browsers are detected as ie */

	if (navigator.appVersion.indexOf("MSIE")!=-1)

	{

		temp=navigator.appVersion.split("MSIE");

		browserVer=parseFloat(temp[1]);

		if (browserVer < 5.5) { 
                  if (!window.attachEvent) {
		    i = navigator.userAgent.indexOf("MSIE");
		    ver = parseFloat(navigator.userAgent.substr(i + "MSIE".length));
 		    if( ver >= 5.21) scriptflag=true; 
		    else
			scriptflag = false;
                  } else {
		    scriptflag=false;
                  }
                }
	} else if (navigator.userAgent.indexOf("Safari") != -1) scriptflag=false; 
}

// scriptflag checked

function alternate_menu(menu_id,css_class) {//for non supported browsers

eval("cdd_menu"+menu_id+"()");

var strHtml="<table border='0' cellpadding='0' cellspacing='0'"

if (menu_id ==0){strHtml +="><tr valign='middle' height='22'>";var p=0;var strTmp;

while((strTmp=eval("this.item"+p))!= null){if(typeof(strTmp)=="undefined")break;

strHtml+="<td ><A class='item"+(p?"":"highlight")+"'HREF='"+eval("this.url"+p)+"'>"+strTmp+"</A></td><td class=" + css_class + "><img src='/include/shared/nav/images/clear.gif'></td>";

p++;}}else{strHtml+="width='100%' class='viewaccountsbg'><tr><td></td><td class='menugif' border='0'><img src='/include/images/menu_off.gif'></td><td><A class='"+css_class+"' HREF='"+eval("this.url0")+"'> "+eval("this.item0")+"</A></td>";}

document.write(strHtml +"</tr></table>");}



/* Copyright & Base Path Settings */

cdd__notice='';

cdd__codebase='/js/';//NAV_LOCATION+'/shared/nav/';	/* location of script files */

cdd__codebaseimages='/include/images/';	/* location of script files */

cdd__database='/include/';//NAV_LOCATION+'/shared/nav/';	/* location of data - settings files */

						/* global settings (applies to all menus) */

cdd__activate_onclick = false;			/* Choose between click or mouse over menu functionality */

cdd__showhide_delay = 0;			/* Defined in milliseconds */

cdd__url_target = "_self";			/* Default target - use: _self, _top, _blank, _parent, (frame name) */

cdd__url_features = "";				/* Sample: "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no" */

cdd__display_urls_in_status_bar = true;

cdd__default_statusbar_text = "";

/* unlock statements for Opencube software */

um0http = 1;

/* Web Menu Code (Warning: Do Not Alter!) */

var b_type="";

if (window.showHelp){b_type = "ie"; if (!window.attachEvent) b_type += "mac";}
if (document.createElementNS) b_type = "dom";
if (window.opera) b_type = "opera";
qmap1 = "\<\script language=\"JavaScript1.2\" src=\"";
qmap2 = ".js\"\>\<\/script\>";

if (scriptflag){document.write(qmap1+cdd__codebase+"cbrowser_"+b_type+qmap2);document.close();}

