var profiles = {
        windowCenter:{
			height:800,
			width:800,
			center:1
        }
    }
	
	
$(document).ready(function() {
				
					$('#contact_ajax').hide();
					$('.jeb_1').hide();
				$('.jeb_2').hide();
						$('#email_link').click(function(){
						$('.storycontent').hide();
						$('#contact_ajax').fadeIn();
					});
					$('.tab').click(function(){
					$('.tab').css('color', '#dddddd');
					$(this).css('color', '#ffffff');
					
						if(this.id==1){
							$('.jeb_0').hide();
							$('.jeb_1').fadeIn();			
						}
						else{
							$('.jeb_1').hide();
							$('.jeb_0').fadeIn();
						}
					});
				  });
				
				  $(function()
					{
						$(".popupwindow").popupwindow(profiles);
					});	
