
ie4=document.all?true:false
ns4=document.layers?true:false

function showsubmenu(x)
{
	hidesubmenus();
	
	if(ie4)
	{
     	if(x==4)
     	{
     		submenu4.style.visibility='visible';
     	}
     	if(x==5)
     	{
     		submenu5.style.visibility='visible';
     	}
	}
	else if(ns4)
	{
		if(x==4)
     	{
     		document.submenu4.visibility='show';
     	}
     	if(x==5)
     	{
     		document.submenu5.visibility='show';
     	}
	}
	
}
function hidesubmenus()
{
	if(ie4)
	{
     	submenu4.style.visibility='hidden';
     	submenu5.style.visibility='hidden';
	}
	else if(ns4)
	{
		document.submenu4.visibility='hide';
     	document.submenu5.visibility='hide';
	}
	
}

var msg="";

// mouseover menu for comparing ETFs
msg+="<div id='submenu4' style='position:absolute;left:170;top:240;visibility:hidden;z-index:3'>"
     msg+="<table border='0' cellpadding='2' cellspacing='0' bgcolor='#ffde0c'>"
		msg+="<tr>"
			msg+="<td bgcolor='#ffde0c'>"
				msg+="<table bgcolor='#ffffff' border='0' cellpadding='0' cellspacing='0'>"
					msg+="<tr><td height='20'><a href='compare.asp#subhead1'><font face='arial' size='1' color='#ff0000'>HOW ETFs (SPIcE in this case) IS DIFFERENT FROM TRADITIONAL MUTUAL FUNDS</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='compare.asp#subhead2'><font face='arial' size='1' color='#ff0000'>HOW ETFs (SPIcE in this case) IS DIFFERENT FROM INDEX FUTURES</font></a></td></tr>"
				msg+="</table>"
			msg+="</td>"
		msg+="</tr>"
     msg+="</table>"
msg+="</div>"

//mouseover menu for Uses of ETFs 
msg+="<div id='submenu5' style='position:absolute;left:170;top:180;visibility:hidden;z-index:3'>"
     msg+="<table border='0' cellpadding='2' cellspacing='0' bgcolor='#ffde0c'>"
		msg+="<tr>"
			msg+="<td bgcolor='#ffde0c'>"
				msg+="<table bgcolor='#ffffff' border='0' cellpadding='0' cellspacing='0'>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead1'><font face='arial' size='1' color='#ff0000'>Efficient access to market</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead2'><font face='arial' size='1' color='#ff0000'>Equitizing cash</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead3'><font face='arial' size='1' color='#ff0000'>Cash flow management</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead4'><font face='arial' size='1' color='#ff0000'>Diversifying Sector Exposure</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead5'><font face='arial' size='1' color='#ff0000'>Shorting or Hedging Index Exposure</font></a></td></tr>"
					msg+="<tr><td bgcolor='#ff0000'><img alt='' src='../images/clear.gif' height='1' width='1'></td></tr>"
					msg+="<tr><td height='20'><a href='applications.asp#subhead6'><font face='arial' size='1' color='#ff0000'>Arbitrage Opportunities</font></a></td></tr>"
				msg+="</table>"
			msg+="</td>"
		msg+="</tr>"
     msg+="</table>"
msg+="</div>"

document.write(msg);

