// JavaScript Document

(function($) {
			
	$(document).ready(function(){
		// Navigation Left
    	$('#menu').ptMenu();//Potato.menu
		
		//Thumb hover
		$('.pro_thumb span').hide();
		
		$('.pro_thumb a').hover(function(){			
    		$('span', this).show();
 		},
		function()
		{
			$('span', this).hide();		
		});

	});
})(jQuery);


var cengo = {
   src: 'flash/gothic.swf'
};
Cufon.replace('h2', { hover: true });
Cufon.replace('h3'); //about & contact title - Sub Product title
Cufon.replace('h4',{hover:true}); //top navigation
Cufon.replace('h5'); //homepage markers
Cufon.replace('h6'); //project & test title
//Cufon.replace(".overvideo"); //intro page text


//Supersized
$(function(){
  $.fn.supersized.options = {  
	  startwidth: 640,  
	  startheight: 480,
	  vertical_center: 1,
	  slideshow: 0,
	  navigation: 0,
	  transition: 1, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
	  pause_hover: 0,
	  slide_counter: 1,
	  slide_captions: 1,
	  slide_interval: 3000  
  };
  $('#supersize').supersized(); 
});

function doThumb()
{	
	//$('a.fancy').fancybox({'padding': 5}) ;
	//GALLERY THUMBNAIL ROLLOVER
	$(".mouseover").find("span").hide()
	
	$(".mouseover").hover(function(){
		$(this).find("span").show()
	},
	function()
	{
		$(this).find("span").hide()	
	})
}
