add: if (profName == "") { alert("You need to enter a profile name."); return; } 
context: function processCreateProfileData(){	//Process Create Profile Data	var i;    for (i in wizardHash) {  		if (i == "ProfileName") {	  		profName = wizardHash[i];  		}  		if (i == "ProfileDir") {	  		profDir = wizardHash[i];  		}    }	var profile = Components.classes["component://netscape/profile/manager"].createInstance();	profile = profile.QueryInterface(Components.interfaces.nsIProfile);	try {		//dump("name,dir = " + profName + "," + profDir + "\n");		profile.createNewProfile(profName, profDir);		profile.startCommunicator(profName);	}	catch (ex) {		alert("Failed to create a profile.");		return;	}		ExitApp();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/275b4ab2b44e01271749fee8b8392e57a8a96fc6/createProfileWizard.js/clean/profile/resources/content/createProfileWizard.js