var hcontentLeft=$("#contentLeft").height();
var hcontentRight=$("#contentRight").height();
if(hcontentLeft>hcontentRight&&hcontentLeft>283)
{
    $("#contentRoot div.shadow").height(hcontentLeft+50+20);
}
else   if(hcontentRight>283)
{
    $("#contentRoot div.shadow").height(hcontentRight+50+20);
    
}
else
{
    $("#contentRoot div.shadow").height(283);
}
