$.notify=function(a){setTimeout(function(){if(!$.cookie("notify")){$.cookie("notify","set",{"expires":1});var b=$('<div class="NOTIFY_overlay"></div>').css({display:"none","background-color":"#0e309b",height:"100%",left:"0",opacity:"0.4",position:"absolute",top:"0",width:"100%"}).appendTo("body");var e=$('<div class="NOTIFY_dialog"></div>').css({"z-index":10000,background:"url('/static/images/notify_top.png') no-repeat",display:"none","font-family":"arial","font-size":"12px",left:"50%","margin-left":"-200px","padding-top":"70px",position:"absolute",width:"400px"}).appendTo("body");var c=$("<div>"+a+"</div>").css({background:"white",padding:"5px 15px"}).appendTo(e);var d=$("<div></div>").css({background:"url('/static/images/btn_ok.png') no-repeat",cursor:"pointer","float":"right",height:"20px",width:"50px"}).appendTo(c).click(function(){e.fadeOut(500,function(){e.fadeOut(500,function(){b.fadeOut(200,function(){e.remove();b.remove();$("body").css({overflow:"auto"});$("html").css({overflow:"auto"})})})})});c.append('<br style="clear:both;" />');if($.browser.msie&&parseInt($.browser.version)==6){$("body").css({height:"100%",width:"100%"});$("html").css({height:"100%",width:"100%"});e.css({background:"url('/static/images/notify_top.gif') no-repeat"});d.css({background:"url('static/images/btn_ok.gif') no-repeat"})}e.round_corners({color:"ffffff",size:"20",mask:[0,0,1,1]});e.css({top:(($(window).height()-e.height())/2-40)+"px"});$(window).resize(function(){});$("body").css({overflow:"hidden"});$("html").css({overflow:"hidden"});b.fadeIn(200,function(){e.fadeIn(500)})}},500);return this};

