var remove={ init:function(obj){ this.init.title=obj.title; this.init.func = obj.func; }, show:function(){ if(window.top!=window.self){ $("body",top.document).append('
'); }else{ if($(".loading").length==0) { $("body").append(''); } } }, remove:function(){ if(window.top!=window.self){ $(".remove",top.document).remove(); }else{ if($(".remove").length>0) $(".remove").remove(); } } }