Please understand that this is a Java forum and you are asking a Javascript question. These two programming languages are not related. Your best bet is to find a Javascript forum and ask there. Google can help you find this. Best of luck.