function ES_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=ES_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function ES_jumpMenuGo(restore){ //v3.0
  var selObj = ES_findObj("Eservices"); if (selObj) ES_jumpMenu(selObj,restore);
}

function ES_jumpMenu(selObj,restore){ //v3.0
  eval("parent.location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var hostType = window.location.hostname;
var jumpTo = "";
if (hostType == '192.168.128.55')
	jumpTo = 'http://192.168.128.55/i_link/login.jsp';
else
	jumpTo = 'https://www.carolinasupplychainservices.com/i_link/login.jsp';
document.write('<select name="Eservices" class="bodyCopy1" onchange="ES_jumpMenu(this,0)"><option value="http://www.b2bid.com">B2Bid&reg;</option><option value="https://www.carolinasupplychainservices.com/ulinkProfile/rta_vendor_invitation.jsp">Rite Aid Vendor Profile Request</option><option value=" '+ jumpTo + ' " selected>i-link&reg; CSCS Client Login</option><option value="http://www.cscsllc.com/cscs">i-link2 Business Intelligence</option></select><input name="Go" type="submit" class="bodyCopy1" id="Go" onClick="ES_jumpMenuGo(0)" value="Go">');