/* <![CDATA[ */
function blankTargetFix(){
  if(!document.getElementsByTagName){
    return;
  }

  var anchors = document.getElementsByTagName("a");

  for(var i = 0; i < anchors.length; i++){
    var anchor = anchors[i];

    if(anchor.getAttribute("href") && anchor.getAttribute("rel") == "external"){
      anchor.target = "_blank";
    }
  }
}

//function init() {
  
  // options
 //   var o = {
 //   enableMouse: false,
 //   childSizeFixed:true,
 //   fadeSpeed : 300,
//    parentSlideSpeed :2000
//    };
    
    // Setup galleries
  //  $(".myJac").jac(o);  
//}
        
//$(init); // on DOM ready  
/* ]]> */

$(document).ready(function(){
	
			$('.slideshow').cycle({
			//fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			 //speed: 3000,
			 //timeout:  8000
			fx:     'fade', 
    speed:  '5000', 
   // timeout: 
    next:   '#next2', 
    prev:   '#prev2'  
			 
		});

	
	$(".extLink").fancybox({
		 'width' : '75%',
		 'height' : '100%',
		 'autoScale' : true,
		 'transitionIn' : 'none',
		 'transitionOut' : 'none',
		 'type' : 'iframe'
	 });
  
  $(".extLink2").fancybox({
		 'width' : '50% ',
		 'height' : '100%',
		 'autoScale' : true,
		 'transitionIn' : 'none',
		 'transitionOut' : 'none',
		 'type' : 'image'
	 });
  


	 });
	 
	 
	 

