// centres the .pricingTable div in the overview tab of a product page
// for Computers (Notebooks & Desktops)
$(document).ready(function(){
		    // get all the .price divs into an object
		    // selecting all children of .pricingTable is easiest
		    $pricesObj = $('.pricingTable').children();
		    
		    // how many .price elements do we have?
		    $len = $pricesObj.length;
		    //alert($len);

		    $width = 0;
		    // loop through .price elements, calc overall width
		    for(i = 0; i < $len; i++) {
		      $width += $pricesObj[i].clientWidth;
		    }

		    // pad out with 2px * number of price elements
		    // for products with up to 6 price options
		    if ($len < 7) {
		      $width += (2 * $len);
		    }
		    else { // if more than 6 price options, set padding of each .price box to 2.75px
		      $('.price').css('padding', 2.75);
		    }

		    //alert($width);
		    // finally set width of .pricingTable 
		    $('.pricingTable').width($width);

		    
		    // for Rugged Notebooks, remove the div.pricingComments if no .price elements found
		    if(!$len) {
		      $('.pricingComments').remove();
		    }

		  });





