add: var title; 
context: function changeTitleBar(componentType){    // Sanity check input    if ( componentType == "event" || componentType == "todo" ) {        var args = window.arguments[0];        // Is this a NEW event/todo, or are we EDITing an existing event/todo?        if( "new" == args.mode )          title = document.getElementById( "data-"+componentType+"-title-new" ).getAttribute("value");        else          title = document.getElementById( "data-"+componentType+"-title-edit" ).getAttribute("value");        debug("changeTitleBar: "+title);        document.title = title;    } else {        dump("changeTitleBar: ERROR! Tried to change titlebar to invalid value: "+componentType+"\n");    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6fddcdd59677883e5ab1fea72f354baca52b0ac1/eventDialog.js/clean/calendar/resources/content/eventDialog.js