function eventTrigger (e) {
    if (! e)
        e = event;
    return e.target || e.srcElement;
}

function radioClick (e) {
    var obj = eventTrigger (e);
    var notify = document.getElementById && document.getElementById ('emailuser');
    if (notify)
     notify.value = obj.value;
	 //alert(notify.value)
   return true;
}

function loadrest () {
    var list = document.getElementsByTagName ('input');
    if (! list)
        return;
    for (var i = 0; i < list.length; ++i)
        if (list[i].name == 'who' && ! list[i].onclick)
            list[i].onclick = radioClick;
}


function doload () {
    if (document.getElementsByTagName &&
            document.getElementsByTagName ('body')) {
        loadrest ();
    }
}

window.onload = doload;

