// JavaScript Document
  function sAlert(){ 
   var msgw,msgh,bordercolor; 
   msgw=400;//提示窗口的宽度 
   msgh=120;//提示窗口的高度 
   titleheight=25 //提示窗口标题高度 
   bordercolor="#336699";//提示窗口的边框颜色 
   titlecolor="#99CCFF";//提示窗口的标题颜色 
    
   var sWidth,sHeight; 
   sWidth=document.body.offsetWidth; 
   sHeight=screen.height; 
   var bgObj=document.createElement("div"); 
   bgObj.setAttribute('id','bgDiv'); 
   bgObj.style.position="absolute"; 
   bgObj.style.top="0"; 
   bgObj.style.background="#777"; 
   bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75"; 
   bgObj.style.opacity="0.6"; 
   bgObj.style.left="0"; 
   bgObj.style.width=sWidth + "px"; 
   bgObj.style.height=sHeight + "px"; 
   bgObj.style.zIndex = "10000"; 
   document.body.appendChild(bgObj); 
    
   var msgObj=document.createElement("div") 
   msgObj.setAttribute("id","msgDiv"); 
   msgObj.setAttribute("align","center"); 
   msgObj.style.background="white"; 
   msgObj.style.border="1px solid " + bordercolor; 
      msgObj.style.position = "absolute"; 
            msgObj.style.left = "50%"; 
            msgObj.style.top = "50%"; 
            msgObj.style.font="12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif"; 
            msgObj.style.marginLeft = "-225px" ; 
            msgObj.style.marginTop = -75+document.documentElement.scrollTop+"px"; 
            msgObj.style.width = msgw + "px"; 
            msgObj.style.height =msgh + "px"; 
            msgObj.style.textAlign = "center"; 
            msgObj.style.lineHeight ="25px"; 
            msgObj.style.zIndex = "10001"; 
			
			
			
    
     var title=document.createElement("h4"); 
     title.setAttribute("id","msgTitle"); 
     title.setAttribute("align","right"); 
     title.style.margin="0"; 
     title.style.padding="3px"; 
     title.style.background=bordercolor; 
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100);"; 
     title.style.opacity="0.75"; 
     title.style.border="1px solid " + bordercolor; 
     title.style.height="18px"; 
     title.style.font="12px Verdana, Geneva, Arial, Helvetica, sans-serif"; 
     title.style.color="white"; 
     title.style.cursor="pointer"; 
     title.innerHTML="关闭"; 
     title.onclick=function(){ 
          document.body.removeChild(bgObj); 
                document.getElementById("msgDiv").removeChild(title); 
                document.body.removeChild(msgObj); 
                } 
     document.body.appendChild(msgObj); 
     document.getElementById("msgDiv").appendChild(title); 
	 
	 var formp=document.createElement("form")
	 formp.setAttribute("method","post");
	 formp.setAttribute("name","formp");
	 formp.setAttribute("id","formp");
	 formp.setAttribute("target","_black");
	 formp.setAttribute("action","findpass.asp")
	 document.getElementById("msgDiv").appendChild(formp);
	 
     var txt1=document.createElement("span"); 
     txt1.style.margin="1em 0" 
     txt1.setAttribute("id","msgTxt1"); 
     txt1.innerHTML="用 户 名："; 
     document.getElementById("formp").appendChild(txt1); 
	 
	 var in_name=document.createElement("input")
	 in_name.setAttribute("name","in_name");
	 in_name.setAttribute("type","text");
	 document.getElementById("formp").appendChild(in_name);
	 
	 var br1=document.createElement("br");
	 document.getElementById("formp").appendChild(br1);
	 
	 var txt2=document.createElement("span"); 
     txt2.style.margin="1em 0" 
     txt2.setAttribute("id","msgTxt2"); 
     txt2.innerHTML="密码问题："; 
     document.getElementById("formp").appendChild(txt2);
	 
	 var in_q=document.createElement("input")
	 in_q.setAttribute("name","in_q");
	 in_q.setAttribute("type","text");
	 document.getElementById("formp").appendChild(in_q);
	 
	 var br2=document.createElement("br");
	 document.getElementById("formp").appendChild(br2);
	 
	 var txt3=document.createElement("span"); 
     txt3.style.margin="1em 0" 
     txt3.setAttribute("id","msgTxt3"); 
     txt3.innerHTML="问题答案："; 
     document.getElementById("formp").appendChild(txt3); 
	 
	 var in_a=document.createElement("input")
	 in_a.setAttribute("name","in_a");
	 in_a.setAttribute("type","text");
	 document.getElementById("formp").appendChild(in_a);	
	 
	 var br3=document.createElement("br");
	 document.getElementById("formp").appendChild(br3);
	 
	  var radio1=document.createElement("input");
	 radio1.setAttribute("type","radio");
	 radio1.setAttribute("name","user");
	 radio1.setAttribute("id","user");
	 radio1.setAttribute("value","user");
	 document.getElementById("formp").appendChild(radio1);
	 radio1.setAttribute("checked","checked"); 
	 radio1.onclick=function(){ 
          radio1.setAttribute("checked","checked"); 
		   radio2.setAttribute("checked",""); 
                } 
	 
	 var txt4=document.createElement("span"); 
     txt4.style.margin="1em 0" 
     txt4.setAttribute("id","msgTxt4"); 
     txt4.innerHTML="个人会员"; 
     document.getElementById("formp").appendChild(txt4); 
	 
	 var radio2=document.createElement("input");
	 radio2.setAttribute("type","radio");
	 radio2.setAttribute("name","user_zj");
	 radio2.setAttribute("id","user_zj");
	 radio2.setAttribute("value","user_zj");
	 document.getElementById("formp").appendChild(radio2);
	 radio2.onclick=function(){ 
          radio2.setAttribute("checked","checked"); 
		   radio1.setAttribute("checked",""); 
                } 
				
	 var txt2=document.createElement("span"); 
     txt2.style.margin="1em 0" 
     txt2.setAttribute("id","msgTxt2"); 
     txt2.innerHTML="企业会员"; 
     document.getElementById("formp").appendChild(txt2);  
	 
	 
	 var br4=document.createElement("br");
	 document.getElementById("formp").appendChild(br4);	
	 
	 var in_s=document.createElement("input")
	 in_s.setAttribute("name","in_s");
	 in_s.setAttribute("type","submit");
	 in_s.setAttribute("value","查询")
	
	 document.getElementById("formp").appendChild(in_s);	
            } 







  




