/*  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";

				};
							
*/			
	

 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) {
	
			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";
	
								  }	

 



$(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		


	 $("#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'})  
                                            });   

     $("#boxTwo").append("<div class=\"boxHov\"> </div>");


		$('#divSWFbox').cycle({ 
		fx:    'zoom', 
		sync:   0, 
		delay: -6000,
		pager: '#boxTwo',
        pagerAnchorBuilder: function(idx, slide) {
            return '<div class="boxHovOff"></div>';
        								      	}		
						
 });
	
$.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) {
    $(pager).find('.boxZoom a img').animate({height:'36px', width:'36px' , margin:'4px'},{queue:false, duration:800, easing: 'easeOutBounce'})
        .filter('.boxZoom a img:eq(' + currSlideIndex + ')').animate({height:'50px', width:'50px' , margin:'0px'},{queue:false, duration:800, easing: 'easeOutBounce'});
		
};	

	                         });
