Link to home
Start Free TrialLog in
Avatar of JohnPaddock
JohnPaddock

asked on

run an exe in xml action tag?

this is a section from an xml file that a program we have uses on it's webserver.  My goal is to replace the window.open("http://yahoo.com"); command with somthing that will run an exe that I have, and pass it a parameter.  It doesn't matter to me if it's javascript or xml etc...

<menuItem id="contacts-grid-psship-blankswt" multiMarked="false" singleMarked="true" inDropDown="true" inRightClick="true" enabledCriteria="(true)">
            <label>contactmanagementmenusShip to BlankSWT</label>
                      <action type="javascript">window.open("http://yahoo.com");</action>
</menuItem>      
      
My problem is, the java code I have (below) that will run an exe, is more than 1 line long, and no matter what I try, it won't accept it above.  Is there a way to do the below javascript code in 1 line? or maybe there's an xml way to do it?  I've been trying to use a javascript function, and then call the function, but this software generates the pages dynamically from what looks like xml, java etc, and when I put a java function in this xml, it doesn't make it to the actual webpage.  Maybe it's not even possible the way I'm trying to do it.

var oShell = new ActiveXObject("Shell.Application");
oShell.ShellExecute("C:\\Windows\\notepad.exe","c:\\aa.txt","","open","1");
Avatar of ahoffmann
ahoffmann
Flag of Germany image

can you please post the HTML source as you get it in your browser?
Avatar of JohnPaddock
JohnPaddock

ASKER

sure, here it is.

<html>
<head>
  <meta http-equiv='content-type' content='text/html;charset=UTF-8'>
  <meta http-equiv='expires' CONTENT='0'>
  <meta http-equiv='pragma' CONTENT='no-cache'>
  <meta http-equiv='Cache-Control' CONTENT='no-cache'>
  <META http-equiv="Content-Script-Type" content="text/javascript">
   <link rel='SHORTCUT ICON' href='/IA_IMAGES/favicon.ico'>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
  <link rel="StyleSheet" type="text/css" href="/IA_CSS/style.css" />
  <link rel="StyleSheet" type="text/css" href="/IA_CSS/InterAction.css" />
<script type="text/javascript" language="javascript">
var CONTACT_TYPE = 'Contact Type';
var CONTACT_TYPES = 'Contact Types';
var MARKETING_LIST = 'Marketing List';
var MARKETING_LISTS = 'Marketing Lists';
var ADMIN_FOLDER = 'Administrative Folder';
var ADMIN_FOLDERS = 'Administrative Folders';
var WORKING_LIST = 'Working List';
var WORKING_LISTS = 'Working Lists';
var TEMPLATES_URL_EXTERNAL = 'http://InterActionAPP/IA_TEMPLATES';
var IA_UTIL_CAB_NAME = '/IA_SCRIPTS/IAWebEmail.CAB#version="6,10,0,1";';
var IA_DRS_CAB_NAME = '/IA_SCRIPTS/IADRS.CAB#version="5,54,0,9";';
var CSS_URL = '/IA_CSS/style.css';
var CSS_URL_BASE = '/IA_CSS/InterAction.css';
var PAGE_SERVER='/InterAction';
var IMAGE_URL='/IA_IMAGES';
var XSL_URL='/IA_XSL';
var SCRIPT_URL='/IA_SCRIPTS';
var IA_disableNomenclature=false;
var IA_disableLocaleStore=false;
</script>
    <script type="text/javascript" language="javascript" src="/IA_SCRIPTS/ia_init.js" > </script>
    <script type="text/javascript" language="javascript" src="/IA_SCRIPTS/InterAction.js" > </script>
    <script type="text/javascript" language="javascript" src="/IA_SCRIPTS/nomenclature.js" > </script>
  <title>InterAction&nbsp;-&nbsp;Miller Canfield Personnel</title>
</head>
 
<body style='overflow:auto;' class='nonmodalBody' onload='IA_initalizeDoc();'>
 
<script type="text/javascript" language="javascript">
  window.IA_frameCount = 0;
  window.IA_doPageTiming = false;
  window.IA_pageId='contact_type_results';
  window.IA_resizeTimeMultiplier='1';
</script>
<script language='vbscript'>
Function IA_VBmsgBox(prompt, buttons, title)
IA_VBmsgBox = msgBox(prompt, buttons, title)
End Function
</script>
 
<!-- Begin HTML Wrapper -->
 
<span id='IABEMailSpan' style='display:none;' loadTime='0'></span>
 
<!-- Top Nav -->
<script>
//<!--
var remoteWindow;
//-->
</script>
 
<table cellspacing='0' cellpadding='0' border='0' width='100%' id='IA_top' style='table-layout:fixed;'>
      <tr height="50">
            <td width='121' align='center'>
                    <a href='/InterAction/home?proxyAccount='><img src="/IA_IMAGES/logo-ia.gif" border="0" alt="Home"></a>       </td>
            <td width='13' class='pipeLeft'>&nbsp;</td>
            <td align='left' valign='middle' class="pageTitle" title='Miller Canfield Personnel' nowrap>Miller Canfield Personnel</td>
<td width="410" align="right"><script type="text/javascript" language="javaScript">
function IAOL_setSmartSearchFocus(){ var f = document.getElementById('smartSearchValue');f.focus();f.createTextRange().select();f.onfocus=IA_clearSmartSearchValue;f.onblur=IA_resetSmartSearchValue;}IA_addInitFunc("Set focus to smart search", IAOL_setSmartSearchFocus);
function IA_clearSmartSearchValue() {
      var ssv = document.getElementById('smartSearchValue');
   if (ssv.value == 'Name, Phone, or E-mail...') {
            ssv.createTextRange().select();
   }
   else
   {
       ssv.select();
   }
}
 
function IA_resetSmartSearchValue() {
      var ssv = document.getElementById('smartSearchValue');
   if (ssv.value == '') {
       ssv.value = 'Name, Phone, or E-mail...';
   }
}
 
function IA_isDefaultSmartSearchValue() {
      return document.getElementById('smartSearchValue').value == 'Name, Phone, or E-mail...';
}
function IA_submitContactSearchForm() {
var frm = document.getElementById('IA_contactSearchForm');
if ( ((!IA_isDefaultSmartSearchValue()) && (IA_validateSearchForm(frm,false,'soundsLike'))) )
{
document.getElementById('IA_contactSearchForm').submit();
}
}
</script>
<!-- Top Nav -->
<script type="text/javascript" > 
//<!--
var remoteWindow;
//-->
</script>
 
                <form name='IA_contactSearchForm' method='get' accept-charset='UTF-8' style='margin:0px' action='/InterAction/contact-search-results' onSubmit="return ((!IA_isDefaultSmartSearchValue()) && (IA_validateSearchForm(this,false,'soundsLike')));">
                      <table cellspacing='0' cellpadding='0' border='0' class='findBar'>
                            <tr>
                                  <td style='padding-right:4px' nowrap>Find Contact:</td>
                                  <td><input type='text' id="smartSearchValue" name='smartSearchValue' value="Name, Phone, or E-mail..." class='textbox' style='width:160px'></td>
                                  <td width="35"><a href='javascript:;' onClick='IA_submitContactSearchForm(); event.returnValue=false' class='buttonSearch' title='Search'></a></td>
                                  <td><input type='checkbox'  name='soundsLike' id='soundsLike' value='true'></td>
                                  <td nowrap><label for='soundsLike'>Sounds like</label>&nbsp;</td>
                            </tr>
                      </table>
                  <input type='hidden' name='searchDescription' value='Contact Search Results'>
                  <input type='hidden' name='showNotes' value='true'>
                  <input type='hidden' name='folderId' value='quickSearchFolders;myFolder'>
                  </form>
</td>
<td id="IA_welcome" width="200" align="right" style="padding-right:5px">   <table cellpadding=0 cellspacing=0>
        <tr>
            <td class='welcomeNav' nowrap align='right'>Welcome, <a href='/InterAction/relationship-intelligence?contactId=8590019871&proxyAccount='>Scott</a></td>
        </tr>
        <tr>
            <td nowrap align='right'><a class='separatorListFirst' href='#' onClick='IA_openWindow("/IA_HELP/WebClientHelp.htm","","height=550, width=700,toolbar=false,menubar=false,status=false,location=false,scrollbars,resizable"); return false;'>Help</a><a class='separatorList' href='#' onClick='IA_openWin("/InterAction/user-preferences?&proxyAccount=","remotewin",615,590,"toolbar=false,menubar=false,status=false,location=false,scrollbars,resizable"); return false;'>My InterAction</a></td>
        </tr>
    </table>
</td></tr>
<!-- End Top Nav -->
<tr>
<td valign="top" colspan="5">
<!-- Begin midMenu -->
 
<table id='IA_midMenu' cellspacing='0' cellpadding='0' border='0' width='100%'>
      <tr>
            <td id='IA_midMenuLeft' width='121'>&nbsp;</td>
            <td></td>
            <td>
<table cellspacing='0' cellpadding='0' border='0' width='100%'><tr height='17'><td>&nbsp;            </td>
            <td align='right'><span id='IA_PageMenuBar_Right'></span></td>
<td align="right" nowrap>
<a href='#' class='separatorListFirst' onclick="IA_sendWebEmailLink('http://interactionapp:80/InterAction/contact-type-results?contactfilter=all&filteredresults=false&folderclass=1&folderid=12884901885&foldertypeid=15&gridid=contact-type-contacts-grid&inpreview=true&isprofile=+true&maxresultcount=1000&previewfolderid=12884901885&searchdescription=Miller+Canfield+Personnel&showflag=false\n', document.title );">E-mail Link</a><a href='#' style='padding-right:5px' class='separatorList' onclick="IA_dataChangeRequest('', '');">Change Request</a></td>      </tr>
</table>
</td>      </tr>
</table>
<!-- End midMenu -->
 
</td>
</tr>
</table> <!-- IA_top -->
<div id='IA_leftSide' style='margin-right:5; height:1; display: inline; width:121px'>
<div id="IA_NCWSearchFor" style="padding-left:5px;margin-right:-5px;width:115px;height:81px">
<div id="IA_ncwButton" style='padding: 5px 0px 15px 2px;height:36px'><div style="width:108px"><a class="buttonLarge" style="margin:0px;" onmouseout="this.blur()" href='javascript:;' onclick='this.blur();if(typeof IA_openWin != "undefined") {IA_openWin("/InterAction/new-contact-wizard?&proxyAccount=");} //'><span>New Contact</span></a></div></div>
<div id="IA_searchForDropDownDiv" style="padding:6px 0 18px 8px;width:121px;height:30px"><div class="selectDiv" style="z-index:9;width:112;left:10;position:absolute;"><div class="selectNormal"><select id="IA_searchForDropDown" class='textbox' style="width=112;" onChange='IA_searchFor(this,"&proxyAccount=");' onblur='IA_autoResizeSelect(this); event.returnValue=false' onclick='IA_autoResizeSelect(this); event.returnValue=false' onfocus='IA_autoResizeSelect(this); event.returnValue=false' onmousedown='IA_autoResizeSelect(this); event.returnValue=false' defaultWidth='112'>
<option value=''>Search for...</option><option value='10003'>swt</option><option value='5001'>People</option><option value='5002'>Companies</option><option value='5004'>List Searches</option><option value='5005'>Other Searches</option><option value='10002'>Personnel</option><option value='activity-selections'>Activities</option></select></div></div></div>
<script>
      IA_populateSearchForDropDown();
</script>
</div>
<div><!-- Begin TopMenu -->
 
<div id='IA_mainMenu' style='overflow:auto; height:expression(IA_getMainMenuHeight()); width:121px'>
<ul class="mainMenuItem">
      <li><a href="#" onClick='location.href="/InterAction/home?proxyAccount=";window.event.cancelBubble=true;'">Home</a></li>
      <li><a href="#" onClick='location.href="/InterAction/watchlist?proxyAccount=";window.event.cancelBubble=true;'">My Alerts</a></li>
      <li><a href="#" onClick='location.href="myContacts?proxyAccount=";window.event.cancelBubble=true;'">My Contacts</a></li>
      <li><a href="#" onClick='location.href="contact-lists-home?folderclass=2&searchdescription=Marketing+Lists&proxyAccount=";window.event.cancelBubble=true;'">Marketing Lists</a></li>
      <li><a href="#" onClick='location.href="contact-lists-home?folderclass=4&searchdescription=Working+Lists&proxyAccount=";window.event.cancelBubble=true;'">Working Lists</a></li>
      <li><a href="#" onClick='location.href="http://interactionapp/InterAction/contact-type-results?contactfilter=all&filteredresults=false&folderclass=1&folderid=12884901885&foldertypeid=15&gridid=contact-type-contacts-grid&inpreview=true&isprofile= true&maxresultcount=1000&previewfolderid=12884901885&searchdescription=Miller Canfield Personnel&showflag=false&proxyAccount=";window.event.cancelBubble=true;'">Miller Canfield Personnel</a></li>
      <li><a href="#" onClick='location.href="http://interactionapp/InterAction/search-contacts-by-activity-modal?folderid=12884901885&foldertypeid=15&format=&gridid=contact-type-contacts-grid&layoutname=search&methodtocall=getSearchForm&proxyaccount=&showflag=false&showremovefromlist=&proxyAccount=";window.event.cancelBubble=true;'">Search Miller Canfield Personnel</a></li>
</ul>
</div>
<!-- End TopMenu -->
 
</div>      <div id='IA_leftBottomLogo' style="width:121px"><div width="121"><a href="http://www.interaction.com" target="_blank"><img src="/IA_IMAGES/logo-ln.gif" border="0" valign="bottom" alt="LexisNexis&reg;"></a></div></div>
</div>
<!-- IA_leftSide--><script language="javascript">
      IA_addInitFunc("set height and width of page framework", IA_resize)</script>
      <span id='IA_mainBody' class='overflowAuto' style='position:absolute;left:126px;padding-left:5px;'>
                  <table cellspacing='0' cellpadding='0' border='0' width='100%'>
                        <tr><td>
 
<!-- Begin Section -->
 
<!--Section Content Table -->
<table class="sectionContentNoBorder" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td valign="top"  width="30%">
<!-- Nugget Container-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
<td>                        <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                            <tr>
                                <td  align='left'class="">
 
<!-- Begin Nugget: contactListsMyContactsFilter.jsp -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<script>
var FIRM_LIST = 'Firm List';
var IA_CURRENT_USER = 'swtiessen';
var IA_PIM_STRING = 'Outlook(R)';
</script>
 
 
 
 
 
 
<form>
<table cellpadding=0 cellpadding=0 border=0>
<tr>
<td>&nbsp;Show:&nbsp;</td>
<td>
      <div class="selectDiv"><div class="selectNormal">
            <select class="textbox" size="1" onChange='IA_changeLocation(this)' onblur='IA_autoResizeSelect(this); event.returnValue=false' onclick='IA_autoResizeSelect(this); event.returnValue=false' onfocus='IA_autoResizeSelect(this); event.returnValue=false' onmousedown='IA_autoResizeSelect(this); event.returnValue=false' defaultWidth='160' ><option value='contact-list-view?&folderId=12884901885&folderClass=1&isProfile=true&inPreview=true&proxyAccount=&accountName=swtiessen&auditAccountName=SWTIESSEN&previewFolderId=12884901885&searchDescription=Miller+Canfield+Personnel&contactFilter=all&filteredResults=false' selected>All Contacts on This List</option><option value='contact-list-view?&folderId=12884901885&folderClass=1&isProfile=true&inPreview=true&proxyAccount=&accountName=swtiessen&auditAccountName=SWTIESSEN&previewFolderId=12884901885&searchDescription=My Contacts On Miller+Canfield+Personnel&myContactsOnList=true&contactFilter=my&filteredResults=true' >My Contacts on This List</option></select>
      </div></div>
</td>
<td style="padding-left:30px" nowrap><a href='javascript:;' onClick='if(typeof IA_openWin != "undefined") {IA_openWin("/InterAction/search-contacts-by-activity-modal?folderTypeId=15&gridId=contact-type-contacts-grid&format=&folderId=12884901885&showFlag=false&showRemoveFromList=&methodToCall=getSearchForm&layoutName=search&proxyAccount=&accountName=swtiessen&auditAccountName=SWTIESSEN");} event.returnValue=false;'>Search This List</a></td>
</tr>
</table></form>
 
<script>
function IA_changeLocation(obj)
{
    location.href = obj.options[obj.selectedIndex].value;
 
}
//document.getElementById("IA_PageMenuBar_Right").innerHTML = "<a href='javascript:;' onClick='if(typeof IA_openWin != \"undefined\") {IA_openWin(\"/InterAction/search-contacts-by-activity-modal?folderId=12884901885&methodToCall=getSearchForm&layoutName=search&proxyAccount=&accountName=swtiessen&auditAccountName=SWTIESSEN\");} event.returnValue=false;'>Search This List</a>&nbsp;&nbsp;&nbsp;";
</script>
 
 
 
 
 
 
 
 
<script type="text/javascript">
 
            </script>
 
 
 
<!-- End Nugget: contactListsMyContactsFilter.jsp -->
 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
<!-- End Nugget Container-->
        </td> <!-- End Nugget Column -->
        <td valign="top"  width="70%">
<!-- Nugget Container-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
<td>                        <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                            <tr>
                                <td  align='left'class="">
 
<!-- Begin Nugget: addListMember.jsp -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<script>
var FIRM_LIST = 'Firm List';
var IA_CURRENT_USER = 'swtiessen';
var IA_PIM_STRING = 'Outlook(R)';
</script>
 
 
 
 
 
 
 
 
 
 
 
<script type="text/javascript">
 
            </script>
 
 
 
<!-- End Nugget: addListMember.jsp -->
 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
<!-- End Nugget Container-->
        </td> <!-- End Nugget Column -->
    </tr>
</table> <!-- End Section Content Table -->
                        </td></tr><!-- Close off row in body-->
                        <tr><td><!-- New Section Row-->
 
<!-- Begin Section -->
 
<!--Section Content Table -->
<table class="sectionContentNoBorder" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td valign="top"  width="100%">
<!-- Nugget Container-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
<td>                        <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                            <tr>
                                <td class="">
 
<!-- Begin Nugget: grid2.jsp -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<script>
var FIRM_LIST = 'Firm List';
var IA_CURRENT_USER = 'swtiessen';
var IA_PIM_STRING = 'Outlook(R)';
</script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<script>
 
var MODULE_ID           = '1';
var MODULE_CODE         = '1';
var IMM_NAME = 'Matter';
var IOM_NAME = 'Opportunity';
var IEM_NAME = 'Engagement';
var SAM_NAME = 'Account Plan';
</script>
 
 
 
 
    <div id="IA_contact-search-results">
      <script>
 
      var IA_XML = null;
      var IA_XSL = null;
      var IA_URL = null;
    var IA_gridObjects = null;
      var IRIS_SERVER = "http://InterActionAPP:8100/InterAction";
      var IRIS_SERVER_80 = "/InterAction";
      var gridPersistenceExpireSecs = 600;;
 
function IAOL_gridjsp_1()
{
      var msxml = IA_getMSXMLVersion();
 
      IA_XML = new ActiveXObject(msxml);
      IA_XSL = new ActiveXObject(msxml);
      IA_URL = "/InterAction/findContacts?&gridId=contact-type-contacts-grid&format=short&methodName=contact-type-results&searchDescription=Miller+Canfield+Personnel&folderId=12884901885&maxResultCount=1000&showNotes=&isProfile=true&profileId=&previewFolderId=12884901885&fieldFocus=IA_TOPFRAME.document.all.contactName&refineSearchMethod=layoutProcessorModal&refineSearchParms=folderId%3D12884901885%26methodToCall%3DgetSearchForm%26layoutName%3Dsearch%26proxyAccount%3D&filteredResults=false&showFlag=false&accountName=swtiessen&auditAccountName=SWTIESSEN&asyncCookie=13603";
 
      IA_XML.async = false;
      IA_XSL.async = false;
    var useInlineXML = false;
 
 
      // This next block of code is for reading client-side persistent
      // settings for customized view filter controls.
      // In order to modify the XML data request from the web client side,
    // we read a set of key/value pairs from an XML data store (usually
    // used for persistence).  We'll tack the parameters onto the original
    // XML request and re-request it.  Note that this over-rides the inlineXML
    // parameter, and makes the appserver throw away any asynch request.
       
 
            // create pointer to the master grid array
            IA_gridObjects = IA_getGridRegistry(true);
 
            var gridObj = new Object();
        var gridIndex = (typeof IA_gridObjects.num != "undefined")? (IA_gridObjects.num + 1) : 0
            gridObj.id = "IA_contact-search-results";
            IA_gridObjects.currentGrid = gridObj;
            gridObj.idx = gridIndex;
            gridObj.scrollTop = 0;
            gridObj.checkedRowsTotal = 0;
            gridObj.scrollConstant = 37;
            gridObj.contentTDHeight = 0;      // pixel height of the <TD> element that contains grid rows
            gridObj.contentTDWidth = 0;            // pixel width of the <TD> element that contains grid rows
            gridObj.topRowIdx = 0;                  // the index of the first row to be displayed in the grid
            gridObj.rowHeight = 22;                  // pixel height of a row
            gridObj.rowCount = 0;                  // number of rows that can be displayed based on the size of the grid
            gridObj.onScrollCount = 0;            // see IA_scrollerOnScroll() for explaination
            gridObj.proxyAccount = '';
            gridObj.auditAccountName = 'SWTIESSEN';
            gridObj.userId = "149";
            gridObj.smartSearchValue = "";
            gridObj.soundsLike= '';
            gridObj.contactLinkPage = '';
            gridObj.setGridMethods = IA_setGridMethods;
            gridObj.defaultSortedColumnValue = "";
            gridObj.defaultSortedDataType = "";
            gridObj.keyUp = true;
            gridObj.setGridMethods();
            gridObj.isMarkedOperation = "";
            gridObj.setGridAttributes();      // make DOM object references
            gridObj.loadState();                  // load any persisted state settings
 
            // If the "viewAll" setting was persisted, reapply here...
            if((typeof gridObj.stateSettings != "undefined") && (gridObj.stateSettings["viewAll"] == "true") && (gridObj.viewAllDisplayed() == "false"))
            {
                  gridObj.URL = IA_URL = IA_URL.replace(/&maxResultCount=[^&]*/i, "").replace(/&maxResultCount=.*$/i, "").replace(/&asyncCookie=[^&]*/i, "").replace(/&asyncCookie=.*$/i, "") + "&maxResultCount=0";
                  useInlineXML = false;
            }
            // Load the XML either via the inline XML String or via a server call.
            // the inline XML is only used on minigrids when we don't have any client
            // side filter in effect.
            if (useInlineXML)
            {
                  IA_XML.loadXML("");
            }
            else
            {
                  var xmlDoc = IA_getXMLDOMDocument(IA_URL);
                  IA_XML.documentElement = xmlDoc.documentElement;
            }
 
            var dataChecksumNode = IA_XML.selectSingleNode("//checksum");
            if(dataChecksumNode != null)
            {
                  gridObj.dataChecksum = dataChecksumNode.text;
            }
 
            // load stylesheet
            IA_XSL.loadXML("<?xml version=\"1.0\" ?><xsl:stylesheet      xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\"      xmlns:msxsl=\"urn:schemas-microsoft-com:xslt\"      xmlns:user=\"http://www.interfacesoftware.com/IA_XSLT\"><xsl:template match=\"/\"><xsl:apply-templates select=\"methodResponse/results/result\"/></xsl:template><msxsl:script language=\"JScript\" implements-prefix=\"user\"><![CDATA[      var lastGroup =\"\";      function IAXSL_groupCheck(nodeList, field, format)      {            var node = nodeList.nextNode();            var retVal = false;                  newGroup = node.selectSingleNode(field).text;            if (lastGroup != newGroup)            {                  lastGroup = newGroup;                   retVal = true;            }            return retVal;      }      function IAXSL_getContactStateToolTip(nodeList, field)      {            var node = nodeList.nextNode();;            var state = parseInt(node.selectSingleNode(field).text, 10);            var retTip = \"unknown state\";            switch(state)            {                  case 102:                        retTip = \"-Specific Contact\";                        break;                  case 0:                        retTip = \"My Contact Only - More Information Needed\";                        break;                  case 103:                        retTip = \" Contact and Firm Contact\";                        break;                  case 1:                        retTip = \"My Contact Only - Private\";                        break;                  case 2:                        retTip = \"My Contact Only\";                        break;                  case 100:                        retTip = \"-Specific Contact - More Information Needed\";                        break;                  case 101:                        retTip = \"-Specific Contact - Private\";                        break;                  case 3:                        retTip = \"My Contact and Firm Contact\";                        break;                  case 4:                        retTip = \"My Contact and Firm Contact\";                        break;                  case 5:                        retTip = \"My Contact and Firm Contact\";                        break;                  case 6:                        retTip = \"My Contact and Firm Contact\";                        break;                  case 7:                        retTip = \"My Contact and Firm Contact\";                        break;                  case 8:                        retTip = \"New Updates Available for this Contact\";                        break;                  case 9:                        retTip = \"Firm Contact Only\";                        break;                  case 108:                        retTip = \" Contact and Firm Contact\";                        break;                  case 10:                        retTip = \"Working List-Specific Contact\";                        break;                  case 109:                        retTip = \"Firm Contact Only\";                        break;                  case 11:                        retTip = \"Marketing List-Specific Contact\";                        break;                  case 106:                        retTip = \" Contact and Firm Contact\";                        break;                  case 107:                        retTip = \" Contact, My Contact and Firm Contact\";                        break;                  case 104:                        retTip = \" Contact and Firm Contact\";                        break;                  case 105:                        retTip = \" Contact and Firm Contact\";                        break;            }            return retTip;      }]]></msxsl:script><xsl:template match=\"methodResponse/results/result\"><div class=\"IA_row\" id=\"IA_row\"><xsl:attribute name=\"idx\"><xsl:value-of select=\"@idx\"/></xsl:attribute><xsl:comment><alphaBar>true</alphaBar><autoNavigation>false</autoNavigation><autoSelect>true</autoSelect><autoSort>false</autoSort><columnHeaders>true</columnHeaders><contactReviewBar>false</contactReviewBar><displayNoInfoFoundMessage>false</displayNoInfoFoundMessage><gridLines>true</gridLines><noResultFieldFocus>$(fieldFocus)</noResultFieldFocus><previewPane>true</previewPane><previewLabel>Preview</previewLabel><summationBar>false</summationBar><refreshType>2</refreshType><resultCount>true</resultCount><groupResultCount>false</groupResultCount><resultCountSuffixSingular>Contact</resultCountSuffixSingular><resultCountSuffixPlural>Contacts</resultCountSuffixPlural><rootPath>methodResponse/results/result</rootPath><refineSearchMethod>$(refineSearchMethod)</refineSearchMethod><refineSearchParms>$(refineSearchParms)</refineSearchParms><refineSearchText>Not all contacts are being displayed.</refineSearchText><viewAllLink>true</viewAllLink><resultObjectType>contact</resultObjectType><reportFunction>report(false)</reportFunction><reportContextType>list</reportContextType><reportLabel>Reports</reportLabel><directReportFunction>report(true)</directReportFunction><directReportLabel>View Printable Version</directReportLabel><reportObjectXpath>IAContactId;contactId</reportObjectXpath><reportId>9989</reportId><reportFormat>0</reportFormat><dataKeyXpath>contactId;IAContactId</dataKeyXpath></xsl:comment><span><xsl:attribute name=\"id\"><xsl:value-of select=\"@idx\"/></xsl:attribute><xsl:comment><gridEvents><mouseover bubble=\"true\"><function name=\"IA_hideRightClickMenu\"/></mouseover><contextmenu bubble=\"true\"><function name=\"IA_showRightClickMenu\"/></contextmenu></gridEvents><rowEvents><contextmenu bubble=\"true\"><function name=\"IA_highlightRow\"/><function name=\"IA_preview\"><parameters><field id=\"IAContactId\" force=\"(xpath(IAContactId))\" /><field id=\"contactId\" force=\"(xpath(contactId))\" /><field id=\"location\" force=\"contact-management-preview\" /><field id=\"profileId\" force=\"($(profileId))\" /><field id=\"previewFolderId\" force=\"($(previewFolderId))\" /><field id=\"showNotes\" force=\"($(showNotes))\" /><field id=\"isProfile\" force=\"($(isProfile))\" /><field id=\"folderId\" force=\"($(folderId))\" /></parameters></function></contextmenu><dblclick bubble=\"true\"><function name=\"IA_location\"><parameters><field id=\"IAContactId\" force=\"(xpath(IAContactId))\" /><field id=\"contactId\" force=\"(xpath(contactId))\" /><field id=\"location\" force=\"relationship-intelligence\" /><field id=\"folderId\" force=\"($(folderId))\" /></parameters></function></dblclick><click bubble=\"true\"><function name=\"IA_highlightRow\"/><function name=\"IA_preview\"><parameters><field id=\"IAContactId\" force=\"(xpath(IAContactId))\" /><field id=\"contactId\" force=\"(xpath(contactId))\" /><field id=\"location\" force=\"contact-management-preview\" /><field id=\"profileId\" force=\"($(profileId))\" /><field id=\"previewFolderId\" force=\"($(previewFolderId))\" /><field id=\"showNotes\" force=\"($(showNotes))\" /><field id=\"isProfile\" force=\"($(isProfile))\" /><field id=\"folderId\" force=\"($(folderId))\" /></parameters></function></click></rowEvents></xsl:comment><span class=\"IA_col1\" id=\"IA_col1\"><xsl:comment><column width=\"18\" image=\"/IA_IMAGES/iconCheckBox.gif\" defaultSort=\"false\" defaultSortOrder=\"ascending\" sortField = \"@checked\"/></xsl:comment><input type=\"checkbox\" id=\"IA_gridCheckBox\"/></span><span class=\"IA_col2\" id=\"IA_col2\"><xsl:comment><column width=\"21\" type=\"IA_row\" image=\"/IA_IMAGES/iconCompanyIndicator.gif\" sortField = \"contactType\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><img><xsl:attribute name=\"align\">middle</xsl:attribute><xsl:attribute name=\"src\">/IA_IMAGES/icon<xsl:value-of select=\"contactType\" />.gif</xsl:attribute><xsl:attribute name=\"title\"><xsl:value-of select=\"contactType\" /></xsl:attribute></img>&#160;</span><span class=\"IA_col3\" id=\"IA_col3\"><xsl:comment><column width=\"22\" type=\"IA_row\" image=\"/IA_IMAGES/iconContactState.gif\" sortField = \"contactStateSortOrder\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><img id=\"IA_el\" idx=\"0\" style=\"margin-right:2px;cursor:hand\"><xsl:attribute name=\"align\">middle</xsl:attribute><xsl:attribute name=\"src\">/IA_IMAGES/iconContactState_<xsl:value-of select=\"contactState\" />.gif</xsl:attribute><xsl:attribute name=\"title\"><xsl:value-of select=\"contactStateToolTip\" /></xsl:attribute><xsl:comment><elementEvents><click bubble=\"true\"><function name=\"IA_askPromoteOrOpenDetails\"><parameters><field id=\"contactState\" force=\"(xpath(contactState))\" /><field id=\"IAContactId\" force=\"(xpath(IAContactId))\" /><field id=\"contactId\" force=\"(xpath(contactId))\" /><field id=\"folderId\" force=\"($(folderId))\" /></parameters></function></click></elementEvents></xsl:comment></img>&#160;</span><span class=\"IA_col4\" id=\"IA_col4\"><xsl:comment><column width=\"15%\" label=\"Name\" type=\"IA_row\" sortField = \"displayName\" sortFieldDataType = \"text\" defaultSort = \"true\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><span id=\"IA_el\" idx=\"1\" style=\"cursor:hand\"><xsl:attribute name=\"class\">gridtextlink</xsl:attribute><xsl:comment><elementEvents><click bubble=\"false\"><function name=\"IA_location\"><parameters><field id=\"IAContactId\" force=\"(xpath(IAContactId))\" /><field id=\"contactId\" force=\"(xpath(contactId))\" /><field id=\"location\" force=\"relationship-intelligence\" /><field id=\"folderId\" force=\"($(folderId))\" /></parameters></function></click></elementEvents></xsl:comment><xsl:value-of select=\"displayName\" /></span>&#160;</span><span class=\"IA_col5\" id=\"IA_col5\"><xsl:comment><column width=\"20%\" label=\"Title\" type=\"IA_row\" sortField = \"jobTitle\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><span><xsl:value-of select=\"jobTitle\" /></span>&#160;</span><span class=\"IA_col6\" id=\"IA_col6\"><xsl:comment><column width=\"25%\" label=\"Company\" type=\"IA_row\" sortField = \"companyName\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><xsl:if test=\"(companyContactState)[.!='']\"><img id=\"IA_el\" idx=\"2\" style=\"margin-right:2px;cursor:hand\"><xsl:attribute name=\"align\">middle</xsl:attribute><xsl:attribute name=\"src\">/IA_IMAGES/iconContactState_<xsl:value-of select=\"companyContactState\" />.gif</xsl:attribute><xsl:attribute name=\"title\"><xsl:value-of select=\"companyContactStateToolTip\" /></xsl:attribute><xsl:comment><elementEvents><click bubble=\"true\"><function name=\"IA_askPromoteOrOpenDetails\"><parameters><field id=\"contactState\" force=\"(xpath(companyContactState))\" /><field id=\"IAContactId\" force=\"(xpath(companyIAContactId))\" /><field id=\"contactId\" force=\"(xpath(companyContactId))\" /></parameters></function></click></elementEvents></xsl:comment></img></xsl:if><xsl:choose><xsl:when test=\"companyContactId[.!='']\"><span id=\"IA_el\" idx=\"3\" style=\"cursor:hand\"><xsl:attribute name=\"class\">gridtextlink</xsl:attribute><xsl:comment><elementEvents><click bubble=\"false\"><function name=\"IA_location\"><parameters><field id=\"contactId\" force=\"(xpath(companyContactId))\" /><field id=\"location\" force=\"relationship-intelligence\" /></parameters></function></click></elementEvents></xsl:comment><xsl:value-of select=\"companyName\" /></span></xsl:when><xsl:otherwise><span><xsl:value-of select=\"companyName\" /></span></xsl:otherwise></xsl:choose>&#160;</span><span class=\"IA_col7\" id=\"IA_col7\"><xsl:comment><column width=\"24%\" label=\"Primary Phone\" type=\"IA_row\" sortField = \"phone\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><span><xsl:value-of select=\"phone\" /></span><xsl:if test=\"(phoneType)[.='1']\"><span>(b)</span></xsl:if><xsl:if test=\"(phoneType)[.='2']\"><span>(b)</span></xsl:if><xsl:if test=\"(phoneType)[.='3']\"><span>(m)</span></xsl:if><xsl:if test=\"(phoneType)[.='5']\"><span>(h)</span></xsl:if><xsl:if test=\"(phoneType)[.='6']\"><span>(o)</span></xsl:if>&#160;</span><span class=\"IA_col8\" id=\"IA_col8\"><xsl:comment><column width=\"32\" label=\"E-mail\" type=\"IA_row\" sortField = \"email\" sortFieldDataType = \"text\" defaultSort = \"false\" defaultSortOrder = \"ascending\" align = \"left\" /></xsl:comment><xsl:if test=\"(email)[.!='']\"><img id=\"IA_el\" idx=\"4\" style=\"margin-right:2px;cursor:hand\"><xsl:attribute name=\"align\">middle</xsl:attribute><xsl:attribute name=\"src\">/IA_IMAGES/iconEmail.gif</xsl:attribute><xsl:attribute name=\"title\">(<xsl:value-of select=\"email\" />)</xsl:attribute><xsl:comment><elementEvents><click bubble=\"true\"><function name=\"IA_sendEmail\"/></click></elementEvents></xsl:comment></img></xsl:if>&#160;</span></span></div></xsl:template></xsl:stylesheet>");
 
            IA_gridObjects['IA_contact-search-results'] = gridObj;
        IA_gridObjects.num = gridIndex;
        IA_gridObjects.gridInstanceArray[IA_gridObjects.gridInstanceArray.length] = "IA_contact-search-results";
 
      
            IA_addRefreshWatch("IA_ALLFIELDS", "IA_getGridRegistry()['IA_contact-search-results'].refreshGrid();");
   
}
IA_addInitFunc("grid init", IAOL_gridjsp_1, "");
 
      // Generic variables
      var IMAGE_URL = '/IA_IMAGES';
    var SCRIPT_URL = '/IA_SCRIPTS';
    var TEMPLATES_URL = '/IA_TEMPLATES';
    var TEMPLATES_URL_EXTERNAL = 'http://InterActionAPP/IA_TEMPLATES';
      var PAGE_SERVER = '/InterAction';
      var PAGE_SERVER_EXTERNAL = 'http://interactionapp:80/InterAction';
      var MAILTO_DELIMITER = ';';
      var MAILTO_NAME_FORMAT = '1';
      var TAGGED_OPS_THRESHOLD = 75;
      var EXPORT_FUNCTION = "";
      var EXPORT_LABEL      = "";
      var EXPORT_TEMPLATE      = "";
      var SPONSOR_LABEL = 'Sponsor';
 
      </script>
      <script src="/IA_SCRIPTS/grid2.js"></script>
      <script src="/IA_SCRIPTS/local/localGrid2.js"></script>
      <table id="IA_widthTABLE" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:expression(IA_getResizeValue(this,IA_getGridNuggetWidth,'null'))"><tr><td></td></tr></table>
      <table id="IA_headerTABLE" border="0" cellspacing="0" cellpadding="0" width="100%" >
            <tr>
                  <td colspan="3" noWrap>
                        <table border="0" cellspacing="0" cellpadding="0" width="100%" class="gridColumns">
                              <tr>
                                    <td></td>
                                    <td align="right"><a ></a></td>
                              </tr>
                        </table>
                  </td>
            </tr>
            <tr>
                  <td align="right" colspan="3">
                        <div id="IA_alphaBarDIV" height="13" width="275" style="display:none;padding-top:2px;padding-bottom:2px"></div>
                  </td>
            </tr>
            <tr class="bgActionBarGrid">
                  <td id="IA_dropDownMenusTD" style="display:none" colspan="2"><table cellspacing='0' cellpadding='0' border='0'><tr><td><table cellspacing='0' cellpadding='0' border='0'>
<tr class='dropdownmenugrid' valign='top'>
<td align='left' menuPadding'>
<div id='IA_mainMenuItem' class='menumainitemgrid' onMouseover='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")' onClick='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")'>&nbsp;Edit<img src='/IA_IMAGES/bg-action-arrow-grid.gif' align='absmiddle'><br>
<IFRAME src='/IA_IMAGES/blank.html' id='IA_subMenuGridIA_contact-search-results' name='IA_subMenuGridIA_contact-search-results' class='menusubcontainer' frameBorder='0' marginHeight='0' marginWidth='0' scrolling='auto' style='height:100%' idx=0></IFRAME>
<div id='IA_subMenu' style='position:absolute;top:4px; display:none'>
<script language='javascript'>
var menuActions = new Array();
menuActions.push('parent.IA_editContact();');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&folderId=($(folderId))&modal=true")');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&profileId=($(profileId))&modal=true")');
menuActions.push('parent.IA_editContactAdditionalFields();');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=edit&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("edit-wkw-modal?contactId=(xpath(contactId))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-multiple-wkw-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-contact-categories?IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_locationModal("edit-contact-types-modal?contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("edit-contact-types-multiple-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=remotewin");');
function IA_execMenuAction(idx)
{
  if (typeof parent.IA_TOPFRAME == "undefined") { window.status="Please wait..."; return; }
  parent.IA_hideMenu(true);
  eval(menuActions[idx]);
}
</script>
<table id=IA_dropDownMenuTable class=dropdownmenucontainer border=0 cellspacing=0 cellpadding=0 oncontextmenu='event.returnValue=false' onselectstart='event.returnValue=false'>
<tr>
<td>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(0); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >Contact</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(1); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  visibleCriteria="(($(checkedRowsTotal) <= 1) && ($(folderId) != '') && ($(folderId) > 0) && ($(profileId) == '') && (xpath(contactId)!=''))" >Contact Fields</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(2); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  visibleCriteria="(($(checkedRowsTotal) <= 1) && ($(profileId) != '') && (xpath(contactId)!=''))" >Contact Fields</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(3); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="($(profileId) == '')"  visibleCriteria="(($(checkedRowsTotal) > 1) && ($(folderId) != '') && ($(folderId) > 0) && (xpath(contactId)!=''))" >Contact Fields</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(4); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(IAContactId) || xpath(contactId))" >Notes</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(5); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))" >Marketing Lists</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(6); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="($(checkedRowsTotal) <= 1)" >My Relationship</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(7); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="($(checkedRowsTotal) > 1)" >My Relationship</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(8); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  visibleCriteria="((xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Contact Categories</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(9); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="($(checkedRowsTotal) <= 1)" >Contact Types</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(10); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="($(checkedRowsTotal) > 1)" >Contact Types</div>
</td>
</tr>
</table>
</div>
</div>
</td>
<td align='left''>
<div id='IA_mainMenuItem' class='menumainitemgrid' onMouseover='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")' onClick='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")'>&nbsp;View<img src='/IA_IMAGES/bg-action-arrow-grid.gif' align='absmiddle'><br>
<IFRAME src='/IA_IMAGES/blank.html' id='IA_subMenuGridIA_contact-search-results' name='IA_subMenuGridIA_contact-search-results' class='menusubcontainer' frameBorder='0' marginHeight='0' marginWidth='0' scrolling='auto' style='height:100%' idx=1></IFRAME>
<div id='IA_subMenu' style='position:absolute;top:4px; display:none'>
<script language='javascript'>
var menuActions = new Array();
menuActions.push('parent.IA_editContact();');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&folderId=($(folderId))&modal=true")');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&profileId=($(profileId))&modal=true")');
menuActions.push('parent.IA_editContactAdditionalFields();');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=edit&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("edit-wkw-modal?contactId=(xpath(contactId))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-multiple-wkw-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-contact-categories?IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_locationModal("edit-contact-types-modal?contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("edit-contact-types-multiple-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("phones-addresses-modal?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_report();');
menuActions.push('parent.IA_goToAppointments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToActivities("(xpath(contactId))", "(xpath(IAContactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelated("(xpath(contactId))", "(xpath(contactType))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelMap("(xpath(contactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=200&nuggetTitle=Engagements&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=100&nuggetTitle=Matters&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=300&nuggetTitle=Opportunities&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_goToDocuments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
function IA_execMenuAction(idx)
{
  if (typeof parent.IA_TOPFRAME == "undefined") { window.status="Please wait..."; return; }
  parent.IA_hideMenu(true);
  eval(menuActions[idx]);
}
</script>
<table id=IA_dropDownMenuTable class=dropdownmenucontainer border=0 cellspacing=0 cellpadding=0 oncontextmenu='event.returnValue=false' onselectstart='event.returnValue=false'>
<tr>
<td>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(11); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >Contact</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(12); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >Notes</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(13); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))" >Marketing Lists</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(14); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="(xpath(contactType)!='company')" >Profiles</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(15); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="(xpath(contactType)=='company')" >Profiles</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(16); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="true"  enabledCriteria="($(resultCount) > 0)" >Reports</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div><div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(17); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="(false==true)" >Go to Appointments</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(18); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >Go to Activities</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(19); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')" >Go to Related Contacts</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(20); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactType)=='person'))" >Go to Relationship Map&#153;</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(21); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="(false)" >Go to Engagements</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(22); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="(false)" >Go to Matters</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(23); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="(false)" >Go to Opportunities</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(24); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)!='')"  visibleCriteria="(false==true)" >Go to Documents</div>
</td>
</tr>
</table>
</div>
</div>
</td>
<td align='left''>
<div id='IA_mainMenuItem' class='menumainitemgrid' onMouseover='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")' onClick='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")'>&nbsp;Actions<img src='/IA_IMAGES/bg-action-arrow-grid.gif' align='absmiddle'><br>
<IFRAME src='/IA_IMAGES/blank.html' id='IA_subMenuGridIA_contact-search-results' name='IA_subMenuGridIA_contact-search-results' class='menusubcontainer' frameBorder='0' marginHeight='0' marginWidth='0' scrolling='auto' style='height:100%' idx=2></IFRAME>
<div id='IA_subMenu' style='position:absolute;top:4px; display:none'>
<script language='javascript'>
var menuActions = new Array();
menuActions.push('parent.IA_editContact();');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&folderId=($(folderId))&modal=true")');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&profileId=($(profileId))&modal=true")');
menuActions.push('parent.IA_editContactAdditionalFields();');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=edit&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("edit-wkw-modal?contactId=(xpath(contactId))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-multiple-wkw-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-contact-categories?IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_locationModal("edit-contact-types-modal?contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("edit-contact-types-multiple-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("phones-addresses-modal?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_report();');
menuActions.push('parent.IA_goToAppointments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToActivities("(xpath(contactId))", "(xpath(IAContactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelated("(xpath(contactId))", "(xpath(contactType))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelMap("(xpath(contactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=200&nuggetTitle=Engagements&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=100&nuggetTitle=Matters&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=300&nuggetTitle=Opportunities&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_goToDocuments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
menuActions.push('parent.IA_contactOptions("remove","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("merge-user-contacts-wizard?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&contactType=(xpath(contactType))");//');
menuActions.push('parent.IA_contactOptions("add","(xpath(contactId))");');
menuActions.push('parent.IA_contactOptions("addToFirm","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("mailing-list-add-contacts?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("other-list-add-contacts?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("add-contact-to-category?mode=add&IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_categoryOptions("removeContacts","($(categoryId))",false,"(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("activity-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&companyContactId=(xpath(companyContactId))&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("document-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("reminder-detail?contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&projectId=&folderId=($(folderId))&displaySuccessMessage=true");');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 200);//');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 100);//');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 300);//');
menuActions.push('parent.IA_mailingListOptions("removeFromList?contactId=(xpath(contactId))&folderId=12884901885&checkedRowsTotal=($(checkedRowsTotal))&proxyAccount=&auditAccountName=SWTIESSEN")');
menuActions.push('parent.IA_sendEmail(true);//');
menuActions.push('parent.IA_MailMerge("", "12884901885", "");//');
menuActions.push('parent.IA_gridContactInfoAction("copy");//');
menuActions.push('parent.IA_gridContactInfoAction("email");//');
menuActions.push('parent.IA_locationModal("update-review?IAContactId=(xpath(IAContactId))");//');
menuActions.push('parent.IA_checkIt(true);//');
menuActions.push('parent.IA_checkIt(false);//');
function IA_execMenuAction(idx)
{
  if (typeof parent.IA_TOPFRAME == "undefined") { window.status="Please wait..."; return; }
  parent.IA_hideMenu(true);
  eval(menuActions[idx]);
}
</script>
<table id=IA_dropDownMenuTable class=dropdownmenucontainer border=0 cellspacing=0 cellpadding=0 oncontextmenu='event.returnValue=false' onselectstart='event.returnValue=false'>
<tr>
<td>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(25); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  visibleCriteria="((xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Delete from My Contacts</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(26); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="($(checkedRowsTotal) <= 2)"  visibleCriteria="('' == 'true')" >Merge My Contacts</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(27); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  visibleCriteria="((xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(IAContactId)=='') && ($(hasPersonalCollection)=='true'))" >Add to My Contacts</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div><div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(28); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactId)=='')"  visibleCriteria="((xpath(contactId)=='') && (xpath(contactType)!='none'))" >Add to Firm List</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(29); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="($(checkedRowsTotal) <= 1)" >Add to Marketing Lists</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(30); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="($(checkedRowsTotal) > 1)" >Add to Marketing Lists</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(31); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11'))"  visibleCriteria="(true)" >Add to Working Lists</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(32); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)"  visibleCriteria="((xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Add to Category</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(33); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(($(categoryId)!='') && ($(categoryId)!='none'))"  visibleCriteria="((xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Remove from this Category</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(34); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="true" >Add Activity</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(35); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="true"  visibleCriteria="(false)" >Attach Document</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(36); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="true"  visibleCriteria="(false)" >Add Reminder</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(37); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(contactState)!='102'))"  visibleCriteria="(false)" >Add to Engagement</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(38); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(contactState)!='102'))"  visibleCriteria="(false)" >Add to Matter</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(39); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="((xpath(contactId)!='') && (xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(contactState)!='102'))"  visibleCriteria="(false)" >Add to Opportunity</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(40); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(($(folderId) != '') && (xpath(contactId)!='') && (xpath(deleteAllowed)=='true'))"  visibleCriteria="($(showRemoveFromList) == 'true')" >Delete from this List</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div><div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(41); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false"  enabledCriteria="(xpath(email)!='')" >Send E-mail</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(42); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="false" isNoSelectionEnabled="false" >Create Letters, Envelopes, or Labels</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(43); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >Copy Contact Information</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(44); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="false" isNoSelectionEnabled="false" >E-mail Contact Information</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(45); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(xpath(contactState) == 8)" >Review My Contact Updates</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(46); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="true"  enabledCriteria="($(resultCount) > 0)" >Check All</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(47); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="true" isSingleMarked="true" isNoSelectionEnabled="true"  enabledCriteria="($(resultCount) > 0)" >Uncheck All</div>
</td>
</tr>
</table>
</div>
</div>
</td>
<td align='left''>
<div id='IA_mainMenuItem' class='menumainitemgrid' onMouseover='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")' onClick='IA_showMenu(this,"IA_subMenuGridIA_contact-search-results")'>&nbsp;PS|Ship<img src='/IA_IMAGES/bg-action-arrow-grid.gif' align='absmiddle'><br>
<IFRAME src='/IA_IMAGES/blank.html' id='IA_subMenuGridIA_contact-search-results' name='IA_subMenuGridIA_contact-search-results' class='menusubcontainer' frameBorder='0' marginHeight='0' marginWidth='0' scrolling='auto' style='height:100%' idx=3></IFRAME>
<div id='IA_subMenu' style='position:absolute;top:4px; display:none'>
<script language='javascript'>
var menuActions = new Array();
menuActions.push('parent.IA_editContact();');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&folderId=($(folderId))&modal=true")');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&profileId=($(profileId))&modal=true")');
menuActions.push('parent.IA_editContactAdditionalFields();');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=edit&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("edit-wkw-modal?contactId=(xpath(contactId))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-multiple-wkw-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=IA_relWin");');
menuActions.push('parent.IA_locationModal("edit-contact-categories?IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_locationModal("edit-contact-types-modal?contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("edit-contact-types-multiple-modal?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("phones-addresses-modal?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("profile-view-full-page?modal=true&mode=view&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&modalParameters=remotewin");');
menuActions.push('parent.IA_report();');
menuActions.push('parent.IA_goToAppointments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToActivities("(xpath(contactId))", "(xpath(IAContactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelated("(xpath(contactId))", "(xpath(contactType))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_goToRelMap("(xpath(contactId))", "(xpath(contactState))", "(xpath(folderId))");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=200&nuggetTitle=Engagements&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=100&nuggetTitle=Matters&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_location("list-fullpage?moduleId=300&nuggetTitle=Opportunities&nuggetListId=projects&contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&userId=8590019871&defaultItemId=projects-member-of-recent");');
menuActions.push('parent.IA_goToDocuments("(xpath(contactId))", "(xpath(contactState))", "(xpath(projectId))", "(xpath(folderId))");');
menuActions.push('parent.IA_contactOptions("remove","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("merge-user-contacts-wizard?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&contactType=(xpath(contactType))");//');
menuActions.push('parent.IA_contactOptions("add","(xpath(contactId))");');
menuActions.push('parent.IA_contactOptions("addToFirm","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("mailing-list?contactId=(xpath(contactId))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("mailing-list-add-contacts?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("other-list-add-contacts?contactId=(xpath(contactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true&modalParameters=IA_mlWin");');
menuActions.push('parent.IA_locationModal("add-contact-to-category?mode=add&IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_categoryOptions("removeContacts","($(categoryId))",false,"(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("activity-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&companyContactId=(xpath(companyContactId))&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("document-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("reminder-detail?contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&projectId=&folderId=($(folderId))&displaySuccessMessage=true");');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 200);//');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 100);//');
menuActions.push('parent.IA_projectContactOptions("addContactsToProject", "(xpath(contactId))", false, 300);//');
menuActions.push('parent.IA_mailingListOptions("removeFromList?contactId=(xpath(contactId))&folderId=12884901885&checkedRowsTotal=($(checkedRowsTotal))&proxyAccount=&auditAccountName=SWTIESSEN")');
menuActions.push('parent.IA_sendEmail(true);//');
menuActions.push('parent.IA_MailMerge("", "12884901885", "");//');
menuActions.push('parent.IA_gridContactInfoAction("copy");//');
menuActions.push('parent.IA_gridContactInfoAction("email");//');
menuActions.push('parent.IA_locationModal("update-review?IAContactId=(xpath(IAContactId))");//');
menuActions.push('parent.IA_checkIt(true);//');
menuActions.push('parent.IA_checkIt(false);//');
menuActions.push('parent.IA_locationNew("http://psship.mcps.com/index.php?mod=lab&mode=state&pass=lab_interaction&con_id=(xpath(contactId))&IAcon_id=(xpath(IAContactId))&proxyAccount=&IA=5");');
menuActions.push('window.open("http://psship.mcps.com/index.php?init=createlabel&app_code=interaction");');
menuActions.push('window.open("http://psship.mcps.com/index.php?init=history");');
menuActions.push('var oShell = new ActiveXObject("Shell.Application");');
menuActions.push('
 
var oShell = new ActiveXObject("Shell.Application");
 
oShell.ShellExecute("C:\\Windows\\notepad.exe","c:\\aa.txt","","open","1");
 
 
');
function IA_execMenuAction(idx)
{
  if (typeof parent.IA_TOPFRAME == "undefined") { window.status="Please wait..."; return; }
  parent.IA_hideMenu(true);
  eval(menuActions[idx]);
}
</script>
<table id=IA_dropDownMenuTable class=dropdownmenucontainer border=0 cellspacing=0 cellpadding=0 oncontextmenu='event.returnValue=false' onselectstart='event.returnValue=false'>
<tr>
<td>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(48); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)" >Ship to Selected</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(49); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)" >Ship to Blank</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(50); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)" >History</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(51); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)" >Dial</div>
<div id='IA_dropDownItem' onclick='javascript:IA_execMenuAction(52); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menudropdownitem' isMultiMarked="false" isSingleMarked="true" isNoSelectionEnabled="false"  enabledCriteria="(true)" >Dial2</div>
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
                  <td id="IA_resultCountTD" valign="bottom" align="right" style="display:none;padding-bottom:1px;" noWrap></td>
            </tr>
            <tr>
                  <td colspan="3" style="height:2px">
                  </td>
            </tr>
            <tr>
                  <td colspan="3" width="100%" height="14" class="bgGridColumns" noWrap>
                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                              <tr>
                                    <td><div id="IA_columnHeadersDIV" noWrap style="display:none;margin-left:6" width="100%"></div></td>
                                    <td width="20">&nbsp;</td>
                              </tr>
                        </table>
                  </td>
            </tr>
      </table>
      <div id="IA_searchingDIV" width="100%">Searching ...</div>
      <iframe src="/IA_IMAGES/blank.html" class="" id="IA_gridIFRAME" name="IA_gridIFRAME" width="100%" marginHeight="0" marginWidth="0" scrolling="no" frameborder="0" style="visibility:hidden;height:expression(IA_getResizeValue(this,IA_getInitialGridHeight,'null',true))"></iframe>
      <div id="IA_summationBarDIV" width="100%" class="bgActionBarGrid" style="display:none;padding-left:3px;padding-right:3px;padding-top:1px;padding-bottom:1px;margin-bottom:10px;font-weight:bold;">&nbsp;</div>
      <iframe src="/IA_IMAGES/blank.html" id="IA_previewIFRAME" name="IA_previewIFRAME" width="100%" marginHeight="0" marginWidth="0" scrolling="no" frameborder="0" style="display:none; height:125" height="125"></iframe>
      <iframe src="/IA_IMAGES/blank.html" id="IA_rightClickMenuIFRAME" name="IA_rightClickMenuIFRAME" width="100%" marginHeight="0" marginWidth="0" scrolling="auto" frameborder="0" style="position:absolute;display:none"></iframe>
      <XML id="IA_requestParametersXML"><?xml version="1.0" ?>
  <parameters>
    <field id="accountName" force="swtiessen"/>
    <field id="folderId" force="12884901885"/>
    <field id="filteredResults" force="false"/>
    <field id="browserType" force="IE"/>
    <field id="searchDescription" force="Miller Canfield Personnel"/>
    <field id="isProfile" force="true"/>
    <field id="refineSearchParms" force="folderId=12884901885&amp;methodToCall=getSearchForm&amp;layoutName=search&amp;proxyAccount="/>
    <field id="showFlag" force="false"/>
    <field id="fieldFocus" force="IA_TOPFRAME.document.all.contactName"/>
    <field id="refineSearchMethod" force="layoutProcessorModal"/>
    <field id="auditAccountName" force="SWTIESSEN"/>
    <field id="maxResultCount" force="1000"/>
    <field id="methodName" force="contact-type-results"/>
    <field id="requestURL" force="http://interactionapp/InterAction/contact-type-results?contactfilter=all&filteredresults=false&folderclass=1&folderid=12884901885&foldertypeid=15&gridid=contact-type-contacts-grid&inpreview=true&isprofile=%20true&maxresultcount=1000&previewfolderid=12884901885&searchdescription=Miller%20Canfield%20Personnel&showflag=false&proxyAccount="/>
    <field id="nuggetSequence" force="1"/>
    <field id="profileId" force=""/>
    <field id="gridId" force="contact-type-contacts-grid"/>
    <field id="previewFolderId" force="12884901885"/>
    <field id="format" force="short"/>
    <field id="hasPersonalCollection" force="true"/>
    <field id="instanceId" force="IA_contact-search-results"/>
    <field id="maxNuggetSequence" force="3"/>
    <field id="showNotes" force=""/>
  </parameters></XML>
      <div id="IA_rightClickMenuDIV" style="display:none" onclick="IA_gridObjects['IA_contact-search-results'].displayRightClickMenu(); event.cancelBubble = true; event.returnValue=false"><table id=IA_rightClickMenuTABLE class=dropdownmenucontainer border=0 cellspacing=0 cellpadding=0 oncontextmenu='event.returnValue=false' onselectstart='event.returnValue=false'>
<tr>
<td>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(0); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem' >Edit Contact</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(1); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="(($(checkedRowsTotal) <= 1) && ($(folderId) != '') && ($(folderId) > 0) && ($(profileId) == '') && (xpath(contactId)!=''))" >Contact Fields</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(2); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="(($(checkedRowsTotal) <= 1) && ($(profileId) != '') && (xpath(contactId)!=''))" >Contact Fields</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(3); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(xpath(IAContactId) || xpath(contactId))" >Edit Notes</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(4); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="((xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Edit Contact Categories</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div></td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(5); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="((xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(IAContactId)!='') && ($(hasPersonalCollection)=='true'))" >Delete from My Contacts</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(6); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="('' == 'true')" >Merge My Contacts</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(7); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  visibleCriteria="((xpath(contactState)!='10') && (xpath(contactState)!='11') && (xpath(IAContactId)=='') && ($(hasPersonalCollection)=='true'))" >Add to My Contacts</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div><div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(8); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(xpath(contactId)=='')"  visibleCriteria="((xpath(contactId)=='') && (xpath(contactType)!='none'))" >Add to Firm List</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(9); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="true" >Add Activity</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(10); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="true"  visibleCriteria="(false)" >Attach Document</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(11); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="true"  visibleCriteria="(false)" >Add Reminder</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(12); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(($(folderId) != '') && (xpath(contactId)!='') && (xpath(deleteAllowed)=='true'))"  visibleCriteria="($(showRemoveFromList) == 'true')" >Delete from this List</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div><div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(13); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem' >Create Letters, Envelopes, or Labels</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(14); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem' >Copy Contact Information</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(15); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem' >E-mail Contact Information</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(16); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(xpath(contactState) == 8)" >Review My Contact Updates</div>
<div style='margin-top:-4;margin-bottom:-4;margin-left:2;margin-right:2'><hr class='menuseparator'></div></td>
</tr>
<tr>
<td>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(17); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(true)" >Ship to Selected</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(18); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(true)" >Dial</div>
<div id='IA_rightClickItem' onclick='javascript:IA_execMenuAction(19); event.returnValue=false;' onmouseover='parent.IA_highlightMenu(this);' onmouseout='parent.IA_highlightMenu(this);' class='menurightclickitem'  enabledCriteria="(true)" >Dial2</div>
</td>
</tr>
</table>
<script language='javascript'>
var menuActions = new Array();
menuActions.push('parent.IA_editContact();');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&folderId=($(folderId))&modal=true")');
menuActions.push('parent.IA_locationModal("edit-contact-profile?contactId=(xpath(contactId))&profileId=($(profileId))&modal=true")');
menuActions.push('parent.IA_locationModal("view-all-notes-modal?mode=edit&IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&folderId=($(folderId))&folderClass=($(folderClass))&modalParameters=remotewin");');
menuActions.push('parent.IA_locationModal("edit-contact-categories?IAContactId=(xpath(IAContactId))&checkedRowsTotal=($(checkedRowsTotal))&modal=true");');
menuActions.push('parent.IA_contactOptions("remove","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("merge-user-contacts-wizard?IAContactId=(xpath(IAContactId))&contactId=(xpath(contactId))&contactType=(xpath(contactType))");//');
menuActions.push('parent.IA_contactOptions("add","(xpath(contactId))");');
menuActions.push('parent.IA_contactOptions("addToFirm","(xpath(IAContactId))");');
menuActions.push('parent.IA_locationModal("activity-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&companyContactId=(xpath(companyContactId))&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("document-detail?proxyAccount=&auditAccountName=SWTIESSEN&contactId=(xpath(contactId));&IAContactId=(xpath(IAContactId));&contactState=(xpath(contactState))&projectId=&folderId=($(folderId))");');
menuActions.push('parent.IA_locationModal("reminder-detail?contactId=(xpath(contactId))&IAContactId=(xpath(IAContactId))&projectId=&folderId=($(folderId))&displaySuccessMessage=true");');
menuActions.push('parent.IA_mailingListOptions("removeFromList?contactId=(xpath(contactId))&folderId=12884901885&checkedRowsTotal=($(checkedRowsTotal))&proxyAccount=&auditAccountName=SWTIESSEN")');
menuActions.push('parent.IA_MailMerge("", "12884901885", "");//');
menuActions.push('parent.IA_gridContactInfoAction("copy");//');
menuActions.push('parent.IA_gridContactInfoAction("email");//');
menuActions.push('parent.IA_locationModal("update-review?IAContactId=(xpath(IAContactId))");//');
menuActions.push('parent.IA_locationNew("http://psship.mcps.com/index.php?mod=lab&mode=state&pass=lab_interaction&con_id=(xpath(contactId))&IAcon_id=(xpath(IAContactId))&proxyAccount=&IA=5");');
menuActions.push('var oShell = new ActiveXObject("Shell.Application");');
menuActions.push('
 
var oShell = new ActiveXObject("Shell.Application");
 
oShell.ShellExecute("C:\\Windows\\notepad.exe","c:\\aa.txt","","open","1");
 
 
');
function IA_execMenuAction(idx)
{
  if (typeof parent.IA_TOPFRAME == "undefined") { window.status="Please wait..."; return; }
  parent.IA_hideMenu(true);
  eval(menuActions[idx]);
}
</script>
</div>
      </div>
 
 
 
 
<!-- End Nugget: grid2.jsp -->
 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
<!-- End Nugget Container-->
        </td> <!-- End Nugget Column -->
    </tr>
</table> <!-- End Section Content Table -->
                        </td></tr>
                  </table>
</span>
<iframe src='/IA_IMAGES/blank.html' class="borderAll" STYLE="display:none;position:absolute;width:178;height:178;z-index:100" ID="IA_datePickerDefault" frameborder=0 marginheight=0 marginwidth=0 scrolling=no noresize onClick="IA_closeDatePicker"></iframe>
 
 
<!-- End HTML Wrapper -->
 
</body>
 
</html>
 
<!-- Copyright (c) 2001-2009, LexisNexis(R), a division of Reed Elsevier, Inc. All rights reserved. This program is protected by U.S. and international copyright laws. -->
and where exactly is your problem with that code?
it contains the javascript code as you expect according your question
the code doesn't work.  When I pick the dial2 option from a right-click, it just flashes 'error on page' in the bottom left corner.  It seems to only work if there's only 1 line of javascript in the Action line.  If I could somehow put 2 lines of javascript in the action line I'd be all set.  I've never done anything with xml so I was thinking maybe I'm making some kind of a syntax error or something.  Also I was thinking of trying to use a javascript fuction, but I don't know where I can put that function so it'll show up on the page (as the page appears to by dynamically created). Also, not sure if that would even work.
have you tried:

 <action type="javascript">var oShell = new ActiveXObject("Shell.Application");oShell.ShellExecute("C:\\Windows\\notepad.exe","c:\\aa.txt","","open","1");</action>
</menuItem>
yes, it just flashes 'error on page' in the bottom left corner of ie.
If I only put in the first javascript line though like below, I don't get an error.  Although of course nothing happens though since all it's doing is declaring a var.

 <action type="javascript">var oShell = new ActiveXObject("Shell.Application");</action>
ASKER CERTIFIED SOLUTION
Avatar of JohnPaddock
JohnPaddock

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We got a consultant to make the necessary modifications