var priceChange = new Array("",
    new Array("&pound;535", "&pound;625", "&pound;775" , "Single", "Single", "Single", "From &pound;185.00", "From &pound;350.00"),
	new Array("&pound;635", "&pound;765", "&pound;915", "Small Double", "Small Double", "Small Double", "From &pound;185.00", "From &pound;495.00"),
	new Array("&pound;655", "&pound;795", "&pound;950", "Double", "Double", "Double", "From &pound;195.00", "From &pound;495.00"),
	new Array("&pound;755", "&pound;895", "&pound;1100", "King", "King", "King", "From &pound;225.00", "From &pound;525.00"),
	new Array("&pound;855", "&pound;995", "&pound;1215", "Cont. King", "Cont. King", "Cont. King", "From &pound;225.00", "From &pound;595.00"),
	new Array("&pound;895", "&pound;1145", "&pound;1365", "Super King", "Super King", "Super King", "From &pound;275.00", "From &pound;675.00")
);
function swapText(aboutId) {
    document.getElementById("price-simplicity").innerHTML = priceChange[aboutId][0];
    document.getElementById("price-simplicity-plus").innerHTML = priceChange[aboutId][1];
	document.getElementById("price-wood").innerHTML = priceChange[aboutId][2];
	document.getElementById("bed-type").innerHTML = priceChange[aboutId][3];
	document.getElementById("bed-type2").innerHTML = priceChange[aboutId][4];
	document.getElementById("bed-type3").innerHTML = priceChange[aboutId][5];
	document.getElementById("headboard").innerHTML = priceChange[aboutId][6];
	document.getElementById("mattress").innerHTML = priceChange[aboutId][7];
    return false;
}

/* Highlight Prices */

$(document).ready(function(){
	$("#price-list > li").click(function() {
		var an = (".highlight span");
		$(an).animate({ 
		color:"#af1e2c"}, 50 );
		$(an).animate({ 
		color:"#bdb6b6"}, 700 );
	});
});