//html code is
============
<SCRIPT language="JavaScript">
function startJSFractal() {
try{
var a= document.getElementById('ramesh').a;//working fine

var val =...