Помогите найти синтаксическую ошибку.
<SCRIPT LANGUAGE="JavaScript">
<!--
function editComment(id, name, surname, txt, mark){
document.getElementById('add_testimonial').style.display='block';
document.getElementById('name_t').value=name;
document.getElementById('sec_name').value=surname;
document.getElementById('text_t').value=txt;
document.getElementById('id_id').value=id;
document.getElementById('m'+mark).setAttribute('checked', 'checked');
}
function openWin(im,hd,h,w){
var pic='"'+hd+'"'+" HEIGHT="+'"'+h+'"'+" SRC="+'"'+im+'"'+" WIDTH="+'"'+w+'"';
var wn="width="+w+","+"height="+h+","+"status=no,toolbar=no,menubar=no";
myWin=open("","_blank",wn);
myWin.document.write('<HTML>');
myWin.document.write('<HEAD><TITLE>'+hd+'</TITLE></HEAD>');
myWin.document.write('<BODY LEFTMARGIN="0" TOPMARGIN="0">');
myWin.document.write('<IMG ALIGN="left" border="0" ALT="'+pic+'">')
myWin.document.write('</BODY>');
myWin.document.write('</HTML>');
}
//-->
function openWin1(lname,h,w){
//var pic='"'+hd+'"'+" HEIGHT="+'"'+h+'"'+" SRC="+'"'+im+'"'+" WIDTH="+'"'+w+'"';
var wn="width="+w+","+"height="+h+","+"status=no,toolbar=no,menubar=no";
myWin=open("delncredit.php?look&card="+lname+"","_blank",wn);
}
function showAll(){
kids = document.getElementById('chars').children;
kids = kids[0].children;
for(i=0; i<kids.length; i++){ if(kids[i].style.display=='none'&&kids[i].getAttribute('type')=='hid'){ kids[i].style.display=''; } else if(kids[i].style.display!='none'&&kids[i].getAttribute('type')=='hid'){ kids[i].style.display='none'; } }}></SCRIPT>
Ошибку выдаёт FF3.6 и Safari. Прилагаю скриншот Сафари с подсветкой синтаксиса.