if(navigator.appName=="Netscape"){
	var currentElement = document.createElement("input");
	currentElement.setAttribute("type", "text");
	currentElement.setAttribute("style", "border:1px solid #ff0000; position:absolute; top:-100px;");
	document.body.appendChild(currentElement);
	currentElement.setAttribute("id", "inputdebugffwmodetransparent");
	var _onlyonnewfocus=false;
	var _startme=0;
	var _endme=0;
	
	preparetogivefocustohtml = function(s,startme,endme) {
		if(s=="null") s="";
		document.getElementById("inputdebugffwmodetransparent").value=s;
		_startme=startme;
		_endme=endme;
		_onlyonnewfocus=true;
		if(navigator.platform!="Win32"){
			document.getElementById("inputdebugffwmodetransparent").focus();
			document.getElementById("inputdebugffwmodetransparent").selectionStart=_startme;
			document.getElementById("inputdebugffwmodetransparent").selectionEnd=_endme;
			_onlyonnewfocus=false;
			}
		};
		
	document.onkeyup = function(evt) {
		document.getElementById(SWF_ELEMENT_ID).sendToActionScript(document.getElementById("inputdebugffwmodetransparent").value,document.getElementById("inputdebugffwmodetransparent").selectionStart,document.getElementById("inputdebugffwmodetransparent").selectionEnd);
		};
		
	document.onkeydown = function(evt) {
		if(navigator.platform=="Win32"){
			if(_onlyonnewfocus==true){
				document.getElementById("inputdebugffwmodetransparent").focus();
				document.getElementById("inputdebugffwmodetransparent").selectionStart=_startme;
				document.getElementById("inputdebugffwmodetransparent").selectionEnd=_endme;
				_onlyonnewfocus=false;
				}
			}
		};
	}
