////////////////////////////////////////////////
//  DMB DHTML ENGINE 1.0.305                  //
//  (c)xFX JumpStart                          //
//  http://software.xfx.net                   //
//                                            //
//  PSN:                                      //
//                                            //
//  GENERATED: 3/24/2004 - 3:56:54 PM         //
////////////////////////////////////////////////


	var nStyle = new Array;
	var hStyle = new Array;
	var nLayer = new Array;
	var hLayer = new Array;
	var nTCode = new Array;

	var AnimStep = 0;
	var AnimHnd = 0;
	var HTHnd = new Array;
	var DoFormsTweak = true;
	var MenusReady = false;
	var SelSndId = 0;

	var mFrame;
	var cFrame;

	var OpenMenus = new Array;
	var nOM = 0;

	var mX;
	var mY;
	var xLOff = 0;
	var xROff = 0;

	var HideSpeed = 300;
	var TimerHideDelay = 2000;
	var TimerHideHnd = 0;
	var IsOverHS = false;
	var cntxMenu = '';
	var IsContext = false;

var BV=parseInt(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
var BN=window.navigator.appName;
var IsWin=(navigator.userAgent.indexOf('Windows')!=-1)?true:false;
var IsMac=(navigator.userAgent.indexOf('Mac')!=-1)?true:false;
var OP=(navigator.userAgent.indexOf('Opera')!=-1&&BV>=4)?true:false;
var NS=(BN.indexOf('Netscape')!=-1&&(BV==4)&&!OP)?true:false;
var SM=(BN.indexOf('Netscape')!=-1&&(BV>=5)||OP)?true:false;
var IE=(BN.indexOf('Explorer')!=-1&&(BV>=4)||SM)?true:false;


	if((!IsWin&&IE)||SM) {
		frames.self = window;
		frames.top = top;
	}

	if(IE) {
		xLOff = 1; xROff = -1;
		if(SM||OP) { xLOff = -3; xROff = 3; }
	}
	cFrame = eval(frames['self']);

	var fx = 0;





	hStyle[0]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[1]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[2]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[3]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[4]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[5]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[6]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[7]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[8]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[9]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[10]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[11]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[12]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[13]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[14]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[15]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[16]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	hStyle[17]="border: 1px; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #4F4F4F; background-color: #EFEFEF; cursor: hand;";
	nTCode[1]="cFrame.execURL('comprehensive_report.htm', 'frames[self]');";
	nLayer[1]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Comprehensive_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Comprehensive Report</font></ilayer>|";
	hLayer[1]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Comprehensive_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Comprehensive Report</font></ilayer>|";
	nTCode[2]="cFrame.execURL('credit_report.htm', 'frames[self]');";
	nLayer[2]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Credit_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Credit Report</font></ilayer>|";
	hLayer[2]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Credit_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Credit Report</font></ilayer>|";
	nTCode[3]="cFrame.execURL('create_profile.htm', 'frames[self]');";
	nLayer[3]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Create_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Create Profile</font></ilayer>|";
	hLayer[3]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Create_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Create Profile</font></ilayer>|";
	nTCode[4]="cFrame.execURL('business_credit.htm', 'frames[self]');";
	nLayer[4]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Business_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Business Credit</font></ilayer>|";
	hLayer[4]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Business_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Business Credit</font></ilayer>|";
	nTCode[5]="cFrame.execURL('marketing_services.htm', 'frames[self]');";
	nLayer[5]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Marketing_ServicesLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Marketing Services</font></ilayer>|";
	hLayer[5]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Marketing_ServicesLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Marketing Services</font></ilayer>|";
	nTCode[6]="cFrame.execURL('industry_research.htm', 'frames[self]');";
	nLayer[6]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Industry_ResearchLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Industry Research</font></ilayer>|";
	hLayer[6]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Industry_ResearchLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Industry Research</font></ilayer>|";
	nTCode[7]="cFrame.execURL('risk_management_solutions.htm', 'frames[self]');";
	nLayer[7]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Risk_Management_SolutionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Risk Management Solutions</font></ilayer>|";
	hLayer[7]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Risk_Management_SolutionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Risk Management Solutions</font></ilayer>|";
	nTCode[8]="cFrame.execURL('update_scb_report.htm', 'frames[self]');";
	nLayer[8]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Update_SCB_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update SCB Report</font></ilayer>|";
	hLayer[8]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Update_SCB_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update SCB Report</font></ilayer>|";
	nTCode[9]="cFrame.execURL('product_review.htm', 'frames[self]');";
	nLayer[9]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Product_ReviewLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Product Review</font></ilayer>|";
	hLayer[9]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Product_ReviewLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Product Review</font></ilayer>|";
	nTCode[10]="cFrame.execURL('personal_credit.htm', 'frames[self]');";
	nLayer[10]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Personal_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Personal Credit</font></ilayer>|";
	hLayer[10]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Personal_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Personal Credit</font></ilayer>|";
	nTCode[11]="cFrame.execURL('sales_marketing.htm', 'frames[self]');";
	nLayer[11]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Sales_MarketingLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Sales & Marketing</font></ilayer>|";
	hLayer[11]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Sales_MarketingLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Sales & Marketing</font></ilayer>|";
	nTCode[12]="cFrame.execURL('what_is_scb.htm', 'frames[self]');";
	nLayer[12]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=What_is_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>What is SCB </font></ilayer>|";
	hLayer[12]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=What_is_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>What is SCB </font></ilayer>|";
	nTCode[13]="cFrame.execURL('request_scb.htm', 'frames[self]');";
	nLayer[13]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Request_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Request SCB </font></ilayer>|";
	hLayer[13]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Request_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Request SCB </font></ilayer>|";
	nTCode[14]="cFrame.execURL('update_your_profile.asp', 'frames[self]');";
	nLayer[14]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Update_your_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update your Profile</font></ilayer>|";
	hLayer[14]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Update_your_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update your Profile</font></ilayer>|";
	nTCode[15]="cFrame.execURL('scb_today.htm', 'frames[self]');";
	nLayer[15]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=SCB_TodayLImg src=\"menu/arow.gif\" width=3 height=9 border=0>SCB Today</font></ilayer>|";
	hLayer[15]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=SCB_TodayLImg src=\"menu/arow.gif\" width=3 height=9 border=0>SCB Today</font></ilayer>|";
	nTCode[16]="cFrame.execURL('mission.htm', 'frames[self]');";
	nLayer[16]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=MissionLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Mission</font></ilayer>|";
	hLayer[16]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=MissionLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Mission</font></ilayer>|";
	nTCode[17]="cFrame.execURL('terms_and_conditions.htm', 'frames[self]');";
	nLayer[17]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=Terms_and_ConditionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Terms and Conditions</font></ilayer>|";
	hLayer[17]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=Terms_and_ConditionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Terms and Conditions</font></ilayer>|";
	nTCode[18]="cFrame.execURL('', 'frames[self]');";
	nLayer[18]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#3F3F3F><img hspace=4 align=left name=EmptyLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Empty</font></ilayer>|";
	hLayer[18]="<ilayer left=8 top=4><p align=left><font face=Verdana point-size=7 color=#4F4F4F><img hspace=4 align=left name=EmptyLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Empty</font></ilayer>|";
	var Comprehensive_ReportLImgOff = new Image;
	var Comprehensive_ReportLImgOn = new Image;
	Comprehensive_ReportLImgOff.src = 'menu/arow.gif';
	Comprehensive_ReportLImgOn.src = 'menu/arow.gif';
	var Credit_ReportLImgOff = new Image;
	var Credit_ReportLImgOn = new Image;
	Credit_ReportLImgOff.src = 'menu/arow.gif';
	Credit_ReportLImgOn.src = 'menu/arow.gif';
	var Create_ProfileLImgOff = new Image;
	var Create_ProfileLImgOn = new Image;
	Create_ProfileLImgOff.src = 'menu/arow.gif';
	Create_ProfileLImgOn.src = 'menu/arow.gif';
	var Business_CreditLImgOff = new Image;
	var Business_CreditLImgOn = new Image;
	Business_CreditLImgOff.src = 'menu/arow.gif';
	Business_CreditLImgOn.src = 'menu/arow.gif';
	var Marketing_ServicesLImgOff = new Image;
	var Marketing_ServicesLImgOn = new Image;
	Marketing_ServicesLImgOff.src = 'menu/arow.gif';
	Marketing_ServicesLImgOn.src = 'menu/arow.gif';
	var Industry_ResearchLImgOff = new Image;
	var Industry_ResearchLImgOn = new Image;
	Industry_ResearchLImgOff.src = 'menu/arow.gif';
	Industry_ResearchLImgOn.src = 'menu/arow.gif';
	var Risk_Management_SolutionsLImgOff = new Image;
	var Risk_Management_SolutionsLImgOn = new Image;
	Risk_Management_SolutionsLImgOff.src = 'menu/arow.gif';
	Risk_Management_SolutionsLImgOn.src = 'menu/arow.gif';
	var Update_SCB_ReportLImgOff = new Image;
	var Update_SCB_ReportLImgOn = new Image;
	Update_SCB_ReportLImgOff.src = 'menu/arow.gif';
	Update_SCB_ReportLImgOn.src = 'menu/arow.gif';
	var Product_ReviewLImgOff = new Image;
	var Product_ReviewLImgOn = new Image;
	Product_ReviewLImgOff.src = 'menu/arow.gif';
	Product_ReviewLImgOn.src = 'menu/arow.gif';
	var Personal_CreditLImgOff = new Image;
	var Personal_CreditLImgOn = new Image;
	Personal_CreditLImgOff.src = 'menu/arow.gif';
	Personal_CreditLImgOn.src = 'menu/arow.gif';
	var Sales_MarketingLImgOff = new Image;
	var Sales_MarketingLImgOn = new Image;
	Sales_MarketingLImgOff.src = 'menu/arow.gif';
	Sales_MarketingLImgOn.src = 'menu/arow.gif';
	var What_is_SCBLImgOff = new Image;
	var What_is_SCBLImgOn = new Image;
	What_is_SCBLImgOff.src = 'menu/arow.gif';
	What_is_SCBLImgOn.src = 'menu/arow.gif';
	var Request_SCBLImgOff = new Image;
	var Request_SCBLImgOn = new Image;
	Request_SCBLImgOff.src = 'menu/arow.gif';
	Request_SCBLImgOn.src = 'menu/arow.gif';
	var Update_your_ProfileLImgOff = new Image;
	var Update_your_ProfileLImgOn = new Image;
	Update_your_ProfileLImgOff.src = 'menu/arow.gif';
	Update_your_ProfileLImgOn.src = 'menu/arow.gif';
	var SCB_TodayLImgOff = new Image;
	var SCB_TodayLImgOn = new Image;
	SCB_TodayLImgOff.src = 'menu/arow.gif';
	SCB_TodayLImgOn.src = 'menu/arow.gif';
	var MissionLImgOff = new Image;
	var MissionLImgOn = new Image;
	MissionLImgOff.src = 'menu/arow.gif';
	MissionLImgOn.src = 'menu/arow.gif';
	var Terms_and_ConditionsLImgOff = new Image;
	var Terms_and_ConditionsLImgOn = new Image;
	Terms_and_ConditionsLImgOff.src = 'menu/arow.gif';
	Terms_and_ConditionsLImgOn.src = 'menu/arow.gif';
	var EmptyLImgOff = new Image;
	var EmptyLImgOn = new Image;
	EmptyLImgOff.src = 'menu/arow.gif';
	EmptyLImgOn.src = 'menu/arow.gif';


var tbUseToolbar = false;
var lmcHS = null;


	function GetCurCmd(e) {
		//IE
		//This function will return the current command under the mouse pointer.
		//It will return null if the mouse is not over any command.
		//------------------------------
		//Version 1.5
		//
		if(SM)
			var cc = e;
		else {
			var cc = mFrame.window.event;
			if(!cc)
				cc = cFrame.window.event;
			cc = cc.srcElement;
		}
		while(cc.id=="") {
			cc = cc.parentElement;
			if(cc==null)
				break;
		}
		return cc;
	}

	function HoverSel(mode, imgLName, imgRName, e) {
		//IE
		//This is the function called every time the mouse pointer is moved over a command.
		//------------------------------
		//mode: 0 if the mouse is moving over the command and 1 if is moving away.
		//imgLName: Name of the left image object, if any.
		//imgRName: Name of the right image object, if any.
		//------------------------------
		//Version 13.0
		//
		var imgL = new Image;
		var imgLRsc = new Image;
		var imgR = new Image;
		var imgRRsc = new Image;
		var nStyle;
		var mc;
		
		if(mode==0 && OpenMenus[nOM].SelCommand!=null)
			HoverSel(1);
		
		if(imgLName!="_")
			var imgL = eval("mFrame.document.images['"+imgLName+"']");
		if(imgRName!="_")
			var imgR = eval("mFrame.document.images['"+imgRName+"']");
		
		if(mode==0) {
			mc = GetCurCmd(e);
			if(nOM>1)
				if(mc==OpenMenus[nOM-1].SelCommand)
					return false;
			if(OpenMenus[nOM].SelCommand || nOM>1)
				while(!InMenu())
					Hide();
			if(imgLName!='_') imgLRsc = eval(imgLName+"On");
			if(imgRName!='_') imgRRsc = eval(imgRName+"On");
			mc.hasBorder = OP?true:(mc.style.borderLeft.split(" ").length==3 || OpenMenus[nOM].frmt.backgroundImage=="");
			OpenMenus[nOM].SelCommand = mc;
			OpenMenus[nOM].SelCommandPar = [imgLName,imgRName,SM?mc.getAttribute("style"):mc.style.cssText];
			if(SM)
				mc.setAttribute("style", GetCStyle(mc.style) + hStyle[mc.id]);
			else
				mc.style.cssText = GetCStyle(mc.style) + hStyle[mc.id];
			if(!mc.hasBorder) {
				if(BV>4)
					s = mc.getElementsByTagName("SPAN")[0];
				else
					s = mc.document.all.tags("SPAN")[0];
				mc.s = s;
				mc.stop = s.style.top;
				mc.sleft = s.style.left;
				s.style.left = CBparseInt(s.style.left) - GetBorderWidth(mc.style.borderLeft);
				s.style.top = CBparseInt(s.style.top) - GetBorderWidth(mc.style.borderTop);
				if(SM) {
					mc.cwidth = mc.style.width;
					mc.cheight = mc.style.height;
					mc.style.width = CBparseInt(mc.style.width) - 2*GetBorderWidth(mc.style.borderLeft);
					mc.style.height = CBparseInt(mc.style.height) - 2*GetBorderWidth(mc.style.borderTop);
				}
			}
			if(SelSndId) PlaySound();
		} else {
			mc = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;
			imgLName = (mode==1)?OpenMenus[nOM].SelCommandPar[0]:OpenMenus[nOM].OpenerPar[0];
			imgRName = (mode==1)?OpenMenus[nOM].SelCommandPar[1]:OpenMenus[nOM].OpenerPar[1];
			nStyle = (mode==1)?OpenMenus[nOM].SelCommandPar[2]:OpenMenus[nOM].OpenerPar[2];
			mc.style.background = "";
			if(SM)
				mc.setAttribute("style", nStyle);
			else
				mc.style.cssText = nStyle;
			if(!mc.hasBorder) {
				mc.s.style.top = mc.stop;
				mc.s.style.left = mc.sleft;
				if(SM) {
					mc.style.width = mc.cwidth;
					mc.style.height = mc.cheight;
				}
			}
			if(imgLName!='_') imgLRsc = eval(imgLName+"Off");
			if(imgRName!='_') imgRRsc = eval(imgRName+"Off");
			window.status = "";
			OpenMenus[nOM].SelCommand = null;			
		}
		
		if(imgLName!='_') {
			imgL = eval("mFrame.document.images."+imgLName);
			imgL.src = imgLRsc.src;
		}
		if(imgRName!='_') {
			imgR = eval("mFrame.document.images."+imgRName);
			imgR.src = imgRRsc.src;
		}
		
		return true;
	}
	
	function NSHoverSel(mode, mc, bcolor) {
		//NS
		//This is the function called every time the mouse pointer is moved over or away from a command.
		//------------------------------
		//mode: 0 if the mouse is moving over the command and 1 if is moving away.
		//mc: Name of the layer that corresponds to the selected command.
		//n: Unique ID that identifies this command. Used to retrieve the data from the nLayer or hLayer array.
		//bcolor: Background color of the command. Ignored if the group uses a background image.
		//w: Width of the command's layer.
		//h: Height of the command's layer.
		//------------------------------
		//Version 11.1
		//
		var n;
		var LayerHTML;
		
		window.clearTimeout(CBparseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		if(!nOM) return false;
		
		if(mode==0 && OpenMenus[nOM].SelCommand!=null)
			NSHoverSel(1);
		
		if(mode==0) {
			mc = mc.parentLayer.layers[mc.name.substr(0, mc.name.indexOf("EH"))];
			n = CBparseInt(mc.name.substr(2));
			if(nOM>1)
				if(mc==OpenMenus[nOM-1].SelCommand)
					return false;
			while(!InMenu()&&nOM>1)
				Hide();
			LayerHTML = hLayer[n];
			OpenMenus[nOM].SelCommand = mc;
			OpenMenus[nOM].SelCommandPar = mc.bgColor;
			mc.bgColor = (LayerHTML.split("|")[1]!="")?null:bcolor;
			if(SelSndId) PlaySound();
		} else {
			mc = (mode==1)?OpenMenus[nOM].SelCommand:OpenMenus[nOM].Opener;
			bcolor = (mode==1)?OpenMenus[nOM].SelCommandPar:OpenMenus[nOM].OpenerPar;
			n = CBparseInt(mc.name.substr(2));
			LayerHTML = nLayer[n];
			mc.bgColor = (mc.parentLayer.background.src!="" || LayerHTML.split("|")[1]!="")?null:bcolor;
			window.status = "";
			OpenMenus[nOM].SelCommand = null;
		}
		mc.clip.width = mc.parentLayer.clip.width - 2*mc.left;
		mc.document.open();
		mc.document.write(LayerHTML.split("|")[0]);
		mc.document.close();
		mc.backgound = LayerHTML.split("|")[1];

		return true;
	}

	function Hide() {
		//IE,NS
		//This function hides the last opened group and it keeps hiding all the groups until
		//no more groups are opened or the mouse is over one of them.
		//Also takes care of reseting any highlighted commands.
		//------------------------------
		//Version 4.0
		//
		window.clearTimeout(HTHnd[nOM]);HTHnd[nOM] = 0;
		window.clearTimeout(AnimHnd);AnimHnd = 0;
		window.clearTimeout(TimerHideHnd);

		if(OpenMenus[nOM].SelCommand!=null) {
			if(IE) HoverSel(1);
			if(NS) NSHoverSel(1);
		}
		if(OpenMenus[nOM].Opener!=null) {
			if(IE) HoverSel(3);
			if(NS) NSHoverSel(3);
		}

		OpenMenus[nOM].visibility = "hidden";
		nOM--;

		if(nOM>0)
			if(!InMenu())
				HTHnd[nOM] = window.setTimeout("Hide()", HideSpeed/4);

		if(nOM==0) {
			if(tbUseToolbar && lmcHS) {
				if(IE) hsHoverSel(1);
				if(NS) hsNSHoverSel(1);
			}
			FormsTweak("visible");
		}
	}

	function ShowMenu(mName, x, y, isCascading, hsImgName, algn) {
		//IE,NS
		//This is the main function to show the menus when a hotspot is triggered or a cascading command is activated.
		//------------------------------
		//mName: Name of the <div> or <layer> to be shown.
		//x: Left position of the menu.
		//y: Top position of the menu.
		//isCascading: True if the menu has been triggered from a command, and not from a hotspot.
		//------------------------------
		//Version 14.5
		//
		window.clearTimeout(CBparseInt(HTHnd[nOM]));HTHnd[nOM] = 0;
		x = CBparseInt(x);y = CBparseInt(y);
		
		if(IE)
			if(BV>4)
				var Menu = mFrame.document.getElementById(mName);
			else
				var Menu = mFrame.document.all[mName];
		if(NS)
			var Menu = mFrame.document.layers[mName];
		if(!Menu)
			return false;		
		if(IE) {
			Menu = Menu.style;
			if(BV>4)
				Menu.frmt = mFrame.document.getElementById(mName+"frmt").style;
			else
				Menu.frmt = mFrame.document.all[mName+"frmt"].style;
		}
		if(Menu==OpenMenus[nOM])
			return false;
			
		if(AnimHnd && nOM>0) {
			AnimStep=100;
			Animate();
		}
			
		if(!isCascading) {
			var oldlmcHS = lmcHS;
			lmcHS = null;
			HideAll();
			lmcHS = oldlmcHS;
		}
		
		Menu.Opener = nOM>0?OpenMenus[nOM].SelCommand:null;
		Menu.OpenerPar = nOM>0?OpenMenus[nOM].SelCommandPar:null;
		Menu.SelCommand = null;
		if(OP) {
			Menu.width = Menu.pixelWidth;
			Menu.height = Menu.pixelHeight;
		}
		
		if(!isCascading) {
			if(hsImgName) {
				var imgObj = cFrame.document.images[hsImgName.split("|")[0]];
				if(imgObj) {
					var tbMode = hsImgName.split("|")[1];
					if(tbMode&2) x = AutoPos(Menu, imgObj, algn)[0];
					if(tbMode&1) y = AutoPos(Menu, imgObj, algn)[1];
				}
			}

		}
	
		var pW = GetWidthHeight()[0] + GetLeftTop()[0];
		var pH = GetWidthHeight()[1] + GetLeftTop()[1];
		
		if(IE) {
			if(isCascading) {
				x = CBparseInt(OpenMenus[nOM].left) + CBparseInt(OpenMenus[nOM].width) - 6;
				y = CBparseInt(OpenMenus[nOM].SelCommand.style.top) + CBparseInt(OpenMenus[nOM].top) - y;
				Menu.left = (x+CBparseInt(Menu.width)>pW)?CBparseInt(OpenMenus[nOM].left) - CBparseInt(Menu.width) + 6:x;
				Menu.top =  (y+CBparseInt(Menu.height)>pH)?pH - CBparseInt(Menu.height):y;
			} else {
				Menu.left = (x+CBparseInt(Menu.width)>pW)?pW - CBparseInt(Menu.width):x;
				Menu.top =  (y+CBparseInt(Menu.height)>pH)?pH - CBparseInt(Menu.height):y;
			}
			if(IsWin&&!SM)
				Menu.clip = "rect(0 0 0 0)";
		}
		if(NS) {
			if(isCascading) {
				x = OpenMenus[nOM].left + OpenMenus[nOM].clip.width - 6;
				y = OpenMenus[nOM].top + OpenMenus[nOM].SelCommand.top;
				x = (x+Menu.w>pW)?OpenMenus[nOM].left - Menu.w + 6:x;
				y = (y+Menu.h>pH)?pH - Menu.h:y;
			} else {
				x = (x+Menu.w>pW)?pW - Menu.w:x;
				y = (y+Menu.h>pH)?pH - Menu.h:y;
			}
			Menu.clip.width = 0;
			Menu.clip.height = 0;
			Menu.moveToAbsolute(x,y);
		}
		if(isCascading)
			Menu.zIndex = CBparseInt(OpenMenus[nOM].zIndex) + 1;
		OpenMenus[++nOM] = Menu;
		if(NS) FillCommands();
		if(SM) FixCommands(mName);
		Menu.visibility = "visible";
		HTHnd[nOM] = 0;
		if((IE&&IsWin&&!SM)||NS)
			AnimHnd = window.setTimeout("Animate()", 10);
		FormsTweak("hidden");
		
		if(!isCascading&&!IsContext) {
			IsOverHS = true;
			IsContext = false;
		}
		window.clearTimeout(TimerHideHnd);
		TimerHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);
		
		if(SelSndId) PlaySound();
	
		return true;
	}
	
	function FixCommands(mName) {
		//SM
		//This function is used to fix the way the Gecko engine calculates
		//the borders and the way they affect the size of divs
		//------------------------------
		//Version 1.4
		//
		var m = mFrame.document.getElementById(mName);
		if(!m.Fixed) {
			var sd = m.getElementsByTagName("DIV");
			var b = GetBorderWidth(sd[0].style.borderLeft);
			sd[0].style.width = CBparseInt(sd[0].style.width) - b - 1;
			sd[0].style.height = CBparseInt(sd[0].style.height) - b - 1;
			for(var i=1; i<sd.length; i++) {
				if(sd[i].style.borderLeft.indexOf("none")==-1) {
					sd[i].style.width = CBparseInt(sd[i].style.width) - 2*b + 1;
					sd[i].style.height = CBparseInt(sd[i].style.height) - 2*b + 1;
				} else {
					sd[i].style.width = CBparseInt(sd[i].style.width) - GetBorderWidth(sd[i].style.borderLeft) - 2*b + 1;
					sd[i].style.height = CBparseInt(sd[i].style.height) - 2*b + 1;
				}
				var s = sd[i].getElementsByTagName("SPAN");
				if(s.length) {
					s[0].style.width = CBparseInt(sd[i].style.width) - 2*GetBorderWidth(sd[i].style.borderLeft);
					s[0].style.height = CBparseInt(sd[i].style.height) - 2*GetBorderWidth(sd[i].style.borderTop);
				} else
					sd[i].style.height = 0;
			}
		}
		m.Fixed = true;
	}
	
	function FillCommands() {
		//NS
		//This function is used to avoid having the same declaration for the normal
		//state of the commands
		//------------------------------
		//Version 1.0
		//
		var LayerHTML;
		var n;
		var m = OpenMenus[nOM].layers[0];
		if(!m.Filled) {
			for(var sl=0; sl<m.layers.length-1; sl++) {
				var slo = m.layers[sl];
				if(slo.name.indexOf("EH")==-1 && slo.name.indexOf("MC")==0) {
					slo.clip.width = slo.parentLayer.clip.width - 2*slo.left;
					n = CBparseInt(slo.name.substr(2));
					LayerHTML = nLayer[n];
					slo.document.open();
					slo.document.write(LayerHTML.split("|")[0]);
					slo.document.close();
					m.layers["MC"+n].background = LayerHTML.split("|")[1];
				}
			}
		}
		m.Filled = true;
	}

	function Animate() {
		//IE,NS
		//This function is called by ShowMenu every time a new group must be displayed and produces the predefined unfolding effect.
		//Currently is disabled for Navigator, because of some weird bugs we found with the clip property of the layers.
		//------------------------------
		//Version 1.9
		//
		var r = '';
		var nw = nh = 0;
		switch(fx) {
			case 1:
				if(IE) r = "0 " + AnimStep + "% " + AnimStep + "% 0";
				if(NS) nw = AnimStep; nh = AnimStep;
				break;
			case 2:
				if(IE) r = "0 100% " + AnimStep + "% 0";
				if(NS) nw = 100; nh = AnimStep;
				break;
			case 3:
				if(IE) r = "0 " + AnimStep + "% 100% 0";
				if(NS) nw = AnimStep; nh = 100;
				break;
			case 0:
				if(IE) r = "0 100% 100% 0";
				if(NS) nw = 100; nh = 100;
				break;
		}
		if(OpenMenus[nOM]) {
			with(OpenMenus[nOM]) {
				if(IE)
					clip =  "rect(" + r + ")";
				if(NS) {
					clip.width = w*(nw/100);
					clip.height = h*(nh/100);
				}
			}
			AnimStep += 20;
			if(AnimStep<=100)
				AnimHnd = window.setTimeout("Animate()",25);
			else {
				window.clearTimeout(AnimHnd);
				AnimStep = 0;
				AnimHnd = 0;
			}
		}
	}
	
	function InMenu() {
		//IE,NS
		//This function returns true if the mouse pointer is over the last opened menu.
		//------------------------------
		//Version 1.7
		//
		var m = OpenMenus[nOM];
		if(!m)
			return false;
		if(IE&&!SM)
			SetPointerPos();			
		var l = CBparseInt(m.left) + xLOff;
		var r = l+(IE?CBparseInt(m.width):m.clip.width) + xROff;
		var t = CBparseInt(m.top);
		var b = t+(IE?CBparseInt(m.height):m.clip.height);
		return ((mX>=l && mX<=r) && (mY>=t && mY<=b));
	}

	function SetPointerPos(e) {
		//IE,NS
		//This function sets the mX and mY variables with the current position of the mouse pointer.
		//------------------------------
		//e: Only used under Navigator, corresponds to the Event object.
		//------------------------------
		//Version 1.6
		//
		if(IE) {
			if(!SM) {
				if(mFrame!=cFrame||event==null)
					if(mFrame.window.event==null)
						return;
					else
						e = mFrame.window.event;
				else
					e = event;
			}
			mX = e.clientX + GetLeftTop()[0];
			mY = e.clientY + GetLeftTop()[1];
		}
		if(NS) {
			mX = e.pageX;
			mY = e.pageY;
		}
	}
	
	function HideMenus(e) {
		//IE,NS
		//This function checks if the mouse pointer is on a valid position and if the current menu should be kept visible.
		//The function is called every time the mouse pointer is moved over the document area.
		//------------------------------
		//e: Only used under Navigator, corresponds to the Event object.
		//------------------------------
		//Version 25.1
		//
		if(nOM>0) {
			SetPointerPos(e);
			if(OpenMenus[nOM].SelCommand!=null)
				if(!InMenu()&&!HTHnd[nOM])
					HTHnd[nOM] = window.setTimeout("if(nOM>0)if(!InMenu())Hide()", HideSpeed);
		}
	}
	
	function FormsTweak(state) {
		//IE
		//This is an undocumented function, which can be used to hide every listbox (or combo) element on a page.
		//This can be useful if the menus will be displayed over an area where is a combo box, which is an element that cannot be placed behind the menus and it will always appear over the menus resulting in a very undesirable effect.
		//------------------------------
		//Version 2.0
		//
		if(DoFormsTweak && IE)
			for(var f = 0; f <= (mFrame.document.forms.length - 1); f++)
				for(var e = 0; e <= (mFrame.document.forms[f].elements.length - 1); e++)
					if(mFrame.document.forms[f].elements[e].type=="select-one")
						mFrame.document.forms[f].elements[e].style.visibility = state;
	}

	function execURL(url, tframe) {
		//IE,NS
		//This function is called every time a command is triggered to jump to another page or execute some javascript code.
		//------------------------------
		//url: Encrypted URL that must be opened or executed.
		//tframe: If the url is a document location, tframe is the target frame where this document will be opened.
		//------------------------------
		//Version 1.1
		//
		HideAll();
		window.setTimeout("execURL2('" + url + "', '" + tframe + "')", 100);
	}

	function execURL2(url, tframe) {
		//IE,NS
		//This function is called every time a command is triggered to jump to another page or execute some javascript code.
		//------------------------------
		//url: Encrypted URL that must be opened or executed.
		//tframe: If the url is a document location, tframe is the target frame where this document will be opened.
		//------------------------------
		//Version 1.1
		//
		var fObj = eval(rStr(tframe));
		url = rStr(url);
		url.indexOf("javascript")!=url.indexOf("vbscript")?eval(url):fObj.location.href = url;
	}

	function rStr(s) {
		//IE,NS
		//This function is used to decrypt the URL parameter from the triggered command.
		//------------------------------
		//Version 1.1
		//
		s = xrep(s, "\x1E", "'");
		s = xrep(s, "\x1D", "\x22");
		s = xrep(s, "\x1C", ",");
		return s;
	}

	function xrep(s, f, n) {
		//IE,NS
		//This function looks for any occurrence of the f string and replaces it with the n string.
		//------------------------------
		//Version 1.0
		//
		var tmp = s.split(f);
		return tmp.join(n);
	}

	function hNSCClick(e) {
		//NS
		//This function executes the selected command's trigger code.
		//------------------------------
		//Version 1.0
		//
		eval(this.TCode);
	}
	
	function CBparseInt(n) {
	
	
	
	
	
		if(typeof(n)=="number"||typeof(n)=="string")
			return (!IsWin&&!SM?n:parseInt(n))*1;
		return 0;
	}

	function HideAll() {
		//IE,NS
		//This function will hide all the currently opened menus.
		//------------------------------
		//Version 1.0
		//
		while(nOM>0)
			Hide();
	}

	function GetLeftTop() {
		//IE,NS
		//This function returns the scroll bars position on the menus frame.
		//------------------------------
		//Version 2.0
		//
		if(IE)
			return [OP?0:SM?mFrame.scrollX:mFrame.document.body.scrollLeft,OP?0:SM?mFrame.scrollY:mFrame.document.body.scrollTop];
		if(NS)
			return [mFrame.pageXOffset,mFrame.pageYOffset];
	}
	
	function tHideAll() {
		//IE,NS
		//This function is called when the mouse is moved away from a hotspot to close any opened menu.
		//------------------------------
		//Version 1.2
		//
		IsOverHS = false;
		HTHnd[nOM] = window.setTimeout("if(!InMenu()&&nOM==1)HideAll(); else HTHnd[nOM]=0;", HideSpeed);
	}

	function GetWidthHeight() {
		//IE,NS
		//This function returns the width and height of the menus frame.
		//------------------------------
		//Version 2.0
		//
		if(IE&&!SM)
			return [mFrame.document.body.clientWidth,mFrame.document.body.clientHeight];
		if(NS||SM)
			return [mFrame.innerWidth,mFrame.innerHeight];
	}
	
	function GetBorderWidth(b) {
		//IE, SM
		//This functions returns the width of a border
		//------------------------------
		//Version 1.0
		//
		var w;
		var l = b.split(" ");
		for(var i=0; i<l.length; i++) {
			w = CBparseInt(l[i]);
			if(w>0)
				return w;
		}
		return 0;
	}
	
	function GetCStyle(cmc) {
		//IE,SM
		//This functions completes the style of command with all the common
		//parameters from the original style code.
		//------------------------------
		//Version 1.0
		//
		return "position: absolute; left:" + cmc.left + 
			   "; top: " + cmc.top + 
			   "; width: " + (OP?cmc.pixelWidth:cmc.width) + 
			   "; height: " + (OP?cmc.pixelHeight:cmc.height) + "; ";
	}
	
	function AutoPos(Menu, imgObj, arAlignment) {
		//IE,NS
		//
		//
		var x = GetImgXY(imgObj)[0];
		var y = GetImgXY(imgObj)[1];
		var mW = CBparseInt(NS?Menu.w:Menu.width);
		var mH = CBparseInt(NS?Menu.h:Menu.height);
			
		switch(arAlignment) {
			case 0:
				y += GetImgWH(imgObj)[1];
				break;
			case 1:
				x += GetImgWH(imgObj)[0] - mW;
				y += GetImgWH(imgObj)[1];
				break;
			case 2:
				y -= mH;
				break;
			case 3:
				x += GetImgWH(imgObj)[0] - mW;
				y -= mH;
				break;
			case 4:
				x -= mW;
				break;
			case 5:
				x -= mW;
				y -= mH - GetImgWH(imgObj)[1];
				break;
			case 6:
				x += GetImgWH(imgObj)[0];
				break;
			case 7:
				x += GetImgWH(imgObj)[0];
				y -= mH - GetImgWH(imgObj)[1];
				break;
		}
		
		return [x, y];
	}

	function GetImgXY(imgObj) {
		//IE,NS
		//
		//
		var x;
		var y;
			
		if(IE)	{
			x = getOffset(imgObj)[0];
			y = getOffset(imgObj)[1];
		} else	{
			x = imgObj.x;
			y = imgObj.y;
		}
			
		return [x, y];
		
	}

	function GetImgWH(imgObj) {
		//IE,NS
		//
		//
		return [imgObj.width, imgObj.height];
	}

	function getOffset(imgObj) {
		//IE,NS
		//
		//
		x = imgObj.offsetLeft;
		y = imgObj.offsetTop;
		ce =imgObj.offsetParent;
		while (ce!=null)	{
			y += ce.offsetTop;
			x += ce.offsetLeft;
			ce = ce.offsetParent;
		}
		return [x,y];
		
	}
	
	function AutoHide() {
		//IE,NS
		//
		//
		var original_nOM = nOM;
		var OktoClose = true;
		for(;nOM>0;nOM--)
			if(InMenu()) {
				OktoClose = false;
				break;
			}
		nOM = original_nOM;
		if(OktoClose&&!IsOverHS)
			HideAll();
		
		TimerHideHnd = window.setTimeout("AutoHide()", TimerHideDelay);		
	}
	
	function PlaySound() {
		//IE,NS
		//This function plays the embeded sound referenced by SelSndId.
		//------------------------------
		//Version 1.0
		//
		if(IsWin&&!SM&&(IE&&BV>4||NS)) {
			var s = mFrame.document.embeds["Snd" + SelSndId];
			if(s) s.play();
		}
		SelSndId = 0;
	}
	
	function ShowContextMenu(e) {
		//IE,NS
		//This function is called when a user rightclicks on the document and it will show a predefined menu.
		//------------------------------
		//Version 1.2
		//
		if(cntxMenu!='') {
			if(IE) {
				SetPointerPos();
				IsContext = true;
				cFrame.ShowMenu(cntxMenu, mX-1, mY-1, false);
				return false;
			}
			
			if(NS)
				if(e.which==3) {
					IsContext = true;
					cFrame.ShowMenu(cntxMenu, e.x-1, e.y-1, false);
					return false;
				}
		}		
		return true;
	}

	function SetUpEvents() {
		//IE,NS
		//This function initializes the frame variables and setups the event handling.
		//------------------------------
		//Version 1.9
		//
		if(!SM) onerror = errHandler;
		if(typeof(mFrame)=="undefined")
		mFrame = eval(frames['self']);
		if(typeof(mFrame)=="undefined")
			window.setTimeout("SetUpEvents()",10);
		else {
			if(NS) {
				mFrame.captureEvents(Event.MOUSEMOVE);
				mFrame.onmousemove = HideMenus;
				mFrame.window.captureEvents(Event.MOUSEDOWN);
				mFrame.window.onmousedown = ShowContextMenu;
				PrepareEvents();
			}
			if(IE) {
				document.onmousemove = HideMenus;
				mFrame.document.onmousemove = document.onmousemove;
				if(!SM&&!OP&&IsWin) mFrame.document.oncontextmenu = ShowContextMenu;
				if(SM) {
					var i = 0;
					var m;
					while(mFrame.document.getElementById(i)) {
						m = mFrame.document.getElementById(i++);
						m.style.width = CBparseInt(m.style.width) - CBparseInt(m.style.paddingLeft)*2;
						m.style.height = CBparseInt(m.style.height) - CBparseInt(m.style.paddingTop)*2;
					}
				}
			}
			MenusReady = true;
		}
	}
	
	function errHandler(sMsg,sUrl,sLine) {
	
	
	
	
	
		if(sMsg.substr(0,16)!="Access is denied"&&sMsg!="Permission denied")
			alert("Java Script Error\n" +
			      "\nDescription: " + sMsg +
			      "\nSource: " + sUrl +
			      "\nLine: "+sLine);
		return true;
	}

	function PrepareEvents() {
		//NS
		//This function is called right after the menus are rendered.
		//It has been designed to attach the OnClick event to the <layer> tag. This is being
		//done this way because Navigator does not support a click inline event capturing on
		//the layer tag... duh!
		//------------------------------
		//Version 3.0
		//
		for(var l=0; l<mFrame.document.layers.length; l++) {
			var lo = mFrame.document.layers[l];
			if(lo.layers.length) {
				lo.w = lo.clip.width;
				lo.h = lo.clip.height;
				for(var sl=0; sl<lo.layers[0].layers.length; sl++) {
					var slo = mFrame.document.layers[l].layers[0].layers[sl];
					if(slo.name.indexOf("EH")>0) {
						slo.document.onmouseup = hNSCClick;
						slo.document.TCode = nTCode[slo.name.split("EH")[1]];
					}					
				}
			}
		}
	}

	if(IE)
		with(document) {
			open();
			write("<div id=\"Products\" style=\"position: absolute; left:0; top:0; width: 155; height: 43; z-index: 100; visibility: hidden\"><div id=\"Productsfrmt\" style=\"width: 155; height: 43; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 153; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=0 OnMouseOver=\"cFrame.HoverSel(0,\'Comprehensive_ReportLImg\',\'_\',this);window.status=\'Comprehensive Report\';\" OnClick=\"cFrame.execURL(\'comprehensive_report.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 143;\"><img hspace=4 align=left name=Comprehensive_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Comprehensive Report</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 22; width: 153; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=1 OnMouseOver=\"cFrame.HoverSel(0,\'Credit_ReportLImg\',\'_\',this);window.status=\'Credit Report\';\" OnClick=\"cFrame.execURL(\'credit_report.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 143;\"><img hspace=4 align=left name=Credit_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Credit Report</span></div></div></div><div id=\"Business\" style=\"position: absolute; left:0; top:0; width: 180; height: 127; z-index: 100; visibility: hidden\"><div id=\"Businessfrmt\" style=\"width: 180; height: 127; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=2 OnMouseOver=\"cFrame.HoverSel(0,\'Create_ProfileLImg\',\'_\',this);window.status=\'Create Profile\';\" OnClick=\"cFrame.execURL(\'create_profile.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Create_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Create Profile</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 22; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=3 OnMouseOver=\"cFrame.HoverSel(0,\'Business_CreditLImg\',\'_\',this);window.status=\'Business Credit\';\" OnClick=\"cFrame.execURL(\'business_credit.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Business_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Business Credit</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 43; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=4 OnMouseOver=\"cFrame.HoverSel(0,\'Marketing_ServicesLImg\',\'_\',this);window.status=\'Marketing Services\';\" OnClick=\"cFrame.execURL(\'marketing_services.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Marketing_ServicesLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Marketing Services</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 64; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=5 OnMouseOver=\"cFrame.HoverSel(0,\'Industry_ResearchLImg\',\'_\',this);window.status=\'Industry Research\';\" OnClick=\"cFrame.execURL(\'industry_research.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Industry_ResearchLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Industry Research</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 85; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=6 OnMouseOver=\"cFrame.HoverSel(0,\'Risk_Management_SolutionsLImg\',\'_\',this);window.status=\'Risk Management Solutions\';\" OnClick=\"cFrame.execURL(\'risk_management_solutions.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Risk_Management_SolutionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Risk Management Solutions</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 106; width: 178; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=7 OnMouseOver=\"cFrame.HoverSel(0,\'Update_SCB_ReportLImg\',\'_\',this);window.status=\'Update SCB Report\';\" OnClick=\"cFrame.execURL(\'update_scb_report.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 168;\"><img hspace=4 align=left name=Update_SCB_ReportLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update SCB Report</span></div></div></div><div id=\"Individual\" style=\"position: absolute; left:0; top:0; width: 132; height: 64; z-index: 100; visibility: hidden\"><div id=\"Individualfrmt\" style=\"width: 132; height: 64; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 130; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=8 OnMouseOver=\"cFrame.HoverSel(0,\'Product_ReviewLImg\',\'_\',this);window.status=\'Product Review\';\" OnClick=\"cFrame.execURL(\'product_review.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 120;\"><img hspace=4 align=left name=Product_ReviewLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Product Review</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 22; width: 130; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=9 OnMouseOver=\"cFrame.HoverSel(0,\'Personal_CreditLImg\',\'_\',this);window.status=\'Personal Credit\';\" OnClick=\"cFrame.execURL(\'personal_credit.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 120;\"><img hspace=4 align=left name=Personal_CreditLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Personal Credit</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 43; width: 130; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=10 OnMouseOver=\"cFrame.HoverSel(0,\'Sales_MarketingLImg\',\'_\',this);window.status=\'Sales & Marketing\';\" OnClick=\"cFrame.execURL(\'sales_marketing.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 120;\"><img hspace=4 align=left name=Sales_MarketingLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Sales & Marketing</span></div></div></div><div id=\"SCB\" style=\"position: absolute; left:0; top:0; width: 137; height: 64; z-index: 100; visibility: hidden\"><div id=\"SCBfrmt\" style=\"width: 137; height: 64; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 135; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=11 OnMouseOver=\"cFrame.HoverSel(0,\'What_is_SCBLImg\',\'_\',this);window.status=\'What is SCB \';\" OnClick=\"cFrame.execURL(\'what_is_scb.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 125;\"><img hspace=4 align=left name=What_is_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>What is SCB </span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 22; width: 135; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=12 OnMouseOver=\"cFrame.HoverSel(0,\'Request_SCBLImg\',\'_\',this);window.status=\'Request SCB \';\" OnClick=\"cFrame.execURL(\'request_scb.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 125;\"><img hspace=4 align=left name=Request_SCBLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Request SCB </span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 43; width: 135; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=13 OnMouseOver=\"cFrame.HoverSel(0,\'Update_your_ProfileLImg\',\'_\',this);window.status=\'Update your Profile\';\" OnClick=\"cFrame.execURL(\'update_your_profile.asp\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 125;\"><img hspace=4 align=left name=Update_your_ProfileLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Update your Profile</span></div></div></div><div id=\"About_us\" style=\"position: absolute; left:0; top:0; width: 151; height: 64; z-index: 100; visibility: hidden\"><div id=\"About_usfrmt\" style=\"width: 151; height: 64; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 149; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=14 OnMouseOver=\"cFrame.HoverSel(0,\'SCB_TodayLImg\',\'_\',this);window.status=\'SCB Today\';\" OnClick=\"cFrame.execURL(\'scb_today.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 139;\"><img hspace=4 align=left name=SCB_TodayLImg src=\"menu/arow.gif\" width=3 height=9 border=0>SCB Today</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 22; width: 149; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=15 OnMouseOver=\"cFrame.HoverSel(0,\'MissionLImg\',\'_\',this);window.status=\'Mission\';\" OnClick=\"cFrame.execURL(\'mission.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 139;\"><img hspace=4 align=left name=MissionLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Mission</span></div><div align=left style=\"position: absolute; border: 1px; left: 1; top: 43; width: 149; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=16 OnMouseOver=\"cFrame.HoverSel(0,\'Terms_and_ConditionsLImg\',\'_\',this);window.status=\'\';\" OnClick=\"cFrame.execURL(\'terms_and_conditions.htm\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 139;\"><img hspace=4 align=left name=Terms_and_ConditionsLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Terms and Conditions</span></div></div></div><div id=\"Links\" style=\"position: absolute; left:0; top:0; width: 73; height: 22; z-index: 100; visibility: hidden\"><div id=\"Linksfrmt\" style=\"width: 73; height: 22; background-color: #C0C0C0; border-left: #E0E0E0 1px solid ; border-right: #808080 1px solid ; border-top: #E0E0E0 1px solid ; border-bottom: #808080 1px solid ;\"><div align=left style=\"position: absolute; border: 1px; left: 1; top: 1; width: 71; height: 20; font-family: Verdana; font-size: 9px; font-weight: none; font-style: none; text-decoration: none; color: #3F3F3F; cursor: hand; background-color: #DFDFDF;\" id=17 OnMouseOver=\"cFrame.HoverSel(0,\'EmptyLImg\',\'_\',this);window.status=\'Empty\';\" OnClick=\"cFrame.execURL(\'\', \'frames[self]\');\"><span style=\"position:absolute; left: 5; top: 4; width: 61;\"><img hspace=4 align=left name=EmptyLImg src=\"menu/arow.gif\" width=3 height=9 border=0>Empty</span></div></div></div>");
			close();
		}
	if(NS)
		with(document) {
			open();
			write("<layer name=Products top=0 left=0 width=155 height=43 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=153 height=41 z-index=101><layer name=MC1EH1 left=0 top=0 width=150 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Comprehensive Report\';\"></layer><layer name=MC1 left=0 top=0 width=150 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC2EH2 left=0 top=21 width=150 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Credit Report\';\"></layer><layer name=MC2 left=0 top=21 width=150 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer><layer name=Business top=0 left=0 width=180 height=127 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=178 height=125 z-index=101><layer name=MC3EH3 left=0 top=0 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Create Profile\';\"></layer><layer name=MC3 left=0 top=0 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC4EH4 left=0 top=21 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Business Credit\';\"></layer><layer name=MC4 left=0 top=21 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC5EH5 left=0 top=42 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Marketing Services\';\"></layer><layer name=MC5 left=0 top=42 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC6EH6 left=0 top=63 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Industry Research\';\"></layer><layer name=MC6 left=0 top=63 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC7EH7 left=0 top=84 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Risk Management Solutions\';\"></layer><layer name=MC7 left=0 top=84 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC8EH8 left=0 top=105 width=175 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Update SCB Report\';\"></layer><layer name=MC8 left=0 top=105 width=175 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer><layer name=Individual top=0 left=0 width=132 height=64 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=130 height=62 z-index=101><layer name=MC9EH9 left=0 top=0 width=127 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Product Review\';\"></layer><layer name=MC9 left=0 top=0 width=127 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC10EH10 left=0 top=21 width=127 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Personal Credit\';\"></layer><layer name=MC10 left=0 top=21 width=127 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC11EH11 left=0 top=42 width=127 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Sales & Marketing\';\"></layer><layer name=MC11 left=0 top=42 width=127 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer><layer name=SCB top=0 left=0 width=137 height=64 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=135 height=62 z-index=101><layer name=MC12EH12 left=0 top=0 width=132 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'What is SCB \';\"></layer><layer name=MC12 left=0 top=0 width=132 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC13EH13 left=0 top=21 width=132 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Request SCB \';\"></layer><layer name=MC13 left=0 top=21 width=132 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC14EH14 left=0 top=42 width=132 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Update your Profile\';\"></layer><layer name=MC14 left=0 top=42 width=132 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer><layer name=About_us top=0 left=0 width=151 height=64 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=149 height=62 z-index=101><layer name=MC15EH15 left=0 top=0 width=146 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'SCB Today\';\"></layer><layer name=MC15 left=0 top=0 width=146 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC16EH16 left=0 top=21 width=146 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Mission\';\"></layer><layer name=MC16 left=0 top=21 width=146 height=20 z-index=102 bgColor=#DFDFDF></layer><layer name=MC17EH17 left=0 top=42 width=146 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'\';\"></layer><layer name=MC17 left=0 top=42 width=146 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer><layer name=Links top=0 left=0 width=73 height=22 z-index=100 bgColor=#E0E0E0 visibility=hidden><layer bgColor=#C0C0C0 left=1 top=1 width=71 height=20 z-index=101><layer name=MC18EH18 left=0 top=0 width=68 height=20 z-index=103 OnMouseOver=\"cFrame.NSHoverSel(0,this,\'#EFEFEF\');window.status=\'Empty\';\"></layer><layer name=MC18 left=0 top=0 width=68 height=20 z-index=102 bgColor=#DFDFDF></layer></layer></layer>");
			close();
		}
SetUpEvents();

