tns=navigator.appName==("Netscape");
/* Modified by Sourabh Sharma for LHS menu changes (CR#0120621) on 2/26/2009: Start */
ts49=(tns &&(navigator.appVersion.indexOf(" 2.")!=-1)); // Given space before 2
ts48=(tns &&(navigator.appVersion.indexOf(" 3.")!=-1)); // Given space before 3
/* End: Modified by Sourabh Sharma for LHS menu changes on 2/26/2009 */
if((!ts49)&&(!ts48)&&(!s54)&&(!s50)&&(!s46)&&(!ie5up_run_as_applet)&&(!s54)){
	if (ie5) {
		tdiv="<div id=tree_space style='position:relative;background-color:"+background_color+";width:"+menu_width+";height:"+menu_height+";visibility:visible;";
		if (!window.main_clipbg_after_items) {
			if(eval("window.main_background_image"))tdiv+=" background-image:url("+main_background_image+");";
		}
		tdiv+="'></div>";document.write(tdiv);
	} else if (ns4) {
		document.write("NS4");
		tdiv="<ilayer id=tree_space z-index=0 bgcolor='"+background_color+"' width="+menu_width+" height="+menu_height+" visibility='show'";
		if (!window.main_clipbg_after_items) {
			if(eval("window.main_background_image"))tdiv+=" background='"+main_background_image+"'";
		}
		tdiv+="></ilayer>";document.write(tdiv);captureEvents(Event.ONLOAD);
	}
	document.close();

	/* Modified by Sourabh Sharma for LHS menu changes (CR#0120621) on 3/12/2009: 
	 * Modified to resolve the issue - LHS menu is not being populated for Distributor Network link
	 * Start: */
	if ( document.addEventListener && (navigator.userAgent.toLowerCase().indexOf("firefox")>-1) ) {
		document.addEventListener("DOMContentLoaded", s59, false);
	} else if ((navigator.userAgent.toLowerCase().indexOf("safari")>-1)) {
	  var timer = setInterval(
		function(){
			//alert(document.readyState);
			if (/loaded|complete/.test(document.readyState)) {
				clearInterval(timer)
			    s59() // call target function
			}
		}, 10)
	} else {
		window.onload=s59;
	}
	/* End: Modified by Sourabh Sharma for LHS menu changes on 3/12/2009 */
} else {
	if (!s46)document.write("<script language=\"JavaScript\" src=\""+codebase+"stm_degradetoapplet.js\"></script>");
}
