I just add a double slash before "var vtyp = findtyp();"
<html>
<head>
<title>$bbtitle Smiliecreator</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<script>
function findtyp() {
var szReturn;
for (var i=0;i<document.schild.typ.length;i++) {
if (document.schild.typ[i].checked) {
szReturn = document.schild.typ[i].value;
break;
}
}
return szReturn;
}
//var vtyp = findtyp();
</script>
|