
if($.browser.msie && $.browser.version.substr(0,1) == 6) {
	DD_belatedPNG.fix('#logo a, #slider .nivo-caption, #slider .nivo-prevNav, #slider .nivo-nextNav, #flower1, #flower2, .news .btn, .testimonials .prev, .testimonials .next, .video .btn, .subscribe .button, blockquote img, .entry p.date-box span.leaf, .entry .btn-more');
}

$(window).load(function () {
	$('#slider').nivoSlider({
		prevText: '',
		nextText: '',
		controlNav: false,
		captionOpacity: 1,
		directionNavHide: false,
		afterLoad: function () {
			//$('.slider1 .nivo-controlNav a').html('');
		}
	});
});

$(function(){
	$('.blink')
		.focus(function(){
			if( $(this).val() == $(this).attr('title') ) {
				$(this).val('');
			}
		})
		.blur(function(){
			if( $(this).val() == '' ) {
				$(this).val( $(this).attr('title') );
			}
		});
		
	$('#navigation li').hover(function() {
		var dd = $(this).find('.dropdown:eq(0)');
		var w = $(this).width();
		var t = -1*(93 - w)/2;
		if (dd.length) {
			$(this).find('a:eq(0)').addClass('hover');
			dd.css('left', t).show();
		};
	}, function() {
		var dd = $(this).find('.dropdown:eq(0)');
		if (dd.length) {
			$(this).find('a:eq(0)').removeClass('hover');
			dd.hide();
		};
	});
});
