                                                                     
                                                                     
                                                                     
                                             
$(function(){
	var $cycle = $('#cycle');
	var lis = $cycle.children('li');
	var $col1 = $('div.col1');
	var $col2 = $('div.col2');
	var $col1H = parseInt($col1.children('div').children('div').children('ul').height());
	var $col2H = parseInt($col2.children('div').children('div').children('ul').height());
	
	if(lis.length > 1){
		$cycle.innerfade({ 
			speed: 'slow', 
			timeout: 5000, 
			type: 'sequence', 
			containerheight: '267px' 
		});
	}else{
		$('#flash ul li').css('display','block');
	}
	
	if($col1H > $col2H){
		$col2.children('div').children('div').children('ul').height($col1H);
	}else{
		$col1.children('div').children('div').children('ul').height($col2H);
	}
	
	var $twoCol = $('#two-col');

	var $ogSize = parseInt($('h1 span', $twoCol).css('width'));
	window.onload = function(){
		$('div.col', $twoCol).each(function(){
			var imageSize = $(this).children('a').children('span').children('img').width();
			if(imageSize != 90){
				diff = imageSize - 90;
				newSize = (($ogSize - diff) - 10) + 'px';
				$(this).children('h1').children('span').css('width',newSize);	
				}
			});
	
	}
	
});


