function GetText(divName,playerName)
{
	var oldText = document.getElementById(divName);
	if(playerName == "Gnash"){
		var playerComment = "<p>You seem to be using the Gnash plugin.</p>";
	}else if(playerName == "Swfdec"){
		var playerComment = "<p>You seem to be using the Swfdec plugin.</p>";
	}else if(playerName == "OldFlash"){
		var playerComment = "<p>You seem to have an old version of the Flash Player installed.</p>";
	}else{
		var playerComment = "";
	}
	var newText = oldText.innerHTML;
	newText = newText.replace(/xmlns[\S]*"/g, "");
	newText = newText.replace(/<!.*/g, "");
	newText = newText.replace(/<object.*/g, "");
	newText = newText.replace(/<param.*/g, "");
	newText = newText.replace(/<\/object.*/g, "");
	newText = "<div id=\"viewer_1\">" + playerComment + newText + "</div>";
	document.getElementById(divName).innerHTML = newText;
}
