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

function focusInput(el, txt){
	$(el).css('text-align', 'left');
	if(el.value == txt){
		el.value=''
	}
}
function blurInput(el, txt){
	if(el.value == ''){
		$(el).css('text-align', 'center');
		el.value=txt;
	}
}

$(document).ready(function(){
	//onclick="return hs.expand(this)"
	$('a.highslide').each(function() {
    		this.onclick = function() {
			return hs.expand(this, { captionEval: 'this.thumb.alt' });
      			//return hs.expand(this);
    		};
 	});
});


$(window).load(function(){


	$('.gal_foto').cycle({
		//fx: 'scrollUp',
		fx: 'scrollHorz',
		//speed: 300,
		pause: 1,
		//cleartypeNoBg: true,
		next:   '.gal_right', 
   		prev:   '.gal_left',
		timeout: 2000
	});
});
