﻿
///////////////////////////////////////////////////
//    基金行业排名A1-A5
///////////////////////////////////////////////////
function changeInd(ind)
{var i;for(i=0;i<3;i++){_o("tdInd"+i).className="tabbg";_o("in"+i).style.display="none";}_o("tdInd"+ind).className="tabhot";_o("in"+ind).style.display="block";
}
function gotoSortDetail()
{var url;switch(_Gfundtype){case "A1":case "A2":case "A3":case "A4":url="/home/fund/FundSortDetailA1_4/"+_windCode+".shtml";break;case "A5":url="/home/fund/FundSortDetailA5/"+_windCode+".shtml";break;case "B":url="/home/fund/FundSortDetailB/"+_windCode+".shtml";break;}window.open(url,"","");return false;
}
function loadIndChart()
{switch(_Gfundtype){case "A1":case "A2":case "A3":case "A4":_o("inChart0").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-1-2.jpg";_o("inChart1").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-2-0.jpg";_o("inChart2").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-5-0.jpg";break;case "A5":_o("inChart0").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-3-2.jpg";_o("inChart1").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-4-0.jpg";_o("inChart2").src=imgServer+"/fund/AchievementRatingChart/"+_windCode+"-5-0.jpg";break;}
}
function changeImgSrc(obImage,path)
{
obImage.src=imgServer+"/fund/"+path+"/"+_windCode+".jpg";
}
function changeImgSrc2(obImage,path,holderID)
{
obImage.src=imgServer+"/fund/"+path+"/"+_windCode+"-"+holderID+".jpg";
}
