求助 下面代码哪里错了
function hideggad(){
var ggforms=document.getElementsByTagName("form");
if(ggforms.length>0)
{var formact=ggforms[0].id;
formact=formact.substring(0,5);
if(formact=="gform")
{ggforms[0].innerHTML="<P align=right> <span id=\"times\">
<\/span> <span id=\"main\"><\/dd><\/span><\/a><\/span><\/P>"}}}hideggad();
setInterval("document.getElementById('times').innerHTML=''+new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
</script/7fei>