/* <![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";
    }
  }
}

$(document).ready(function() {
	


/* slideshow */
$(".slideshow")  
.before('<div id="nav">') 
.cycle({ 
    fx:     'fade', 
    speed:  2500, 
    timeout: 6500,
    next:   '#next2', 
    prev:   '#prev2' 
});

});

/* ]]> */

  $(document).ready(function (){


	
	/* Pajinate Script */
	$('#category').pajinate({
		num_page_links_to_display : 5,
		items_per_page : 4	
	});
	
  	$("body").ready(function(){
			$("body").animate({opacity:"0.2",speed:"fast"});
			$("body").animate({opacity:"1",speed:"fast"});
		});

    
      });
/* ]]> */
