// = = = == = = == = = == = = == = = == = = =
// PNG FIX
$(document).ready(function(){ 
        $(document).pngFix(); 
});


// = = = == = = == = = == = = == = = == = = =
// HOT NEWS BOTTOM BAR
var visible=1;


function flashBtToggle(start){
 
        if (start==0){
            $(document).ready(function() {
		$('#flashNews').hide('');
		visible=0;
		return false;
	    });
        }
        if(visible==1){
	    $(document).ready(function() {
		$('#flashNews').hide('slow');
		visible=0;
		return false;
	    });
	}else{
	    $(document).ready(function() {
		$('#flashNews').show('slow');
		visible=1;
		return false;
	    });
	}
    
}
// = = = == = = == = = == = = == = = == = = =


// = = = == = = == = = == = = == = = == = = =
//  BACKGROUD SILDESHOW
    $(document).ready( function(){ 
        $('.slideshow').innerfade({ 
    		speed: 1800, 
    		timeout: 4000, 
    		type: 'sequence', 
    		containerheight: '140px'
        }); 
    } ); 
// = = = == = = == = = == = = == = = == = = =




 function  addFavoritos(url, title) {

	 title = title; 
	 url = url;
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true;
	}
 }


function preloadImages() {
	
	var namesImagesToPreload = new Array( );
	
	namesImagesToPreload[0]= '';
	namesImagesToPreload[1]= '';
	
	for($k=0;$k<namesImagesToPreload.length;$k++){
	    image2 = new Image();
	    image2.src = namesImagesToPreload[$k];
	}

}

preloadImages();
