nsString url; url.AssignWithConversion( kAlertIconURL );
nsString url( kAlertIconURL );
NS_IMETHODIMP nsCommonDialogs::Alert(nsIDOMWindow *inParent,  const PRUnichar *inWindowTitle, const PRUnichar *inMsg){	nsresult rv;	nsIDialogParamBlock* block = NULL;	rv = nsComponentManager::CreateInstance( kDialogParamBlockCID,                                                      0,                                                      NS_GET_IID(nsIDialogParamBlock),                                                      (void**)&block );      	if ( NS_FAILED( rv ) )		return rv;	// Stuff in Parameters	block->SetInt( eNumberButtons, 1 );	block->SetString( eMsg, inMsg );		block->SetString( eDialogTitle,inWindowTitle );   	nsString url; url.AssignWithConversion( kAlertIconURL );	block->SetString( eIconURL, url.GetUnicode());		rv = DoDialog( inParent, block, kPromptURL );		NS_IF_RELEASE( block );	return rv;}