6sense.com: Free Java Applets
");
previewWindow.document.writeln(fm.code.value);
previewWindow.document.writeln(" |
");
previewWindow.document.close();
previewWindow.focus();
}
}
function linkcheck(fm){
if( fm.link[0].checked == true){
fm.id_key.disabled=false;
fm.maintext.disabled=false;
fm.mainlink.disabled=false;
}
else{
fm.id_key.disabled=true;
fm.maintext.disabled=true;
fm.mainlink.disabled=true;
}
}
function gcode(fm){
var pos,old,count,i;
if(fm.width.value==''){fm.width.focus(); alert('Width is missing');return false;;}
if(fm.height.value==''){fm.height.focus(); alert('Height is missing');return false;}
if(isNaN(fm.width.value)){fm.width.focus(); alert('Width has to be a number');return false;;}
if(isNaN(fm.height.value)){fm.height.focus(); alert('Height has to be a number');return false;}
if(isNaN(fm.delay.value)){fm.delay.focus(); alert('Delay has to be number');return;}
str= '';
return true;
}
//-->