  var $j = jQuery.noConflict();
$j(document).ready(function() {
 $j('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
 $j('#expobanner').cycle({
		fx: 'turnDown',
		cleartypeNoBg: true
	});	
//$j('div.choice-title:contains("choices")').each(function(){
  //   if($j(this).children().length < 1)
    //      $j(this).html( 
      //          $j(this).text().replace('choices','<span class=choices>choices</span>')  
        //   )    
//});
//$j('div.choice-title:contains("choices")').replaceWith('<span class="choices">choices</span>');
//$j('div.choice-title:contains("Choices")').replaceWith('<span class="choices">Choices</span>');

//$j("div.choice-title").replaceText( /choices/gi, "<span class='choices'>choices</span>" );
$j('.choice-title').highlight('choices');

/*$j('div.choice-title:contains("choices")').each(function(){
     if($j(this).children().length < 1)
          if($j(this).text().substring(0,7)=='choices')
          $j(this).html( 
                $j(this).text().replace('choices','<span class="choices">Choices</span>')  
           )
           else
           $j(this).html( 
                $j(this).text().replace('choices','<span class="choices">choices</span>')  
           )
});
$j('div.choice-title:contains("Choices")').each(function(){
     if($j(this).children().length < 1)
          if($j(this).text().substring(0,7)=='Choices')
          $j(this).html( 
                $j(this).text().replace('Choices','<span class="choices">Choices</span>')  
           )
           else
           $j(this).html( 
                $j(this).text().replace('Choices','<span class="choices">choices</span>')  
           )
});*/
$j('.entry-title:contains("Choices")').each(function(){
     if($j(this).children().length < 1)
          $j(this).html( 
                $j(this).text().replace('Choices','<span class="choices">Choices</span>')  
           )
});
$j('.related-services li:contains("Choices")').each(function(){
     if($j(this).children().length < 1)
          $j(this).html( 
                $j(this).text().replace('Choices','<span class="choices">Choices</span>')  
           )
});

$j('.subSection').click(function() { 

                    $j(this).children('ul').slideToggle("slow"); 
                                
        });

         $j( ".inner-content-accordion" ).accordion({active: false, clearStyle: true, autoHeight: false });
     $j( ".content-accordion" ).accordion({ active: false,clearStyle: true, autoHeight: false });

      $j(".scrollable").scrollable();

});
