jQuery(document).ready( function() {
jQuery('a[rel="external"]').addClass("external").click( function() {
window.open( jQuery(this).attr('href') );
return false;
});
});

jQuery(document).ready( function() {
jQuery('#menu-main li:not(:last-child), #site-generator').append("<span class='sep' />");
});

jQuery(document).ready( function() {
jQuery('#slider ul').cycle({ 
fx:     'scrollHorz', 
speed:   250, 
timeout: 5000, 
random: 0,
pause: 1,
next:   '#next', 
prev:   '#prev' 
});
});



jQuery('.single .Cart66Price:contains("Price: ")').each(function() {
  jQuery(this).text(jQuery(this).text().replace(/Price: /, ''));
});


//jQuery(document).ready( function() {
//jQuery('td div:contains("Invalid coupon")').addClass('error');

//});



jQuery(document).ready( function() {
jQuery('input[type="image"]').attr('src','http://dentalogica.com/wp-content/themes/dentalogica/images/btn_xpressCheckout.gif').show();
});

jQuery(document).ready( function() {
jQuery('#page form:eq(1)').addClass('paypal');
});

jQuery(document).ready( function() {
jQuery('td div br').remove();
});



jQuery('#post-192 .entry-content').masonry({
  singleMode: true, 
  itemSelector: 'dl' 
});

jQuery(document).ready(function() {
   	jQuery(".edit-link").hide(); 
        var hide = true;
             jQuery(".post").hover(function(){
        if (hide) clearTimeout(hide);
        jQuery(".edit-link").fadeIn();
    }, function() {
         hide = setTimeout(function() {
            jQuery(".edit-link").fadeOut();
        }, 500);
   }); 
  });

