//changes text in first cell in right column
function rightText(name) 
	{

	//holds element with id="changeText"
	var cell = document.getElementById('changeText'); 

	//gets all child nodes
	var nodes = cell.childNodes; 		

	//checks if there are any children
	if ( cell.hasChildNodes() )
		{
		while ( cell.childNodes.length >= 1 )
			{
			//removes every child - works better than if
			cell.removeChild( cell.firstChild );       
			} 
		}

//checks the name that is sent to the function and displays new text
	switch (name)
		{
		case "bronze":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding only</h3><ul><li>Daily Mail Forwarding</li><li>We forward your mail anywhere in the world!</li><li>Display you virtual office address on your company literature.</li><li>Choose to have you mail Posted, Collected or even Scanned and Emailed.</li><li>Mail Forwarding is only <span class="strong">£15</span> per month for our EC1 Address.</li></ul>';
			cell.innerHTML = content;
		break;

		case "bronzephone":
			var heading = document.createElement("h3");
			var content = '<h3>Call Answering only - 30 Calls per Month</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span> per month</li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li></ul>';
			cell.innerHTML = content;
		break;		
		
		case "bronzePlus":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 10 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span> per month</li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;

		case "silver":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 20 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span> per month</li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;

		case "silverPlus":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 40 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;
		
		case "gold":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 100 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;
		
		case "goldPlus":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 200 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;
		
		case "platinum":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + 500 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;
		
		case "platinumPlus":
			var heading = document.createElement("h3");
			var content = '<h3>Mail Forwarding + over 500 Telephone calls</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span> per month</li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		break;		
		default : 
			var heading = document.createElement("h3");
			var content = '<h3>Features and Benefits</h3><ul><li>Your choice of Telephone Number:<ul><li>0845 <span class="free">Free</span></li><li>0870 <span class="strong">£1</span></li><li>0207 <span class="strong">£5</span></li></ul></li><li>SMS Messages sent to your mobile for <span class="strong">10p</span> per message.</li><li>Have your mail Scanned and Emailed for just <span class="strong">50p</span> per page.</li></ul>';
			cell.innerHTML = content;
		}	
	};

