// DB --Start-- QXJjaGl0ZWN0ZWQgYnkgQmFsYXpzIEJvcm9zIC0gdWtzY0BiYm9yb3Mub3Jn //'); $(document).ready(function(){ $("#tabs").tabs({ fx: { opacity: 'toggle',duration:0}, show: function(event, ui) { if (ui.index === 1){ $('#cases').focus(); }}}); $('.selector').bind('tabsselect', function(event, ui) { }); }); $(document).ready(function(){ // add a "rel" attrib if Opera 7+ if(window.opera) { if ($("a.bookmark").attr("rel") != ""){ // don't overwrite the rel attrib if already set $("a.bookmark").attr("rel","sidebar"); } } $("a.bookmark").click(function(event){ event.preventDefault(); // prevent the anchor tag from sending the user off to the link var url = this.href; var title = this.title; if (window.sidebar) { // Mozilla Firefox Bookmark window.sidebar.addPanel(title, url,""); } else if( window.external ) { // IE Favorite window.external.AddFavorite( url, title); } else if(window.opera) { // Opera 7+ return false; // do nothing - the rel="sidebar" should do the trick } else { // for Safari, Konq etc - browsers who do not support bookmarking scripts (that i could find anyway) alert('Unfortunately, this browser does not support the requested action,' + ' please bookmark this page manually.'); } }); $(document).ready(function() { $('#helpers ul li:first').after('
  • Print page
  • '); $('#helpers ul a.print').click(function() { window.print(); return false; }); }); $(document).ready(function() { var orig; $('#keywords').focus(function(event){ orig=$(this).val(); $(this).attr("value", ""); }); $('#keywords').blur(function(event){ if ($(this).val()==''){ $(this).attr("value", orig); } }); }); $(document).ready(function() { $('#panel-nav ul li.rel').hover(function() { $(this).addClass('highlight'); }, function() { $(this).removeClass('highlight'); }); }); $(document).ready(function() { if ($.browser.msie && $.browser.version == 6.0) { $('li.arrow').hover(function() { $(this).addClass('hoverstyle'); }, function() { $(this).removeClass('hoverstyle'); }); } }); }); //https://bugs.adobe.com/jira/browse/FP-529 window.onunload = function() { window["__flash__removeCallback"] = function (instance, name) { return; }; } function stoperror(){return true} window.onerror=stoperror; //]]> // DB --End--