//
// scripts.js
//
//
//   This file was created by Fly. 
//   June 10, 2009.

$(document).ready(function(){

  // This is required for the PNG fix to work.
  if( $.fn.pngfix != null )
    $("img[@src$=png]").pngfix();

  // This is some javascript to stop IE from displaying the img alt attributes
  // when you mouse over imagess.  If you would like IE to display the alt attributes,
  // just comment out the following 4 lines.  Don't worry, if you leave this in 
  // place, your ALT attributes are still readable by the search engines.
  var tmpalt;
  $("img").hover( 
    function(){ tmpalt = $(this).attr( "alt" ); $(this).attr( "alt", "" ); },
    function(){ $(this).attr( "alt", tmpalt ); });

});

// Captifity.
$(document).ready(function(){
		$('img.captify').captify({});
	});
	
// Slider.
$(function() { 
			
			/* Initialize Scrollable "Coda Slider" */
			$("div.scrollable").scrollable({size:1});
			$("div.navi a").each(function(i) { 
			  $(this).html('Tab ' + (i+1)); 
			}); 
		});