rem: if (profileCore) {  profileCore.Init("ProfileCore"); } else { dump("profile not created\n"); } }  if (profileCore) {  dump("********DATA: "+data+"\n\n"); profileCore.CreateNewProfile(data); profileCore.StartCommunicator(profName); ExitApp(); } 
add: dump("********DATA: "+data+"\n\n"); profile.createNewProfile(data); profile.startCommunicator(profName); ExitApp(); 
context: function processCreateProfileData(){	//Process Create Profile Data	dump("******processCreateProfileData ROUTINE\n");	var i;	var data = "";    for (i in wizardHash) {		dump("element: "+i+"\n");        dump("value: "+wizardHash[i]+"\n");				if (i == "ProfileName") {			profName = wizardHash[i];			data = data+i+"="+profName+"%";		}		if (i == "ProfileDir") {			profDir = wizardHash[i];			data = data+i+"="+profDir+"%";		}    }	dump("data: "+data+"\n");    dump("calling javascript reflection\n");    var profileCore = XPAppCoresManager.Find("ProfileCore");    if (!profileCore)    {	    //dump("!profileCore\n");		profileCore = new ProfileCore();		//dump("!profileCore\n");		if (profileCore) {			//dump("after ! yes profileCore in if loop\n");			profileCore.Init("ProfileCore");		}		else {			dump("profile not created\n");		}	}	if (profileCore) {	    //dump("yes profileCore\n");		dump("********DATA: "+data+"\n\n");		profileCore.CreateNewProfile(data);		profileCore.StartCommunicator(profName);		ExitApp();	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a0a70c9ca0b6c83902dfc8d9d0a99e1daa1f0dc5/cpw.js/clean/profile/resources/cpw.js