jQuery(document).ready(function(){  
  var titles = $$('.cms-index-index .col-main .page-title h2');
  titles.each(function(n){		
          var line = n.innerHTML.split(' ');
          line[0] = '<span>' + line[0] + '</span>';										
          var result_string = '';
          line.each(function(m){
                  result_string += m + ' ';
                  })	
          n.innerHTML = unescape(result_string);				
  })
  
    
});
function price_box(){
    jQuery('.products-list .price-box, .products-grid .price-box').each(function(){
        if(jQuery(this).find('a').length <= 0){
            jQuery(this).addClass('box').prepend('<p>Price:</p>').css('width', function(){
                return jQuery(this).find('p').innerWidth()+ 3 + jQuery(this).children('span').innerWidth();
            });
        }
    });	 
}
function new_products_price_box(){
    jQuery('.products-list .price-box, .products-grid .price-box').each(function(){
        if(jQuery(this).find('a').length <= 0){
            jQuery(this).addClass('box').prepend('<p>Price:</p>');
        }
    });
}


