//Cufon.replace('h1');
//Cufon.replace('h2');
//Cufon.replace('ul.menu a');

jQuery(document).ready(function(){

/*
	var shellmargin = ($(window).width() - (2*$('.navigator').width() + $('.innershell').width()))/2;
	$('.shell').css({
		marginLeft:shellmargin+'px'
	});
	
	var shellmargin = ($(window).width() - (2*$('.navigator').width() + $('.innershell').width()))/2;
	$('.shell').css({
		marginLeft:shellmargin+'px'
	});

	$(".news-latest-item:first").addClass("first");
	$(".tx-timeconsearch-pi1 select, .tx-timeconlocations-pi1 select, .tx-timeconjobfinder-pi1 select").uniform();	
*/	


	
	var contentheight = $(window).height()-($('.header').height()+$('.contentfoot').height()+$('.footer').height());
	if($('.content').height()<contentheight){
		$('.content').css({
			height:contentheight+'px',			
		});
	}
	
	
	$(window).resize(function() {				
		var contentheight = $(window).height()-($('.header').height()+$('.contentfoot').height()+$('.footer').height());
		if($('.content').height()<contentheight){
			$('.content').css({
				height:contentheight+'px',			
			});
		}
	});


	if($('.nestedcols').length){
		var h = 0;
		$('.nestedcols h1').each(function(index) {
			if($(this).height()>h){
				h = $(this).height();
			}			    				
  	});
  	$('.nestedcols h1').height(h+'px');
	}
	
	
	if($('.cols_1_2_alt_bottom').length){
		var col1h = $('.cols_1_2_alt_bottom').height();
		var col2h = $('.cols_2_2_alt_bottom').height();
		if(col1h>col2h){
			var p = col1h - col2h;
			$('.cols_2_2_alt_bottom').css({
				'padding-top'			:	p+'px'	
			});
		}
		if(col2h>col1h){
			var p = col2h - col1h;
			$('.cols_1_2_alt_bottom').css({
				'padding-top'			:	p+'px'	
			});
		}
	}
		
	
	
	

	
});


jQuery(function(){
	

});



	






