
name=comfrm onsubmit="return CheckForm(this);" action=comment_ok.jsp method=post> function login_chk(link_url){ var width = 430; var height = 240; var top = screen.availHeight/2 - height/2; var left = screen.availWidth/2 - width/2; var current_url = location.href; var arrURL = current_url.split('http://'); var arr = arrURL[1].split('/'); current_url2 = current_url.replace("http://"+arr[0],""); var url = "/login/pop_after.jsp?sTarget="+current_url2; window.open(url,"popLogin","toolbar=0,menubar=0,scrollbars=no,resizable=no,top=" + top + ",left=" + left + ",width=" + width + ",height=" + height + ";") } //alert(login); flash('/image/remote.swf?login_chk=1','id','101','182'); <embed src="/image/remote.swf?login_chk=1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" width="101" height="182" type="application/x-shockwave-flash">