Ola
mi hanno dato sto script per far aprire delle finestrelle dove inserire il testo
codice:
<SCRIPT LANGUAGE="JavaScript">

function img()
{
    var FoundErrors = '';
    var enterURL   = prompt("Inserisci l'url dell'immagine:", "http://");

    if (!enterURL) {
        FoundErrors += " " + error_no_url;
    }

    if (FoundErrors) {
        alert("Error!"+FoundErrors);
        return;
    }

	doInsert("[IMG]"+enterURL+"[/IMG]", "", false);
}
function url()
{
    var FoundErrors = '';
    var enterURL   = prompt("Inserisci l'url:", "http://");

    if (!enterURL) {
        FoundErrors += " " + error_no_url;
    }

    if (FoundErrors) {
        alert("Error!"+FoundErrors);
        return;
    }

	doInsert(""+enterURL+"", "", false);
}

function B()
{
    var FoundErrors = '';
    var enterURL   = prompt("Inserisci il testo da formattare:", "http://");

    if (!enterURL) {
        FoundErrors += " " + error_no_url;
    }

    if (FoundErrors) {
        alert("Error!"+FoundErrors);
        return;
    }

	doInsert(""+enterURL+"", "", false);
}
function U()
{
    var FoundErrors = '';
    var enterURL   = prompt("Inserisci il testo da formattare:", "http://");

    if (!enterURL) {
        FoundErrors += " " + error_no_url;
    }

    if (FoundErrors) {
        alert("Error!"+FoundErrors);
        return;
    }

	doInsert(""+enterURL+"", "", false);
}
function I()
{
    var FoundErrors = '';
    var enterURL   = prompt("Inserisci il testo da formattare:", "http://");

    if (!enterURL) {
        FoundErrors += " " + error_no_url;
    }

    if (FoundErrors) {
        alert("Error!"+FoundErrors);
        return;
    }

	doInsert(""+enterURL+"", "", false);
}
</SCRIPT>

mi deve inserire i valori che recupera dal popup nel campo testo come devo fare???giacche mi revisionate il codice per
vedere se va bene