window.layer=window.layer||{msg:function(){},open:function(){}}; if(typeof console!=="undefined"){console.log=console.log;}