function html2text( html )
{
    var text = html.replace( /<[^>]*>/g, '' );
    text = text.replace( /"/g, '"' );
    text = text.replace( /</g, '<' );
    text = text.replace( /&/g, '&' );
    return text;
}
function text2html( text )
{
    var html = text.replace( /&/g,"&");
    html = html.replace( /"/g,""");
    html = html.replace( /