LF = String.fromCharCode(10);
sLF = unescape("%0A");
CRLF = String.fromCharCode(13,10);


// For safari
function get_response_text ( text ) {
	if ( navigator.appVersion.indexOf( "KHTML" ) > -1 ) {
		var esc = escape( text );
		if ( esc.indexOf("%u") < 0 && esc.indexOf("%") > -1 ) {
			text = decodeURIComponent( esc );
		}
	}
	return unescape(text);
}

function strReplace(str){
	return escape(str);
}
/*
    str = str.replace(/&gt;/g, ">"); 
    str = str.replace(/&lt;/g, "<"); 
    str = str.replace(/&amp;/g, "%26"); 
	return str;
}

*/