if (typeof('jQuery')!='undefined') {
  //alert('jq');
  $(document).ready(function(){
    //alert('jq ready');
    /*
    setInterval("slideSwitch()", 3000);
    // run it the first time:
    slideSwitch();
    */
  });
  // other jquery functions:
  /*
  function slideSwitch() {
    var $active=$('#divPhotoSlides img.active');
    if ($active.length == 0) $active = $('#divPhotoSlides img:last');
    var $next = $active.next().length ? $active.next() : $('#divPhotoSlides img:first');
    
    $active.addClass('last-active');
    var nextW=$next.width();
    var divW=$('#divPhotoSlides').width();
    //alert(divW);
    var newLeft=Math.floor(divW/2)-(Math.floor(nextW/2));
    //alert(newLeft);
    $next.css({opacity: 0.0})
          .show()
          .addClass('active')
          .animate({opacity: 1.0, left: newLeft}, 1000, function() {
            })
    $active.animate({opacity: 1.0, left: '+=1000'}, 1000, function() {
      $active.css('left', -1000, function(){
        $this.hide();
      });
      //$active.animate({left: '-=2000'}, 1000);
      $active.removeClass('active last-active');
    });
  } // function slideSwitch
  */
  
}


