var thispage = window.location.pathname;
//var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);

function _eid(id)
{
	return document.getElementById(id);
}

function showhide_alt(id)
{
	//alert('BADID='+id);
	if( _eid(id) )
	{	
		var c = _eid(id);
		var lnk = _eid(id + '_link');
		var lnk_click = _eid(id + '_click');
		
		if( c.style.display == 'none' ||  c.style.display == '' )
		{
			c.style.display = 'block';
			lnk.innerHTML = '<img src="/images/icons/downarrow_blue.gif" border="0" />';
			lnk_click.style.fontWeight = 'bold';
		}
		else
		{
			c.style.display = 'none';
			lnk.innerHTML = '<img src="/images/icons/rightarrow_blue.gif" border="0" />';
			lnk_click.style.fontWeight = 'normal';
		}
	}
}

function showhide(id)
{
	//alert('BADID='+id);
	if( _eid(id) )
	{	
		var c = _eid(id);
		var lnk = _eid(id + '_link');
		var lnk_click = _eid(id + '_click');
		
		if( c.style.display == 'none' ||  c.style.display == '' )
		{
			c.style.display = 'block';
			lnk.innerHTML = '<img src="/images/icons/arrow_down.gif" border="0" />';
			lnk_click.style.fontWeight = 'bold';
		}
		else
		{
			c.style.display = 'none';
			lnk.innerHTML = '<img src="/images/icons/arrow_right.gif" border="0" />';
			lnk_click.style.fontWeight = 'normal';
		}
	}
}

function change_class(id, cname)
{
	_eid(id).className = cname;
}

function is_current_page(tpage, tocheck)
{
	if( tpage == tocheck )
		return true;
	else
		return false;
}

function loadmenu(subsection)
{
	//load xml menu data and convert to json
	var url = "/docs/paydennav.xml";
    var xml = new JKL.ParseXML( url );
	xml.setOutputArrayAuto();
    var data = xml.parse();
	var subcont = document.getElementById('submenu_container');
	
	var dumper = new JKL.Dumper();
    var text = dumper.dump( data );
	//test.innerHTML = '<pre>' + text + '</pre>';
	
	//Load sub navigation (id of appropriate <top> element)
	var menuhtml = '';
	var lev1_class = '';
	var lev2_class = '';
	var to_expand = '';
	var to_bold = '';
	var menu_extra = _eid('submenu_extra');
	
	for( var t=0; t<data['nav']['top'].length; t++)
	{
		if( subsection == data['nav']['top'][t]['id'] )
		{
			submenu = data['nav']['top'][t];
			//test.innerHTML = '<pre>' + dumper.dump(submenu) + '</pre>';
			break;	
		}
	}
	
	menuhtml = '<div class="submenu_top" >' + submenu['label'] + '</div>';
	
	for( var s=0; s<submenu['level_1'].length; s++)
	{
		var lev1 = submenu['level_1'][s];
		menuhtml += '<div id="menu_'+ lev1['id'] +'" class="submenu_toplevel" >';
		//alert(lev1['id']);
		if( lev1['level_2'] )
		{
			if( is_current_page(thispage,lev1['href']) )
			{
				lev1_class = 'level1_link_on';
				to_expand = 'menu_'+ lev1['id'] +'_container';
			}
			else
				lev1_class = 'level1_link';
				
			if( lev1['id'] != 'FirmOverview' )
				menuhtml += '<div style="float:left;width:10px;height:15px;margin-top:2px;"><a href="javascript:showhide(\'menu_'+ lev1['id'] +'_container\');" class="level1_link" id="menu_'+ lev1['id'] +'_container_click" onclick="" ><span id="menu_'+ lev1['id'] +'_container_link" ><img src="/images/icons/arrow_right.gif" border="0" /></span></a></div>';
			else
				menuhtml += '<div style="float:left;width:10px;height:15px;"><a href="#" class="level1_link" id="menu_'+ lev1['id'] +'_container_click" onclick="" ><span id="menu_'+ lev1['id'] +'_container_link" ></span></a></div>';
			
			if( lev1['href'] )
			{
				menuhtml += '<div style="float:left;width:160px;"><a href="'+ lev1['href'] +'" class="'+ lev1_class +'" id="menu_'+ lev1['id'] +'_label_link" >' + lev1['label'] +'</a></div><div style="clear:both;"></div>';
			}
			else
			{
				menuhtml += '<div style="float:left;width:160px;"><a href="javascript:showhide(\'menu_'+ lev1['id'] +'_container\');" class="'+ lev1_class +'" id="menu_'+ lev1['id'] +'_label_link" >' + lev1['label'] +'</a></div><div style="clear:both;"></div>';
			}
		}
		else
		{
			if( is_current_page(thispage,lev1['href']) )
			{
				lev1_class = 'level1_link_on';
				to_expand = 'menu_'+ lev1['id'] +'_container';
			}
			else
				lev1_class = 'level1_link';
				
			menuhtml += ' <div style="float:left;width:10px;height:5px;">&nbsp;</div> <div style="float:left;width:160px;"><a class="'+ lev1_class +'" href="'+ lev1['href'] +'" >' + lev1['label'] + '</a></div><div style="clear:both;"></div>';
		}
		
		if( lev1['level_2'] )
		{
			if( lev1['id'] != 'FirmOverview' )
				menuhtml += '<div id="menu_'+ lev1['id'] +'_container" class="level2_container" >';
			
			if( lev1['level_2']['label'] )
			{
				var temp = lev1['level_2'];
				lev1['level_2'] = Array();
				lev1['level_2'][0] = temp;
			}
			
			for( var i=0; i<lev1['level_2'].length; i++)
			{
				var lev2 = lev1['level_2'][i];
				if( is_current_page(thispage,lev2['href']) )
				{
					lev2_class = 'level2_link_on';
					to_expand = 'menu_'+ lev1['id'] +'_container';
					to_bold = 'menu_'+ lev1['id'] +'_label_link';
				}
				else
					lev2_class = 'level2_link';
				
				if( lev2['level_3'] )
				{
					for( var v=0; v<lev2['level_3'].length; v++)
					{
						var lev3 = lev2['level_3'][v];
						if( is_current_page(thispage,lev3['href']) )
						{
							lev2_class = 'level2_link_on';
							to_expand = 'menu_'+ lev1['id'] +'_container';
							to_bold = 'menu_'+ lev1['id'] +'_label_link';
						}
					}
				}
				
				if( lev1['id'] != 'FirmOverview' )
					menuhtml += '<div id="menu_'+ lev2['id'] +'" class="level2_item" ><a href="'+ lev2['href'] +'" class="'+ lev2_class +'" >' + (lev1['id'] != 'FirmOverview' ? (lev2['menulabel'] ? lev2['menulabel'] : lev2['label']) : '' )+ '</a>';
				
				menuhtml += '</div>';		
			}
			menuhtml += '</div>';
		}
		
		menuhtml += '</div>';
	}
	menuhtml += menu_extra.innerHTML;
	subcont.innerHTML += menuhtml;
	
	if( to_expand.length > 0 )
		showhide(to_expand);
		
	if( to_bold.length > 0 )
		change_class(to_bold,'level1_link_on');
}

function youarehere(subsection)
{
	//alert('you are here');
	var url = "/docs/paydennav.xml";
    var xml = new JKL.ParseXML( url );
	xml.setOutputArrayAuto();
    var data = xml.parse();
	var yah = document.getElementById('youarehere');
	//var test = _eid('test');
	//var dumper = new JKL.Dumper();
    //var text = dumper.dump( data );	
	
	var yahstr = '';
	if( !submenu['href'].length )
		submenu['href'] = '#';
	
	var yah_home = '<a class="youarehere_link" href="/default.aspx" >Home</a>';
	var yah_main = yah_home + ' &gt;  <a class="youarehere_link" href="'+ submenu['href'] +'" >'+ submenu['label'] + '</a>';
	var yah_lev1 = '';
	var yah_lev2 = '';
	
	for( var t=0; t<data['nav']['top'].length; t++)
	{
		if( subsection == data['nav']['top'][t]['id'] )
		{
			submenu = data['nav']['top'][t];
			//test.innerHTML = '<pre>' + dumper.dump(submenu) + '</pre>';
			break;	
		}
	}
	
	for( var s=0; s<submenu['level_1'].length; s++)
	{
		var lev1 = submenu['level_1'][s];
		if( !lev1['href'])
			lev1['href'] = '#';
			
		if( lev1['level_2'] )
		{
			if( is_current_page(thispage,lev1['href']) )
			{	
				yah_lev1 = '<a class="youarehere_link" href="'+ lev1['href'] +'" >'+ lev1['label'] + '</a>';
			}
			
			if( lev1['level_2']['label'] )
			{
				var temp = lev1['level_2'];
				lev1['level_2'] = Array();
				lev1['level_2'][0] = temp;
			}
			
			for( var i=0; i<lev1['level_2'].length; i++)
			{
				
				var lev2 = lev1['level_2'][i];
				//alert(lev2['label']);
				if( !lev2['href'].length )
					lev2['href'] = '#';
					
				if( is_current_page(thispage,lev2['href']) )
				{
					yah_lev1 = '<a class="youarehere_link" href="'+ lev1['href'] +'" >'+ lev1['label'] + '</a>';
					if( lev1['id'] != 'FirmOverview' )
						yah_lev2 = '<a class="youarehere_link"  href="'+ lev2['href'] +'" >'+ lev2['label'] + '</a>';
				}
				
				if( lev2['level_3'] )
				{
					for( var v=0; v<lev2['level_3'].length; v++)
					{
						var lev3 = lev2['level_3'][v];
						if( !lev3['href'].length )
							lev3['href'] = '#';
						if( is_current_page(thispage,lev3['href']) )
						{
							yah_lev1 = '<a class="youarehere_link" href="'+ lev1['href'] +'" >'+ lev1['label'] + '</a>';
							yah_lev2 = '<a class="youarehere_link"  href="'+ lev2['href'] +'" >'+ lev2['label'] + '</a>';
						}
					}
				}
			}
		}
		else if( is_current_page(thispage,lev1['href']) )
		{	
			yah_lev1 = '<a class="youarehere_link" href="'+ lev1['href'] +'" >'+ lev1['label'] + '</a>';
		}

	}
	
	yahstr = yah_main;
	if( yah_lev1.length > 0 )
		yahstr += ' &gt; ' + yah_lev1;
		
	if( yah_lev2.length > 0 )
		yahstr += ' &gt; ' + yah_lev2;
	else if( typeof(yah_lev2_override) != 'undefined' && yah_lev2_override.length > 0 )
		yahstr += ' &gt; ' + yah_lev2_override;
		
			
	yah.innerHTML = yahstr;
}

function fundnav(writeto,fund,selected)
{
	var fundhtml = '';
	var fundnav = Array();		  	
	fundnav['vlfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"vlfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"vlfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"vlfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"vlfrmC.aspx"
									}
                                
                };
	fundnav['gsbfrm'] = { "imgoverview" : 
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gsbfrmO.aspx"
									}
                               ,                                 
                  "imgportfolio" :   
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gsbfrmS.aspx"
									}
                                ,
				  "imgperform" :   
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gsbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :    
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gsbfrmC.aspx"
									}
                } ;
      //Mudit Change..
      
      fundnav['mrfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"mrfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"mrfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"mrfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"mrfrmC.aspx"
									}
                                
                };
       fundnav['uglfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"uglfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"uglfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"uglfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"uglfrmC.aspx"
									}
                                
                };
                
         fundnav['mpemfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"mpemfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"mpemfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"mpemfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"mpemfrmC.aspx"
									}
                                
                };      
                
         fundnav['mpelfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"mpelfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"mpelfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"mpelfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"mpelfrmC.aspx"
									}
                                
                };          
                
           fundnav['mprefrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"mprefrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"mprefrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"mprefrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"mprefrmC.aspx"
									}
                                
                };     
                
             fundnav['gefrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gefrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gefrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gefrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gefrmC.aspx"
									}
                                
                };        
                
             fundnav['crfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"crfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"crfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"crfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"crfrmC.aspx"
									}
                                
                };         
                
            fundnav['cmifrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"cmifrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"cmifrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"cmifrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"cmifrmC.aspx"
									}
                                
                };         
                
              fundnav['cbfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"cbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"cbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"cbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"cbfrmC.aspx"
									}
                                
                };         
                
                
             fundnav['gnmafrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gnmafrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gnmafrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gnmafrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gnmafrmC.aspx"
									}
                                
                };        
                
            fundnav['hifrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"hifrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"hifrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"hifrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"hifrmC.aspx"
									}
                                
                };                 
                
              fundnav['lmfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"lmfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"lmfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"lmfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"lmfrmC.aspx"
									}
                                
                };     
                
              fundnav['obfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"obfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"obfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"obfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"obfrmC.aspx"
									}
                                
                };
                
            fundnav['sbfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"sbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"sbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"sbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"sbfrmC.aspx"
									}
                                
                };    
                
            fundnav['tefrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"tefrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"tefrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"tefrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"tefrmC.aspx"
									}
                                
                };     
                   
            fundnav['ustfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ustfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ustfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ustfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ustfrmC.aspx"
									}
                                
                };       
                
              fundnav['emfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"emfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"emfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"emfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"emfrmC.aspx"
									}
                                
                };           
                
              fundnav['gfifrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gfifrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gfifrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gfifrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gfifrmC.aspx"
									}
                                
                };    
                
                 fundnav['performance'] = { "monthly" :   
                                    { 	"off":"/mutualFunds/performance/images/monthlyreturn.gif",
										"on":"/mutualFunds/performance/images/monthlyreturn_over.gif",
										"href":"monthlyReturns.aspx"
									}
                                ,                            
                  "quarterly" : 
                                    { 	"off":"/mutualFunds/performance/images/quarterly.gif",
										"on":"/mutualFunds/performance/images/quarterly_over.gif",
										"href":"quarterlyReturns.aspx"
									}
                                ,
				  "daily" :    
                                    { 	"off":"/mutualFunds/performance/images/nav_daily.gif",
										"on":"/mutualFunds/performance/images/nav_daily_over.gif",
										"href":"dailyPrices.aspx"
									}
                                ,
				  "yields" :  
                                    { 	"off":"/mutualFunds/performance/images/yields.gif",
										"on":"/mutualFunds/performance/images/yields_over.gif",
										"href":"yields.aspx"
									}
                                
                };            
                
                fundnav['distribution'] = { "dividends" :   
                                    { 	"off":"/mutualFunds/distribution/images/dividends.gif",
										"on":"/mutualFunds/distribution/images/dividends_over.gif",
										"href":"dividends.aspx"
									}
                                ,                            
                  "capitalgain" : 
                                    { 	"off":"/mutualFunds/distribution/images/capitalgain.gif",
										"on":"/mutualFunds/distribution/images/capitalgains_over.gif",
										"href":"capitalGains.aspx"
									}
                                ,
				  "sourceincome" :    
                                    { 	"off":"/mutualFunds/distribution/images/sourcesof.gif",
										"on":"/mutualFunds/distribution/images/sourcesof_over.gif",
										"href":"sourceIncome.aspx"
									}
                                ,
				  "payment" :  
                                    { 	"off":"/mutualFunds/distribution/images/paymentsch.gif",
										"on":"/mutualFunds/distribution/images/paymentsch_over.gif",
										"href":"paymentSchedule.aspx"
									}
                                
                };  
                
                 fundnav['ceefrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ceefrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ceefrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ceefrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ceefrmC.aspx"
									}
                                
                };   
                
                fundnav['gefrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gefrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gefrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gefrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gefrmC.aspx"
									}
                                
                };   
                
                fundnav['gemfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"gemfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"gemfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"gemfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"gemfrmC.aspx"
									}
                                
                };   
                
                    fundnav['ghyfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ghyfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ghyfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ghyfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ghyfrmC.aspx"
									}
                                
                };   
                
                 fundnav['ibfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ibfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ibfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ibfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ibfrmC.aspx"
									}
                                
                };   
                   
               fundnav['isbfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"isbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"isbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"isbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"isbfrmC.aspx"
									}
                                
                };   
                   
               fundnav['sifrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"sifrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"sifrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"sifrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"sifrmC.aspx"
									}
                                
                };   
                  
                   fundnav['slfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"slfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"slfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"slfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"slfrmC.aspx"
									}
                                
                };                
                
                 fundnav['uscfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"uscfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"uscfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"uscfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"uscfrmC.aspx"
									}
                                
                };
                
                fundnav['usdfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"usdfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"usdfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"usdfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"usdfrmC.aspx"
									}
                                
                };
                
                fundnav['ggbfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ggbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ggbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ggbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ggbfrmC.aspx"
									}
                                
                };
                
                fundnav['ukgfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ukgfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ukgfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ukgfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ukgfrmC.aspx"
									}
                                
                };
                
                 fundnav['elfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"elfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"elfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"elfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"elfrmC.aspx"
									}
                                
                };
                
     fundnav['offshoreperformance'] = { "monthly" :   
                                    { 	"off":"/offshore/performance/images/offshoreMonthReturns.gif",
										"on":"/offshore/performance/images/offshoreMonthReturns_OVER.gif",
										"href":"monthlyReturns.aspx"
									}
                                ,                            
                  "quarterly" : 
                                    { 	"off":"/offshore/performance/images/offshoreQuarterlyReturns.gif",
										"on":"/offshore/performance/images/offshoreQuarterlyReturns_OVER.gif",
										"href":"quarterlyReturns.aspx"
									}
                                ,
				  "daily" :    
                                    { 	"off":"/offshore/performance/images/offshoreDailyNAV.gif",
										"on":"/offshore/performance/images/offshoreDailyNAV_OVER.gif",
										"href":"dailyPrices.aspx"
									}
                                
                                
                };    
                
         fundnav['offshoredistribution'] = { "dividends" :   
                                    { 	"off":"/offshore/distribution/images/offshoreDividends.gif",
										"on":"/offshore/distribution/images/offshoreDividends_Over.gif",
										"href":"dividends.aspx"
									}
                                ,                            
                				
				  "payment" :  
                                    { 	"off":"/offshore/distribution/images/offshorePaymentSchedule.gif",
										"on":"/offshore/distribution/images/offshorePaymentSchedule_Over.gif",
										"href":"paymentSchedule.aspx"
									}
                                
                };  
                
                
            fundnav['pw2010frm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"pw2010frmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"pw2010frmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"pw2010frmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"pw2010frmC.aspx"
									}
                                
                };      
                
             fundnav['pw2020frm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"pw2020frmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"pw2020frmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"pw2020frmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"pw2020frmC.aspx"
									}
                                
                };  
                
             	fundnav['corpbfrm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"corpbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"corpbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"corpbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"corpbfrmC.aspx"
									}
                                
                };  
                
                
             	fundnav['pgilbf'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ggbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ggbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ggbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ggbfrmC.aspx"
									}
                                
                };
                
             	fundnav['pscbf'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"ggbfrmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"ggbfrmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"ggbfrmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"ggbfrmC.aspx"
									}
                                
                };
                
             	fundnav['pw2030frm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"pw2030frmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"pw2030frmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"pw2030frmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"pw2030frmC.aspx"
									}
                                
                };   
                
                fundnav['pw2040frm'] = { "imgoverview" :   
                                    { 	"off":"/images/fundnav/overview.gif",
										"on":"/images/fundnav/over/overview.gif",
										"href":"pw2040frmO.aspx"
									}
                                ,                            
                  "imgportfolio" : 
                                    { 	"off":"/images/fundnav/portfolio.gif",
										"on":"/images/fundnav/over/portfolio.gif",
										"href":"pw2040frmS.aspx"
									}
                                ,
				  "imgperform" :    
                                    { 	"off":"/images/fundnav/performance.gif",
										"on":"/images/fundnav/over/performance.gif",
										"href":"pw2040frmP.aspx"
									}
                                ,
				  "imgcommentary" :  
                                    { 	"off":"/images/fundnav/commentary.gif",
										"on":"/images/fundnav/over/commentary.gif",
										"href":"pw2040frmC.aspx"
									}
                                
                };        
     
	for (var ind in fundnav[fund])  
	{
		if( selected == ind )
			fundnav[fund][ind]['off'] = fundnav[fund][ind]['on'];

		fundhtml += '<a href="' + fundnav[fund][ind]['href'] + '" ><img id="'+ ind +'" src="'+ fundnav[fund][ind]['off'] +'" border="0" onmouseover="changeimage(\''+ ind +'\',\''+ fundnav[fund][ind]['on'] +'\');" onmouseout="changeimage(\''+ ind +'\',\''+ fundnav[fund][ind]['off'] + '\');" /></a>'
	
	}
	_eid(writeto).innerHTML = fundhtml;
}

function aboutnav(writeto,type,selected)
{
	var abouthtml = '';
	var aboutnav = Array();		  	
	aboutnav['overview'] = { "imgoverview" :   
                                    { 	"off":"/images/aboutnav/overview.gif",
										"on":"/images/aboutnav/over/overview.gif",
										"href":"firmOverview.aspx"
									}
                                ,                            
                  "imgtimeline" : 
                                    { 	"off":"/images/aboutnav/timeline.gif",
										"on":"/images/aboutnav/over/timeline.gif",
										"href":"overviewTimeline.aspx"
									}
                                ,
				  "imgalliances" :    
                                    { 	"off":"/images/aboutnav/alliances.gif",
										"on":"/images/aboutnav/over/alliances.gif",
										"href":"overviewAlliances.aspx"
									}
                                
                };
	for (var ind in aboutnav[type])  
	{
		if( selected == ind )
			aboutnav[type][ind]['off'] = aboutnav[type][ind]['on'];

		abouthtml += '<a href="' + aboutnav[type][ind]['href'] + '" ><img id="'+ ind +'" src="'+ aboutnav[type][ind]['off'] +'" border="0" onmouseover="changeimage(\''+ ind +'\',\''+ aboutnav[type][ind]['on'] +'\');" onmouseout="changeimage(\''+ ind +'\',\''+ aboutnav[type][ind]['off'] + '\');" /></a>'
	
	}
	_eid(writeto).innerHTML = abouthtml;
}
