function resets()
{
var controls = document.getElementsByTagName('input');
for(var i=0; i<controls.length; i++){
if(controls[i].type=='text'){
controls[i].value='';
}
}
}
function resets()
{
var controls = document.getElementsByTagName('input');
for(var i=0; i<controls.length; i++){
if(controls[i].type=='text'){
controls[i].value='';
}
}
}