/** text replacement **/
jQuery.noConflict();
jQuery(document).ready(function(){
								
//	var welcomeText = jQuery('.welcomeText').text().replace('Welcome!', 'Hello');
//	jQuery('.welcomeText').text(welcomeText);

	var signOut = jQuery('.signOut a').text().replace('Sign Out', 'Sign In / Sign Out');
	jQuery('.signOut a').text(signOut);

	var browseRefinementsH2 = jQuery("div#browseRefinements h2").text().replace("Refine by", "Search by");
	jQuery("div#browseRefinements h2").text(browseRefinementsH2);
	
	var ourPrice = jQuery("body.detail div.productDetailPrice dt.price").text().replace("Price:", "Our Price:");
	jQuery("body.detail div.productDetailPrice dt.price").text(ourPrice);
	
	var listPrice = jQuery("body.detail div.productDetailPrice dt.listPrice").text().replace("Our price:", "List Price:");
	jQuery("body.detail div.productDetailPrice dt.listPrice").text(listPrice);
	
	var salePrice = jQuery("body.detail div.productDetailPrice dt.salePrice").text().replace("Sale", "Our Price:");
	jQuery("body.detail div.productDetailPrice dt.salePrice").text(salePrice);
	
	var savings = jQuery("body.detail div.productDetailPrice dt.savings").text().replace("You save", "Save:");
	jQuery("body.detail div.productDetailPrice dt.savings").text(savings);

	jQuery("#searchResultsContainer dt.price").each(function(){
		jQuery(this).text('Our Price:');
	});
	//Product List widget
	jQuery(".productListWidget dt.price").each(function(){
		jQuery(this).text('Our Price:');
	});
	
	jQuery("#searchResultsContainer dt.listPrice").each(function(){
		jQuery(this).text('List Price:');
	});
	
	//Product List widget
	jQuery(".productListWidget dt.listPrice").each(function(){
		jQuery(this).text('List Price:');
	});

	jQuery("#searchResultsContainer dt.salePrice").each(function(){
		jQuery(this).text('SALE PRICE:');
	});
	//Product List widget
	jQuery(".productListWidget dt.salePrice").each(function(){
		jQuery(this).text('SALE PRICE:');
	});

	jQuery('<h5>Product Details</h5>').insertBefore('body.detail div#center-12 ul.productInfo');

	var pTitle = jQuery('body.detail div#center-3 h2#productTitle').html();
	jQuery('<h4>' + pTitle + '</h4>').insertBefore('body.detail div#center-12 div.information div.productInfo');
	


//jQuery('body.detail #center-5').append('<p class="freeshipping"><em><u>Free Shipping</u></em> on all orders over $25.00!</p>');


	// add class to firefox							
	var ua = jQuery.browser;
  if (ua.mozilla) {
    jQuery('body').addClass('firefox');
  }
							
// add () to cart count in header
var count = jQuery('span.itemCount').text();
var count = "(" +  count + ")";
jQuery('span.itemCount').text(count);

// change cutomer reviews image
jQuery("img[src='http://ecx.images-amazon.com/images/I/01E92zju%2BeL.gif']").attr('src','/media/common/store-review-button.png');
jQuery("img[src='/media/common/store-review-button.png']").attr('width','75');
jQuery("img[src='/media/common/store-review-button.png']").attr('height','10');
});
