//Drop Down Tabs Menu- Author: Dynamic Drive (http://www.dynamicdrive.com)
//Created: May 16th, 07'

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="SPAN") {
node.onmouseover=function() {this.className+=" over";}
node.onmouseout=function() {this.className=this.className.replace(" over", "");}
}
}
}
}
window.onload=startList;




function showmenu_item(sid)
{
which=document.getElementById('menu_item'+sid);
var j = 0
while(j<4)
{
{document.getElementById('menu_item'+j+'').style.display="none";}
j++;
}
which.style.display="";
}




function showmenu_ite(sid2)
{
which1=document.getElementById('menu_ite'+sid2);
var x = 0
while(x<3)
{
{document.getElementById('menu_ite'+x+'').style.display="none";}
x++;
}
which1.style.display="";
}



function ChangeDiv(divId,divName,zDivCount,divsid)
{
for(i=0;i<=zDivCount;i++)
{
document.getElementById(divName+i).style.display="none";
document.getElementById(divsid+i).className="ballot_item_02";
}
document.getElementById(divName+divId).style.display="block";
document.getElementById(divsid+divId).className="ballot_item";
}



function RadioGroup(x)
{ 

if (x==0)
{
document.getElementById("RadioGroup01").style.display="block";
}
else
{document.getElementById("RadioGroup01").style.display="none"; }
}