//APPLICATION LOGIC
jQuery(document).ready(function() {

//Set the div zones for content
var contextualZones = new Array('#primary');
//Get the rendered html code from the div 
var x = jQuery('#contextual_second object').html();
if (x == null) x = jQuery('#contextual_second').html();

//If OBJECT exists then continue
if (x != null) {
  
  //replace all keys with span 
  
    for ( j=0; j<contextualZones.length; j++ ) 
    jQuery(contextualZones[j]).highlightArray(keywords2,'highlight_second');
    
     
  //put some bling into it  
  jQuery(".highlight_second").css("border-bottom","1px solid #0F497C");
  jQuery(".highlight_second").css("color","#009900");
  jQuery(".highlight_second").css("padding-bottom","1px");
  
  //disable links only for the keyword
  jQuery("a .highlight_second").click(function(){return false; });

  //activate the power bubble
  jQuery().SetBubblePopup({cssClass: [ ".highlight_second" ],innerHtml: x});
}


});

