createBtn:function(p,v,fn){
var btn=document.createElement("input");
btn.type="button";
btn.className='btn';
btn.value=v;
btn.onmouseover=function(){this.className='btnfocus';}
btn.onmouseout=function(){this.className='btn';}
btn.onclick=function(){
Showbo.Msg.hide();
if(fn)fn(p);
}
return btn;
},
if(fn)fn(p); fn是个参数 ,p也是个参数。if这样写看不懂啊 求指教