function messageConfirm(msg){
	return (confirm(msg));
}
/**
 * if response to messageConfirm() was yes then submit
 */
function deleteComment(result, btn) {
	if (result)	{
		if (document.all) 
			document.all[btn].click();
		else
			document.getElementById(btn).click();	
	}
}
//function popUp(gotoUrl, w, h) {
//	popup(gotoUrl, w, h);
//}
function popup(gotoUrl, w, h) 
{
 var width  = w;
 var height = h;
 var left   = Math.round((screen.width  - width)/2);
 var top    = Math.round((screen.height - height)/2);
 var params = 'width='+width+',height='+height;
 params += ',top='+top+', left='+left;
 params += ',directories=no';
 params += ',location=no';
 params += ',menubar=no';
 params += ',resizable=no';
 params += ',scrollbars=no';
 params += ',status=no';
 params += ',toolbar=no';

 newwin=window.open(gotoUrl,'emailfriend', params);
 return false;
}

/**
 * Configuration options for comments toolbar
 */

//REMOVED SW26082011
CKEDITOR.config.toolbar_MinimalRichText = [ 
	['Cut','Copy','Paste','-','Undo','Redo','RemoveFormat'], '/',
    ['Format','Bold','Italic','Underline','-','TextColor','BGColor'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],'-','NumberedList','BulletedList','-','Outdent','Indent'
];

