function jeeNav(o,n){ o.className="selected"; var t; var id; var s; for(var i=1;i<=n;i++){ id ="nav"+i; t = document.getElementById(id); s = document.getElementById("sub"+i); if(id != o.id){ t.className="hide"; s.style.display = "none"; } else{ s.style.display = "block"; } } } function check_votes(allowCount) { var voteItems=document.getElementsByName('itemIds'); var count = 0; for(var i=0;i1){ for(var i=0;i