//Replace old radconfirm with a changed version.  
        var oldConfirm = radconfirm;  
 
        window.radconfirm = function(text, mozEvent)  
        {  
            var ev = mozEvent ? mozEvent : window.event; //Moz support requires passing the event argument manually  
            //Cancel the event  
            ev.cancelBubble = true;  
            ev.returnValue = false;  
            if (ev.stopPropagation) ev.stopPropagation();  
            if (ev.preventDefault) ev.preventDefault();  
              
            //Determine who is the caller  
            var callerObj = ev.srcElement ? ev.srcElement : ev.target;  
            //Call the original radconfirm and pass it all necessary parameters  
            if (callerObj)   
            {  
                //Show the confirm, then when it is closing, if returned value was true, automatically call the caller's click method again.  
                var clientConfirmCallBackFn = function (arg)  
                {             
                    if (arg)  
                    {             
                        callerObj["onclick"] = "";
                        if (callerObj.parentNode.tagName == "A")
                        {
							callerObj.parentNode.setAttribute("onclick", "");
                        }
                        if (callerObj.click) callerObj.click(); //Works fine every time in IE, but does not work for links in Moz  
                        else if (callerObj.tagName == "A") //We assume it is a link button!  
                        {                                                         
                            try 
                            {
                                eval(callerObj.href);
                            }  
                            catch(e){}  
                        }
                        if (callerObj.parentNode.tagName == "A")
                        {
							try
							{
								eval(callerObj.parentNode.href);
							}
							catch(e){}
                        }
                    }  
                }         
                oldConfirm(text, clientConfirmCallBackFn, 330, 180, null, null);     
            }  
            return false;  
        } 
