
var fundPath='http://media.ft.com/Markets/Funds/';var fundImgPath=fundPath+'Images/';var URLsearch=location.search;var allString=URLsearch.split('&');function popWin(URL,name,w,h)
{var params='scrollbars=no,toolbar=no,location=no,nonresizable,width='+w+',height='+h+',innerWidth='+w+',innerHeight='+h;win_handle=window.open(URL,name,params);return 0;}
function select_list(field,start,end,on)
{for(i=start;i<=end;i++)field[i].checked=on;}
function getURLval(name,defaultVal)
{for(var loop=0;loop<allString.length;loop++)
{if(allString[loop].indexOf(name+'=')!=-1)
{value=unescape(allString[loop].substring((allString[loop].indexOf(name+'=')+(name.length+1))));}}
var value=typeof value!='undefined'?value:defaultVal;return value;}
function PreloadImages(length,path,type)
{for(var i=1;i<=length;i++)
{this[i]=new Image();this[i].src=path+i+type;}
return this;}
function rollOn(num)
{if(document.images)eval('document.images["off'+num+'"].src='+'on[num].src');}
function rolloff(num)
{if(document.images)eval('document.images["off'+num+'"].src='+'off[num].src');}
function writeFundNav(color)
{var sColor=typeof color!='undefined'?color:'FFFFFF';var lineSpacer='<tr><td COLSPAN="4" BGCOLOR="#FFFFFF"><img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="5" BORDER="0"></td></tr><tr><td COLSPAN="4" BGCOLOR="#'+sColor+'"><img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="1" BORDER="0"></td></tr><tr><td COLSPAN="4" BGCOLOR="#FFFFFF"><img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="5" BORDER="0"></td></tr>';var redDotTD='<td ALIGN="center" VALIGN="middle" WIDTH="15"><img SRC="'+fundImgPath+'reddot.gif" WIDTH="3" HEIGHT="3" VALIGN="middle" BORDER="0"></td>';var linkTD='<td VALIGN="middle">';var html='<table BORDER="0" CELLPADDING="0" CELLSPACING="0" BGCOLOR="#FFFFFF">';html+=lineSpacer;html+='<tr><td VALIGN="top">';html+='<table BORDER="0" WIDTH="215" CELLPADDING="0" CELLSPACING="0" ALIGN="center" BGCOLOR="#FFFFFF">';html+='<tr><td ROWSPAN="4" WIDTH="55" VALIGN="top"><a HREF="javascript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=About&Page=0&Content=popup_about_fund&catid=\',\'about\',600,500); return(0);"><img SRC="'+fundImgPath+'about.jpg" WIDTH="55" HEIGHT="55" BORDER="0" ALT="About Fund Ratings"></a></td>';html+='<td WIDTH="15"><img SRC="'+fundImgPath+'clear.gif" WIDTH="15" HEIGHT="1"></td>';html+='<td WIDTH="145" CLASS="darkredbold9" VALIGN="top"> About</td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="javascript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=About&Page=0&Content=popup_about_fund&catid=\',\'about\',600,500); return(0);">FT Fund Ratings</a></td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="javascript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=About&Page=1&Content=popup_about_tech&catid=\',\'about\',600,500); return(0);">Technical Guide</a></td></tr>';html+='<tr><td ALIGN="center" VALIGN="middle" WIDTH="15"></td>';html+=linkTD+'<img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="15"></td></tr></table>';html+='</td><td VALIGN="top">';html+='<table BORDER="0" WIDTH="160" CELLPADDING="0" CELLSPACING="0" ALIGN="center">';html+='<tr><td ROWSPAN="4" WIDTH="55" VALIGN="top"><a HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=User&Page=0&Content=popup_user_step&catid=\',\'about\',600,500); return(0);"><img SRC="'+fundImgPath+'user.jpg" WIDTH="55" HEIGHT="55" BORDER="0" ALT="User Guides"></a></td>';html+='<td WIDTH="15"><img SRC="'+fundImgPath+'clear.gif" WIDTH="15" HEIGHT="1"></td>';html+='<td WIDTH="90" CLASS="darkredbold9" VALIGN="top"> User</td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=User&Page=0&Content=popup_user_step&catid=\',\'about\',600,500); return(0);">Step by step</a></td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=User&Page=1&Content=popup_user_fast&catid=\',\'about\',600,500); return(0);">Fast track</a></td></tr>';html+='<tr><td ALIGN="center" VALIGN="middle" WIDTH="15"></td>';html+=linkTD+'<img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="15"></td></tr></table>';html+='</td><td VALIGN="top">';html+='<table BORDER="0" WIDTH="211" CELLPADDING="0" CELLSPACING="0" ALIGN="center">';html+='<tr><td ROWSPAN="4" WIDTH="55" VALIGN="top"><a HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Help&Page=0&Content=popup_help_gloss&catid=\',\'help\',600,500); return(0);"><img SRC="'+fundImgPath+'help.jpg" WIDTH="55" HEIGHT="55" BORDER="0" ALT="Help"></a></td>';html+='<td WIDTH="15"><img SRC="'+fundImgPath+'clear.gif" WIDTH="15" HEIGHT="1"></td>';html+='<td WIDTH="146" CLASS="darkredbold9" VALIGN="top"> Help</td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Help&Page=0&Content=popup_help_gloss&catid=\',\'help\',600,500); return(0);">Glossary</a></td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Help&Page=1&Content=popup_help_site&catid=\',\'help\',600,500); return(0);">Site map</a></td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Help&Page=2&Content=popup_help_qanda&catid=\',\'help\',600,500); return(0);">Q&A</a></td></tr></table>';html+='</td><td VALIGN="top">';html+='<table BORDER="0" WIDTH="180" CELLPADDING="0" CELLSPACING="0" ALIGN="center">';html+='<tr><td ROWSPAN="4" WIDTH="55" VALIGN="top"><a HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Contact&Page=0&Content=popup_contact_comm&catid=\',\'contact\',600,500); return(0);"><img SRC="'+fundImgPath+'contact.jpg" WIDTH="55" HEIGHT="55" BORDER="0" ALT="Contact Us"></a></td>';html+='<td WIDTH="15"><img SRC="'+fundImgPath+'clear.gif" WIDTH="15" HEIGHT="1"></td>';html+='<td WIDTH="115" CLASS="darkredbold9" VALIGN="top"> Contact Us</td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Contact&Page=0&Content=popup_contact_comm&catid=\',\'contact\',600,500); return(0);">Business enquiries</a></td></tr><tr>';html+=redDotTD;html+=linkTD+' <a CLASS="fundNav" HREF="JavaScript:void(0);" onClick="popWin(\''+fundPath+'popup_frame.html?Section=Contact&Page=1&Content=popup_contact_gen&catid=\',\'contact\',600,500); return(0);">General enquiries</a></td></tr>';html+='<tr><td ALIGN="center" VALIGN="middle" WIDTH="15"></td>';html+=linkTD+'<img SRC="'+fundImgPath+'clear.gif" WIDTH="1" HEIGHT="15"></td></tr></table>';html+='</td></tr></table>';html+=lineSpacer;document.write(html);return 0;}
function swapText(id,color)
{if(document.all)
{var mytext=document.all[id];if(mytext)mytext.style.color=color;}
else if(document.getElementById&&document.getElementById(id)!=null)node=document.getElementById(id).style.color=color;}