var slideTime=300;
var closedHeight=36;
var maxHeight=new Array(12);
maxHeight[0]=[];
maxHeight[1]=[];
maxHeight[2]=[0,400,400,130,820,110];
maxHeight[3]=[0,400,400,130,820,110];
maxHeight[4]=[0,400,400,130,820,110];
maxHeight[5]=[0,400,400,130,820,110];
maxHeight[6]=[];
maxHeight[7]=[];
maxHeight[8]=[0,400,400,130,820,110];
maxHeight[9]=[0,400,400,130,820,110];
maxHeight[10]=[0,400,400,130,820,110];
maxHeight[11]=[];
maxHeight[12]=[0,400,400,130,820,110];
maxHeight[13]=[0,400,400,130,820,110];
maxHeight[14]=[0,400,400,130,820,110];
function openDiv(_1){
var _2=(new Date()).getTime();
document.getElementById("div"+_1+"open").style.display="none";
document.getElementById("div"+_1+"close").style.display="inline";
var i=0;
for(i=1;i<=5;i++){
if(i!=_1){
closeDiv(i);
}
}
document.getElementById("text"+_1).innerHTML=document.getElementById("divText"+_1).innerHTML;
openDivRec(_1,_2);
}
function openDivRec(_4,_5){
var _6=document.getElementById("div"+_4);
var _7=(new Date()).getTime()-_5;
if(_7<slideTime){
var _8=closedHeight+Math.round((_7/slideTime)*(maxHeight[skinId][_4]-closedHeight));
_6.style.height=_8+"px";
var _9="openDivRec('"+_4+"', "+_5+")";
setTimeout(_9,5);
}else{
_6.style.height=maxHeight[skinId][_4]+"px";
}
}
function closeDiv(_a){
var _b=(new Date()).getTime();
var _c=document.getElementById("div"+_a);
var _d=_c.style.height;
var _e=/(\d*)\D*/;
var _f=_e.exec(_d);
if(_f[1]>closedHeight){
document.getElementById("div"+_a+"close").style.display="none";
document.getElementById("div"+_a+"open").style.display="inline";
closeDivRec(_a,_b);
}
}
function closeDivRec(_10,_11){
var _12=document.getElementById("div"+_10);
var _13=(new Date()).getTime()-_11;
if(_13<slideTime){
var _14=maxHeight[skinId][_10]-Math.round((_13/slideTime)*(maxHeight[skinId][_10]-closedHeight));
_12.style.height=_14+"px";
var _15="closeDivRec('"+_10+"', "+_11+")";
setTimeout(_15,5);
}else{
_12.style.height=closedHeight+"px";
document.getElementById("text"+_10).innerHTML=document.getElementById("divSnippet"+_10).innerHTML;
}
}
if(window.location.hash==newFeaturesOpenTakeProfit){
openDiv(1);
}else{
if(window.location.hash==newFeaturesOpenRollForward){
openDiv(2);
}else{
if(window.location.hash==newFeaturesOpenSMS){
openDiv(3);
}else{
if(window.location.hash==newFeaturesOpenProfitLine){
openDiv(4);
}else{
if(window.location.hash==newFeaturesOpenShowOff){
openDiv(5);
}
}
}
}
}


