// JavaScript Document
		function ShowIframe(width,height,url,title)
		{
            var pop=new Popup({ contentType:1,scrollType:'auto',isReloadOnClose:true,width:width,height:height});
            pop.setContent("contentUrl",url);
            pop.setContent("title",title);
            pop.build();
            pop.show();
        }
        function ShowHtmlString()
        {
            var strHtml = "<table border=1 style='width:90%; text-align:center;'><tr style='height:40px'><td>ds</td><td>dads</td></tr><tr style='height:40px'><td>dadas</td><td>dasd</td></tr><tr style='height:40px'><td>dadasd</td><td>dsadads</td></tr></table>";
            var pop=new Popup({ contentType:2,isReloadOnClose:false,width:340,height:300});
            pop.setContent("contentHtml",strHtml);
            pop.setContent("title","html字符串示例");
            pop.build();
            pop.show();
       }
	   
        function ShowConfirm(width,height,title,content,divCall,yes_content)
        {
           var pop=new Popup({ contentType:3,isReloadOnClose:true,width:width,height:height});
           pop.setContent("title",title);
           pop.setContent("confirmCon",content);
           pop.setContent("callBack",ShowCallBack);
           pop.setContent("parameter",{id:divCall,str:yes_content,obj:pop});
           pop.build();
           pop.show();
        }
		
		
        function ShowAlert()
        {
            var pop=new Popup({ contentType:4,isReloadOnClose:false,width:340,height:80});
            pop.setContent("title","alert警告框示例");
            pop.setContent("alertCon","alert对话框的内容");
            pop.build();
            pop.show();
        }
        
        
        function ShowCallBack(para)
        {
            var o_pop = para["obj"]
            var obj = document.getElementById(para["id"]);
            o_pop.close();
            obj.innerHTML = para["str"];
            
        }
		
		
		function closebox2(){
			window.parent.document.body.removeChild(window.parent.document.getElementById("dialogCase"));
		}
		
		
		function closebox1()
		{
			this.parent.Popup.prototype.reset_m();	
		}
		
		