lg=document.freechatform.lg.value;
cnm=document.freechatform.cnm.value;
sh=document.freechatform.sh.value;
lc = window.document.location;
url="http://www.javachatcode.com:8080/javachatcode/jsp/javachat.jsp?lg="+lg+"&cnm="+cnm+"&lc="+lc+"&sh="+sh;
//url="http://www.javachatcode.com:8080/javachatcode/jsp/freechatcode.jsp?lg="+lg+"&cnm="+cnm+"&wm="+wm+"&bg="+bg+"&fg="+fg+"&bw="+bw+"&lc="+lc+"&sh="+sh;
document.write('<iframe src='+url+' hspace=0 vspace=0 width=540 height=370 marginwidth=0 marginheight=0 frameborder=1 align=center scrolling=no></iframe>');
