function ProcessDefaultOnLoad(onLoadFunctionNames)
	{
		//** Uncomment this to see when this runs
		//alert('Fixing the Issue');
		
		ProcessPNGImages();
		UpdateAccessibilityUI();
		
		//** We comment out the offending ootb function
		//** and leave the rest of the functions as they were
		//ProcessImn();
		for (var i=0; i < onLoadFunctionNames.length; i++)
		{
			var expr="if(typeof("+onLoadFunctionNames[i]+")=='function'){"+onLoadFunctionNames[i]+"();}";
			eval(expr);
		}
		if (typeof(_spUseDefaultFocus)!="undefined")
			DefaultFocus();
	}	 


function popupAddEditLinkDialog(mode, loginName, sipAddress, title, description, linkurl, tooltiptext, imageurl, imagealttext, group, linkid, groups, styles, style, openinnewwindow, postBackReference)
{
	if (slwp_enabled)
	{
		var dialogUrl=slwp_webUrl+"/_layouts/CTAssets/ASPX/SummaryLinks/CmsSlwpAddEditLink.aspx";
		dialogUrl+="?Mode="+mode;
		dialogUrl+="&LinkId="+linkid;
		dialogUrl+="&LoginName="+loginName;
		var dialogFeatures="resizable:no;status:no;scroll:no;help:no;";
		if (slwp_isSspAvailable)
		{
			dialogFeatures+="dialogWidth:"+slwpLinkDialogWidth+";"+							 "dialogHeight:"+slwpLinkPeopleCollapsedDialogHeight+";";
		}
		else
		{
			dialogFeatures+="dialogWidth:"+slwpLinkDialogWidth+";"+							 "dialogHeight:"+slwpLinkNoPeopleDialogHeight+";";
		}
		var dialogArguments=new Object();
		dialogArguments.mode=mode;
		dialogArguments.sipAddress=sipAddress;
		dialogArguments.title=title;
		dialogArguments.description=description;
		dialogArguments.linkurl=linkurl;
		dialogArguments.tooltiptext=tooltiptext;
		dialogArguments.imageurl=imageurl;
		dialogArguments.imagealttext=imagealttext;
		dialogArguments.styles=styles;
		dialogArguments.style=style;
		dialogArguments.groups=groups;
		dialogArguments.group=group;
		dialogArguments.openinnewwindow=openinnewwindow=="True" ? true : false;
		slwp_postBackEventReference=postBackReference;
		commonShowModalDialog(dialogUrl, dialogFeatures, slwpDialogCallback, dialogArguments);
	}
}

function _spFormOnSubmitWrapper() 
{
    if (_spSuppressFormOnSubmitWrapper) 
    {
        return true;
    }
    if (_spFormOnSubmitCalled) 
    {
        return false;
    }
    if (typeof (_spFormOnSubmit) == "function") 
    {
        var retval = _spFormOnSubmit();
        var testval = false;
        if (typeof (retval) == typeof (testval) && retval == testval) 
        {
            return false;
        }
    }
    RestoreToOriginalFormAction();
    _spFormOnSubmitCalled = false;
    return true;
}
