/* * 2009-3-12 23:20:13 */ jquery(document).ready(function(){ var _notibox = jquery("._notibox"); var hidebox = function(){ jquery("._notiboxbody",_notibox).hide(); _notibox.hide(); } jquery("._close",_notibox).click(function(){ hidebox(); }); /** * user guide */ jquery("._notibox ._userguide a").each(function(){ var selfa = jquery(this); this.target = "mainframe"; selfa.click(function(){ var _selfa = jquery(this); _selfa.parent().parent().find("span.activetip").removeclass("activetip"); _selfa.parent("span").addclass("activetip"); }) }); var showuserguide = function(){ hidebox(); _notibox.show(); jquery("._userguide",_notibox).show(); var _link = jquery("._userguide a:first",_notibox); _target = _link.attr("target"); if(getframedocument(_target) !=null ){ getframedocument(_target).location = _link.attr("href"); } } jquery("._notibox_userguide_trigger").toggle(function(){ showuserguide(); },function(){ if(_notibox.css("display")=="none"){ showuserguide(); }else{ hidebox(); } }); });