﻿function HitsStep_up()
{
    if(getCookie(""+vChannelId+"")==null || getCookie(""+vChannelId+"")==undefined)
    {
        setCookie(vChannelId,true,60);
        Channel.Step_UpByHits(vChannelId);
    }
}

HitsStep_up();

function FixHeight()
{
    var div1=document.getElementById("divColumnListLeftBlock");
    var div2=document.getElementById("divColumnListRightBlock");
    var div3=document.getElementById("divChannelRightFrame");
    var div0=document.getElementById("divChannelLeftFrame");
    
    /*
    var v1=Number(div1.scrollHeight);
    var v2=Number(div2.scrollHeight);
    var v3=Number(div3.scrollHeight);
    var v0=Number(div0.scrollHeight);
    
    var maxNum=Math.max(Math.max(v0,v3),Math.max(v1,v2));
    */
    
    var maxNum=Number(document.getElementById("divFrame").scrollHeight);
    
    div3.style.height=maxNum;
    div0.style.height=maxNum;
    div1.style.height=maxNum;
    div2.style.height=maxNum;
    
}

FixHeight();
setTimeout(FixHeight,500);


