// JavaScript Document

function setClass(){
var theinputs = document.getElementsByTagName("input");
var i;
for(i = 0; i < theinputs.length; i++)
{
if(theinputs[i].type == "radio" || theinputs[i].type == "checkbox")
{
theinputs[i].className = 'radio';
}
//if(theinputs[i].type == "text" || theinputs[i].type == "password")
//{
//theinputs[i].className = 'text';
//}
//if(theinputs[i].type == "submit" || theinputs[i].type == "reset")
//{
//theinputs[i].className = 'submit';
//}
}
}
window.onload = setClass;
