function ActiveLi(ai)
{var lis = document.getElementById("headNavRootColumn").getElementsByTagName("span");for(var i=0;i<lis.length;i++)
lis[i].className = "rootCloumnNormalMenu";ai.className = "rootCloumnActiveMenu";}
function showContentTime(sid)
{var c1 = document.getElementById("contentTime1");var c2 = document.getElementById("contentTime2");var c3 = document.getElementById("contentTime3");var c4 = document.getElementById("contentTime4");var t1 = document.getElementById("time1");var t2 = document.getElementById("time2");var t3 = document.getElementById("time3");var t4 = document.getElementById("time4");if(sid==1)
{c1.style.display = "";t1.className = "hotContentTabActive";c2.style.display = "none";t2.className = "hotContentTab";c3.style.display = "none";t3.className = "hotContentTab";c4.style.display = "none";t4.className = "hotContentTab";}
else if(sid==2)
{c1.style.display = "none";t1.className = "hotContentTab";c2.style.display = "";t2.className = "hotContentTabActive";c3.style.display = "none";t3.className = "hotContentTab";c4.style.display = "none";t4.className = "hotContentTab";}
else if(sid==3)
{c1.style.display = "none";t1.className = "hotContentTab";c2.style.display = "none";t2.className = "hotContentTab";c3.style.display = "";t3.className = "hotContentTabActive";c4.style.display = "none";t4.className = "hotContentTab";}
else if(sid==4)
{c1.style.display = "none";t1.className = "hotContentTab";c2.style.display = "none";t2.className = "hotContentTab";c3.style.display = "none";t3.className = "hotContentTab";c4.style.display = "";t4.className = "hotContentTabActive";}
c1=null;c2=null;c3=null;c4=null;t1=null;t2=null;t3=null;t4=null;}
function cShowContentTime(sid)
{var c1 = document.getElementById("contentTime1");var c2 = document.getElementById("contentTime2");var c3 = document.getElementById("contentTime3");var c4 = document.getElementById("contentTime4");var t1 = document.getElementById("time1");var t2 = document.getElementById("time2");var t3 = document.getElementById("time3");var t4 = document.getElementById("time4");if(sid==1)
{c1.style.display = "";t1.className = "cHotContentTabActive";c2.style.display = "none";t2.className = "cHotContentTab";c3.style.display = "none";t3.className = "cHotContentTab";c4.style.display = "none";t4.className = "cHotContentTab";}
else if(sid==2)
{c1.style.display = "none";t1.className = "cHotContentTab";c2.style.display = "";t2.className = "cHotContentTabActive";c3.style.display = "none";t3.className = "cHotContentTab";c4.style.display = "none";t4.className = "cHotContentTab";}
else if(sid==3)
{c1.style.display = "none";t1.className = "cHotContentTab";c2.style.display = "none";t2.className = "cHotContentTab";c3.style.display = "";t3.className = "cHotContentTabActive";c4.style.display = "none";t4.className = "cHotContentTab";}
else if(sid==4)
{c1.style.display = "none";t1.className = "cHotContentTab";c2.style.display = "none";t2.className = "cHotContentTab";c3.style.display = "none";t3.className = "cHotContentTab";c4.style.display = "";t4.className = "cHotContentTabActive";}
c1=null;c2=null;c3=null;c4=null;t1=null;t2=null;t3=null;t4=null;}
function eliteImageOnClick(eventTarget,TabPageID)
{var RootTabDiv = eventTarget.parentNode;var RootTabPageDiv = document.getElementById("eliteImageList");var childs = RootTabDiv.getElementsByTagName("div")
var childdivs = RootTabPageDiv.getElementsByTagName("div")
if(TabPageID == 0)
{childs[0].className = "PIBlank";childs[1].className = "PITabActive";childs[1].style.cursor = 'pointer';childs[2].className = "PITab";childs[3].className = "PITab";}
else if(TabPageID == 1)
{childs[0].className = "PIBlank";childs[1].className = "PITab";childs[2].className = "PITabActive";childs[2].style.cursor = 'pointer';childs[3].className = "PITab";}
else if(TabPageID == 2)
{childs[0].className = "PIBlank";childs[1].className = "PITab";childs[2].className = "PITab";childs[3].className = "PITabActive";childs[3].style.cursor = 'pointer';}
for(var i=0;i<childdivs.length;i++)
childdivs[i].style.display = "none";childdivs[TabPageID].style.display = "block";RootTabDiv =null;RootTabPageDiv=null;childs=null;childdivs=null;}
function eliteImageOnClick2(eventTarget,TabPageID)
{var RootTabDiv = eventTarget.parentNode;var RootTabPageDiv = document.getElementById("eliteImageList");var childs = RootTabDiv.getElementsByTagName("div")
var childdivs = RootTabPageDiv.getElementsByTagName("div")
if(TabPageID == 0)
{childs[0].className = "PIBlank";childs[1].className = "PITabActive";childs[1].style.cursor = 'pointer';childs[2].className = "PITab";}
else if(TabPageID == 1)
{childs[0].className = "PIBlank";childs[1].className = "PITab";childs[2].className = "PITabActive";childs[2].style.cursor = 'pointer';}
for(var i=0;i<childdivs.length;i++)
{childdivs[i].style.display = "none";}
childdivs[TabPageID].style.display = "block";RootTabDiv =null;RootTabPageDiv=null;childs=null;childdivs=null;}
function CheckChange()
{var p = document.getElementById("noanony");var r = document.getElementById("anonymity");if (r.checked != true) {p.style.display="block";}else{p.style.display="none";}
}
function notNullValidator(validId, tagId, tagValue) {var p = document.getElementById(validId);var t = document.getElementById(tagId);if (p.value == ""){t.innerHTML = tagValue;return false;}else{t.innerHTML = "";return true;}
}
function exeStatScript() {var statSt = '<script type="text/javascript" src="http://s11.cnzz.com/stat.php?id=839820&web_id=839820&show=pic"></script>';var ck = document.cookie.split(';');for (var i = 0; i < ck.length; i++)
{if (ck[i].indexOf("EnableStat=") != -1) {var enStat = ck[i].substr(ck[i].indexOf("=")+1, 1);if (enStat == '1') document.write(statSt);return;}
}
return;}
function highLight(idVal,keyword, color) {var hlValue = new RegExp("(" + keyword + ")(?=[^<>]*<)","gi");$ID(idVal).innerHTML = $ID(idVal).innerHTML.replace(hlValue, "<font color=" + color + ">$1</font>");}
function checkDomain() {var url = window.location.href;if (url.toLowerCase().indexOf("techstd.com") != -1) {$ID("sadtojoyba").style.display = "none";$ID("techstdba").style.display = "";}
}

