// JavaScript Document
jQuery(document).ready(function() {

    $('.grybody ul:last').css({
        paddingBottom: '0'
    });
	
        $('#direct').click(function() { 
        $('#tabs li:eq(1) a').trigger('click'); 
        return false; 
}); 
	
	
	
	        $('#tabsorange').click(function() { 
        $('#tabs li:eq(2) a').trigger('click'); 
        return false; 
}); 
	
	
$('.comp').click(function() {
	
	$('.profiledetails').fadeOut();
	$('.profiletabs').animate({width:'714px'},{queue:false,duration:400});
	$('#slides').animate({width:'680px'},{queue:false,duration:400});
  
  
});
	
	
$('.memtab').click(function() {
	
	$('.profiletabs').animate({width:'429px'},{queue:false,duration:400});
	$('#slides').animate({width:'400px'},{queue:false,duration:400});
  $('.profiledetails').fadeIn();
});	
	

    $('#listoptions li:first-child').css({
        paddingLeft: '0'
    });


    $('#slides').cycle({
        fx: 'scrollUp',
        speed: '1000',
        timeout: 0,
        cleartype: 1,
        pager: '#tabs',
        pagerEvent: 'click',
        pagerAnchorBuilder: function(idx, slide) {
            // return selector string for existing anchor 
            return '#tabs li:eq(' + idx + ') a';
        }

    });
    
    $('#RightRotatingbannner').cycle({ 
    fx:     'fade', 
    speed:  'slow', 
    timeout: 5000



	});
    
 
});

Shadowbox.init();
