



/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

if (document.getElementById){ 
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}


function SwitchMenu(obj,mode){
	if(document.getElementById){
	var el = document.getElementById(obj);
	if (obj =='sub2') divn="masterdiv"
	
	if (obj =='subA') divn="masterdiv1"
	if (obj =='subB') divn="masterdiv2"
	
	if (obj =='subC') divn="masterdiv3"
	if (obj =='subD') divn="masterdiv4"
	if (obj =='subE') divn="masterdiv5"
	if (obj =='subF') divn="masterdiv6"
	if (obj =='subG') divn="masterdiv7"
	if (obj =='subH') divn="masterdiv8"

	if (mode!="block") flg=true
	else
	flg=false

	var ar = document.getElementById(divn).getElementsByTagName("span"); 
	
		if(flg)
		{ 
			for (var i=0; i<ar.length; i++)
			{
				if (ar[i].className=="submenu") //DylknamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";

		}else
		{
			el.style.display = "none";
		}
	}
}

var message="Function Disabled!";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")


//Disable select-text script (IE4+, NS6+)
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

function f1(){
window.open("Financial_Markets_101.htm","fromWindow",'height=520px,width=950px, toolbar=no,menubar=no,statusbar=no');
}


