<!--

function openramosus(url, name, width, height)
{  popupWin = window.open(url,name,'width=' + width + ',height=' + height + ',scrollbars=yes,toolbar=no,resizable=yes,menubar=no,location=no,status=yes,screenX=50,screenY=50,top=50,left=50')
    if (!popupWin.opener)
        popupWin.opener=self;
    popupWin.focus();
}
$(document).ready(function() { 
    $('#container-1 > ul').tabs({ cache: true }).bind('tabsselect',function(e,ui){$('.hide').show();});
    $('#content').find('.hideme').fadeOut().end();	 		
    $('a.showme').each(function(i) {
    var $match = $('.hideme').eq(i);				
			$(this).toggle(function() {
				$match.fadeIn('slow');
				}, function () {
				$match.fadeOut('slow');
				}
			);
    });  
    $('a.toggle').bind("click", function(){$(this).parent('p').next('p').slideToggle(900);return false;});  
    Shadowbox.init();

    //Shadowbox.setup($('a.sbox'),{overlayOpacity: 0.5}); 
});
jQuery.fn.fadeIn = function(speed, callback) { 
    return this.animate({opacity: 'show'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (typeof callback == 'function')  
            callback();  
    }); 
}; 
 
jQuery.fn.fadeOut = function(speed, callback) { 
    return this.animate({opacity: 'hide'}, speed, function() { 
        if (jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (typeof callback == 'function')  
            callback();  
    }); 
}; 
 
jQuery.fn.fadeTo = function(speed,to,callback) { 
    return this.animate({opacity: to}, speed, function() { 
        if (to == 1 && jQuery.browser.msie)  
            this.style.removeAttribute('filter');  
        if (typeof callback == 'function')  
            callback();  
    }); 
}; 
  
function showStuff() {
         var z = $('#jq').find('div:hidden');
         if (z.is(':visible')) {
             z.slideUp('slow');
         } else {
             z.slideDown('slow');
         }
}
function jqGetContent(script,z,el){
$.post("scripts/ajax_"+script+".asp",{s:z},function(q){$(el).html(q);});
}
var cel = null;
function toggleContent(el){
		if (cel) {
			$('#' + cel).slideUp('slow');
		}
	if (el != cel) {
		cel = el;
		$('#' + cel).slideDown('slow');
	} else {
		cel = null;
	}
	return false;
}
function shiftTab(ej){
    var $tabs = $('#container-1').tabs();    
    $('a.newtab').click(function() {
        $tabs.tabs('select', ej);
        return false;    
    }); 
}
    
// end hiding scripting -->