/*  old nav 


var nav;
var myBox;

navHover = function(nav,myBox){
	document.getElementById(nav).style.fontWeight="bold";
	document.getElementById(nav).style.fontSize="18px";
	document.getElementById(nav).style.color="#669900";
	document.getElementById(nav).style.lineHeight="30px";
	document.getElementById(nav).style.borderBottom="solid 1px #669900";
	document.getElementById(nav).style.width=myBox;
	document.getElementById(nav).style.marginRight="50px";
	document.getElementById(nav).style.marginLeft="50px";

				};
							
		
// test for javascript 	
 function include(file) {
   if (document.createElement && document.getElementsByTagName) {
     var head = document.getElementsByTagName('head')[0];

     var script = document.createElement('script');
     script.setAttribute('type', 'text/javascript');
     script.setAttribute('src', file);

     head.appendChild(script);
   } else { 
     alert('Your browser needs to have Javascript enabled'); 
   }
 }
 
*/	 
 // Build the images for the zoom slide show
 
 function sayPortfollio(thumbNo, nameName, fullName, liCount) {
			var liCount =liCount-3;
			document.getElementById("divSWFbox").innerHTML='<img src=\" \"id=\"swapIMG\" /><div id=\"infoFoot\">'+ fullName +'</div>';
			document.getElementById("swapIMG").src='images/'+ nameName +'.jpg';
			document.getElementById("divSWFbox").style.height="425px";
			$('#divSWFbox').cycle('pause');
			$('.boxZoom a img').css({height:'36px', width:'36px' , margin:'4px', borderStyle:'none'});
	    	$("#boxTwo img").mouseout(function(){$(this).stop();});   
			$('.boxZoom a img:eq(' + liCount + ')').animate({height:'50px', width:'50px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'});
	   
	 
}	

 



$(document).ready(function(){
						   
		 
// round corner and portfolio nav easing


		// $("div.boxCorner2 p").corner("round 1px").parent().css('padding', '2px').corner("round 10px");
		// $("#boxTwo").corner();
		 
// Tool tip
	$("a").tooltip({
		showURL: false,
		 showBody: " - " 
				  });
		 
// add mouse over effects for little squares		


	 $("#boxTwo img").stop().animate({height:'36px', width:'36px' , margin:'4px'},{queue:false, duration:100, easing: 'easeOutBounce'})  
		 
     $("#boxTwo img").mouseover(function(){  
         $(this).stop().animate({height:'44px', width:'44px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'})  
								  		    }); 
	
     $("#boxTwo img").mouseout(function(){  
         $(this).stop().animate({height:'36px', width:'36px' , margin:'4px'},{queue:false, duration:800, easing: 'easeOutBounce'})  
                                            });   



		$('#divSWFbox').cycle({ 
		fx:    'zoom', 
		sync:   0, 
		delay: -6000,
		pager: '#divSWFbox a',
		delay: -1

						
 });
	
$.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) {
	//$('.boxZoom a img').animate({height:'36px', width:'36px' , margin:'4px'},{queue:false, duration:800, easing: 'easeOutBounce'});
    $(pager).filter('.boxZoom a img:eq(' + currSlideIndex + ')').animate({height:'50px', width:'50px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'});
	if(currSlideIndex == 0) {
			$('.boxZoom a img').animate({height:'36px', width:'36px' , margin:'4px'},{queue:false, duration:800, easing: 'easeOutBounce'});
			$('.boxZoom a img:eq(0)').animate({height:'50px', width:'50px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'});
			}
	if(currSlideIndex == 1) {
			$('.boxZoom a img:eq(0)').animate({height:'50px', width:'50px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'});
			}	
};	

	                         });
