function addbox(){
x2=document.createElement("div");
x2.id="chatbox";
document.getElementById("2").parentNode.appendChild(x2);
chatbox.innerHTML="<h2>My Chat Box:</h2>"
+"<div align='center' id='cboxdiv'>'+
'<iframe frameborder='2' width='100%' height='300' src='http://www4.cbox.ws/box/?boxid=3054892&boxtag=4303&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='http://www4.cbox.ws/box/?boxid=3054892&boxtag=4303&sec=submit' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden' class='cboxMsgArea' cols='20' rows='1' name='pst'></textarea><br /><input type='submit' class='' value='Send' name='asa'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><br></form>'
x3=document.createElement("div");
x3.id="viewers";
document.getElementById("2").parentNode.appendChild(x3);
viewers.innerHTML="<h2>My Viewers:</h2>"
+"<tr><td><iframe frameborder='0' id='kaleummwhoview' width='100%' height='266' src='
http://h1.ripway.com/gerbeaidarp/wvm/wvm2.php?vi="+window.parent.pageViewerID+"&vn="+window.parent.pageViewerFName+ "' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' style='border:#999999 0px solid;'></iframe></td></tr>"
}
setTimeout("addbox()",1000)
what's wrong wid my code? pls help me