

function htmlClassAttribute(){return Utils.isIE?'className':'class';}




function switchLocation(newurl,timeoutMillis)
{setTimeout(function(){window.location.href=newurl;},timeoutMillis);}
function navMouseOver(topLevelNavLinkId,dropDownId,onHomeOrCategory){document.getElementById(dropDownId).style.display='block';}
function navMouseOut(topLevelNavLinkId,dropDownId){document.getElementById(dropDownId).style.display='none';}

//home and right part javascript

function makeActionString(userName,userId)
{


var urlstr= userName+"/"+userId+"/publicportfolio.htm";
document.getElementById(userId).action=urlstr;
document.getElementById(userId).submit();

}



//home javascript

function getStock()
{
var symbol=document.getElementById("selectsymbolbox")[document.getElementById("selectsymbolbox").selectedIndex].value;
checkAllInfoHome(symbol);
}


function makeActionStringForStockComment(commentid,title,username,userid,count,symbolname)
{

var urlstr= symbolname.replace(".NS","")+"/"+title+"/"+commentid+"/comments.htm";
document.getElementById(count).action=urlstr;
document.getElementById(count).submit();

}
















