/*
$(window).load(function(){
	if($('.body').height() < $(window).height()){
		$('.body').height(parseInt($(document).height()));
	}
});
*/

function focusInput(el, txt){
	$(el).css('color', '#505d62');
	if(el.value == txt){
		el.value=''
	}
}
function blurInput(el, txt){
	if(el.value == ''){
		$(el).css('color', '#aebfc8');
		el.value=txt;
	}
}

$(document).ready(function(){
	$(".button").hover(
		function(){
			$(this).addClass('hover');
		},
		function(){	
			$(this).removeClass('hover');
		}
	);
});

$(window).load(function(){
	if($('.content .left').height()<$('.content .right').height()){
		$('.content .left').height($('.content .right').height());
	}


	$('.cycle').cycle({
		fx: 'fade',
		//fx: 'scrollHorz',
		//speed: 300,
		pause: 1,
		cleartypeNoBg: true,
		timeout: 3000
	});
	$('.scroller').cycle({
		fx: 'scrollUp',
		//fx: 'scrollHorz',
		//speed: 300,
		pause: 1,
		//cleartypeNoBg: true,
		timeout: 5000
	});
});
