/*function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};*/

$(document).ready(function(){
	
	$("#tabs-news").tabs({ fx: { opacity: 'toggle' } });
	//Fix PNG				
	$('div#logo').pngFix( );	   	
	/*$('img#leaf').pngFix( );
	$('div#logo').pngFix( );
	$('img#imgleft').pngFix( );
	$('div#logo-company').pngFix( );
	$('div.media-item').pngFix( );*/
	
	$('div#foot-menu a:last').css({background:'none'});
	/*$('ul#thumbnail li:last').css({padding:'0'});*/
	
	$("input:text, textarea, input:password").each(function(){
        if(this.value == '')
            this.value = this.title;
    });
    $("input:text, textarea, input:password").focus(function(){
        if(this.value == this.title)
            this.value = '';
    });
    $("input:text, textarea, input:password").blur(function(){
        if(this.value == '')
            this.value = this.title;
    });
	
/*	$(".datepicker").datepicker({
		showOn: 'both',
		buttonImage: '/themes/images/calendar.gif',
		buttonImageOnly: true
	});
*/
	
	/*jQuery('#mycarousel').jcarousel({
        vertical: true,
		wrap: 'last',
		auto: 4
    });
	
	
	//Slide Img
	$("#thumbnail li a").click(function(){
		$(".large img").hide().attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title")});
		$(".large h2").html($("> img", this).attr("title"));
		return false;
	});
	$(".large>img").load(function(){$(".large>img:hidden").fadeIn("slow")});*/
	
});
