ypSlideOutMenu.Registry = []
ypSlideOutMenu.aniLen = 200
ypSlideOutMenu.hideDelay = 1000
ypSlideOutMenu.minCPUResolution = 10
function ypSlideOutMenu(id, dir, left, top, width, height)
{ this.ie = document.all ? 1 : 0
this.ns4 = document.layers ? 1 : 0
this.dom = document.getElementById ? 1 : 0
this.css = ""; if (this.ie || this.ns4 || this.dom) { this.id = id
this.dir = dir
this.orientation = dir == "left" || dir == "right" ? "h" : "v"
this.dirType = dir == "right" || dir == "down" ? "-" : "+"
this.dim = this.orientation == "h" ? width : height
this.hideTimer = false
this.aniTimer = false
this.open = false
this.over = false
this.startTime = 0
this.gRef = "ypSlideOutMenu_"+id
eval(this.gRef+"=this")
ypSlideOutMenu.Registry[id] = this
var d = document
var strCSS = ""; strCSS += '#' + this.id + 'Container { visibility:hidden; '
strCSS += 'left:' + left + 'px; '
strCSS += 'top:' + top + 'px; '
strCSS += 'overflow:hidden; z-index:10000; }'
strCSS += '#' + this.id + 'Container, #' + this.id + 'Content { position:absolute; '
strCSS += 'width:' + width + 'px; '
strCSS += 'height:' + height + 'px; '
strCSS += 'clip:rect(0px ' + width + 'px ' + height + 'px 0px); '
strCSS += '}'
this.css = strCSS; this.load()
}
}
ypSlideOutMenu.writeCSS = function() { document.writeln('<style type="text/css">'); for (var id in ypSlideOutMenu.Registry) { document.writeln(ypSlideOutMenu.Registry[id].css);}
document.writeln('</style>');}
ypSlideOutMenu.prototype.load = function() { var d = document
var lyrId1 = this.id + "Container"
var lyrId2 = this.id + "Content"
var obj1 = this.dom ? d.getElementById(lyrId1) : this.ie ? d.all[lyrId1] : d.layers[lyrId1]
if (obj1) var obj2 = this.ns4 ? obj1.layers[lyrId2] : this.ie ? d.all[lyrId2] : d.getElementById(lyrId2)
var temp
if (!obj1 || !obj2) window.setTimeout(this.gRef + ".load()", 100)
else { this.container = obj1
this.menu = obj2
this.style = this.ns4 ? this.menu : this.menu.style
this.homePos = eval("0" + this.dirType + this.dim)
this.outPos = 0
this.accelConst = (this.outPos - this.homePos) / ypSlideOutMenu.aniLen / ypSlideOutMenu.aniLen
if (this.ns4) this.menu.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT); this.menu.onmouseover = new Function("ypSlideOutMenu.showMenu('" + this.id + "')")
this.menu.onmouseout = new Function("ypSlideOutMenu.hideMenu('" + this.id + "')")
this.endSlide()
}
}
ypSlideOutMenu.showMenu = function(id)
{ var reg = ypSlideOutMenu.Registry
var obj = ypSlideOutMenu.Registry[id]
if (obj.container) { obj.over = true
for (menu in reg) if (id != menu) ypSlideOutMenu.hide(menu)
if (obj.hideTimer) { reg[id].hideTimer = window.clearTimeout(reg[id].hideTimer) }
if (!obj.open && !obj.aniTimer) reg[id].startSlide(true)
}
}
ypSlideOutMenu.hideMenu = function(id)
{ var obj = ypSlideOutMenu.Registry[id]
if (obj.container) { if (obj.hideTimer) window.clearTimeout(obj.hideTimer)
obj.hideTimer = window.setTimeout("ypSlideOutMenu.hide('" + id + "')", ypSlideOutMenu.hideDelay);}
}
ypSlideOutMenu.hideAll = function()
{ var reg = ypSlideOutMenu.Registry
for (menu in reg) { ypSlideOutMenu.hide(menu); if (menu.hideTimer) window.clearTimeout(menu.hideTimer);}
}
ypSlideOutMenu.hide = function(id)
{ var obj = ypSlideOutMenu.Registry[id]
obj.over = false
if (obj.hideTimer) window.clearTimeout(obj.hideTimer)
obj.hideTimer = 0
if (obj.open && !obj.aniTimer) obj.startSlide(false)
}
ypSlideOutMenu.prototype.startSlide = function(open) { this[open ? "onactivate" : "ondeactivate"]()
this.open = open
if (open) this.setVisibility(true)
this.startTime = (new Date()).getTime()
this.aniTimer = window.setInterval(this.gRef + ".slide()", ypSlideOutMenu.minCPUResolution)
}
ypSlideOutMenu.prototype.slide = function() { var elapsed = (new Date()).getTime() - this.startTime
if (elapsed > ypSlideOutMenu.aniLen) this.endSlide()
else { var d = Math.round(Math.pow(ypSlideOutMenu.aniLen-elapsed, 2) * this.accelConst)
if (this.open && this.dirType == "-") d = -d
else if (this.open && this.dirType == "+") d = -d
else if (!this.open && this.dirType == "-") d = -this.dim + d
else d = this.dim + d
this.moveTo(d)
}
}
ypSlideOutMenu.prototype.endSlide = function() { this.aniTimer = window.clearTimeout(this.aniTimer)
this.moveTo(this.open ? this.outPos : this.homePos)
if (!this.open) this.setVisibility(false)
if ((this.open && !this.over) || (!this.open && this.over)) { this.startSlide(this.over)
}
}
ypSlideOutMenu.prototype.setVisibility = function(bShow) { var s = this.ns4 ? this.container : this.container.style
s.visibility = bShow ? "visible" : "hidden"
}
ypSlideOutMenu.prototype.moveTo = function(p) { this.style[this.orientation == "h" ? "left" : "top"] = this.ns4 ? p : p + "px"
}
ypSlideOutMenu.prototype.getPos = function(c) { return parseInt(this.style[c])
}
ypSlideOutMenu.prototype.onactivate = function() { }
ypSlideOutMenu.prototype.ondeactivate = function() { }
function MM_reloadPage(init) { if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;}}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}
MM_reloadPage(true); function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt;}
}
function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments[i]].src = changeImages.arguments[i+1];}
}
}
var preloadFlag = false; function preloadImages() { if (document.images) { aboutus_over = newImage("/siteimages/menu/aboutus-over.jpg"); solutions_over = newImage("/siteimages/menu/solutions-over.jpg"); products_over = newImage("/siteimages/menu/products-over.jpg"); news_over = newImage("/siteimages/menu/news-over.jpg"); partners_over = newImage("/siteimages/menu/partners-over.jpg"); support_over = newImage("/siteimages/menu/support-over.jpg"); aboutsandvine_over = newImage("/siteimages/dropmenu/aboutsandvine-over.gif"); investorrelations_over = newImage("/siteimages/dropmenu/investorrelations-over.gif"); careers_over = newImage("/siteimages/dropmenu/careers-over.gif"); events_over = newImage("/siteimages/dropmenu/events-over.gif"); contactus_over = newImage("/siteimages/dropmenu/contactus-over.gif"); overview_over = newImage("/siteimages/dropmenu/overview-over.gif"); netdemographics_over = newImage("/siteimages/dropmenu/netdemographics-over.gif"); trafficmgmt_over = newImage("/siteimages/dropmenu/trafficmgmt-over.gif"); networkintegrity_over = newImage("/siteimages/dropmenu/networkintegrity-over.gif"); subscriberservice_over = newImage("/siteimages/dropmenu/subscriberservice-over.gif"); pcmm_over = newImage("/siteimages/dropmenu/pcmm-over.gif"); resourcelibrary_over = newImage("/siteimages/dropmenu/resourcelibrary-over.gif"); pts_switch_over = newImage("/siteimages/dropmenu/pts_switch-over.gif"); p2p_element_over = newImage("/siteimages/dropmenu/p2p_element-over.gif"); sos_over = newImage("/siteimages/dropmenu/sos-over.gif"); newshome_over = newImage("/siteimages/dropmenu/newshome-over.gif"); presskit_over = newImage("/siteimages/dropmenu/presskit-over.gif"); awards_over = newImage("/siteimages/dropmenu/awards-over.gif"); analysts_over = newImage("/siteimages/dropmenu/analysts-over.gif"); partnerlogin_over = newImage("/siteimages/dropmenu/partnerlogin-over.gif"); solutionpartners_over = newImage("/siteimages/dropmenu/solutionpartners-over.gif"); channelpartners_over = newImage("/siteimages/dropmenu/channelpartners-over.gif"); preloadFlag = true;}
}
var myMenu1 = new ypSlideOutMenu("menu1", "down", 30, 108, 200, 118); var myMenu2 = new ypSlideOutMenu("menu2", "down", 135, 108, 200, 175); var myMenu3 = new ypSlideOutMenu("menu3", "down", 240, 108, 200, 72); var myMenu4 = new ypSlideOutMenu("menu4", "down", 345, 108, 200, 95); var myMenu5 = new ypSlideOutMenu("menu5", "down", 450, 108, 200, 72); ypSlideOutMenu.writeCSS(); function MM_findObj(n, d) { 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=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x;}
function MM_swapImgRestore() { var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}
function MM_preloadImages() { var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImage() { var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function P7_LH(){ preloadImages();MM_showHideLayers('menu1Content','','show','menu2Content','','show','menu3Content','','show','menu4Content','','show','menu5Content','','show');;}
function P7_LoadHandler(a){ if(a==1||a==3){onload=P7_LH;}if(a>1){onresize=P7_RH;}
}
function toPassword(oInput,oType,oName,oWidth) { var newEl = document.createElement('input'); newEl.setAttribute('name', oName); newEl.setAttribute('type', oType); newEl.setAttribute('value', ''); newEl.style.width = oWidth; newEl.style.backgroundColor = "#D3E09B"; newEl.style.fontFamily = "Verdana, Arial, Helvetica, sans-serif"; newEl.style.fontSize = "11px"; newEl.style.borderLeft = "1px solid #75736E"; newEl.style.borderTop = "1px solid #75736E"; newEl.style.borderRight = "1px solid #F2F0EE"; newEl.style.borderBottom = "1px solid #F2F0EE"; oInput.parentNode.replaceChild(newEl,oInput); toPassword.el = newEl; setTimeout('toPassword.el.focus()',100); return true;}
function MM_reloadPage(init) { if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;}}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}
FlashObject = function(swf, id, w, h, ver, c) { this.swf = swf; this.id = id; this.width = w; this.height = h; this.version = ver || 6; this.align = "middle"; this.redirect = ""; this.sq = document.location.search.split("?")[1] || ""; this.altTxt = "Please <a href='http://www.macromedia.com/go/getflashplayer'>upgrade your Flash Player</a>."; this.bypassTxt = "<p>Already have Flash Player? <a href='?detectflash=false&"+ this.sq +"'>Click here if you have Flash Player "+ this.version +" installed</a>.</p>"; this.params = new Object(); this.variables = new Object(); if (c) this.color = this.addParam('bgcolor', c); this.addParam('quality', 'high'); this.doDetect = getQueryParamValue('detectflash');}
FlashObject.prototype.addParam = function(name, value) { this.params[name] = value;}
FlashObject.prototype.getParams = function() { return this.params;}
FlashObject.prototype.getParam = function(name) { return this.params[name];}
FlashObject.prototype.addVariable = function(name, value) { this.variables[name] = value;}
FlashObject.prototype.getVariable = function(name) { return this.variables[name];}
FlashObject.prototype.getVariables = function() { return this.variables;}
FlashObject.prototype.getParamTags = function() { var paramTags = ""; for (var param in this.getParams()) { paramTags += '<param name="' + param + '" value="' + this.getParam(param) + '" />';}
if (paramTags == "") { paramTags = null;}
return paramTags;}
FlashObject.prototype.getHTML = function() { var flashHTML = ""; if (window.ActiveXObject && navigator.userAgent.indexOf('Mac') == -1) { flashHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '" vspace="3">'; flashHTML += '<param name="movie" value="' + this.swf + '" />'; if (this.getParamTags() != null) { flashHTML += this.getParamTags();}
if (this.getVariablePairs() != null) { flashHTML += '<param name="flashVars" value="' + this.getVariablePairs() + '" />';}
flashHTML += '</object>';}
else { flashHTML += '<embed type="application/x-shockwave-flash" src="' + this.swf + '" width="' + this.width + '" height="' + this.height + '" id="' + this.id + '" align="' + this.align + '" vspace="3"'; for (var param in this.getParams()) { flashHTML += ' ' + param + '="' + this.getParam(param) + '"';}
if (this.getVariablePairs() != null) { flashHTML += ' flashVars="' + this.getVariablePairs() + '"';}
flashHTML += '></embed>';}
return flashHTML;}
FlashObject.prototype.getVariablePairs = function() { var variablePairs = new Array(); for (var name in this.getVariables()) { variablePairs.push(name + "=" + escape(this.getVariable(name)));}
if (variablePairs.length > 0) { return variablePairs.join("&");}
else { return null;}
}
FlashObject.prototype.write = function(elementId) { if(detectFlash(this.version) || this.doDetect=='false') { if (elementId) { document.getElementById(elementId).innerHTML = this.getHTML();} else { document.write(this.getHTML());}
} else { if (this.redirect != "") { document.location.replace(this.redirect);} else { if (elementId) { document.getElementById(elementId).innerHTML = this.altTxt +""+ this.bypassTxt;} else { document.write(this.altTxt +""+ this.bypassTxt);}
}
}
}
function getFlashVersion() { var flashversion = 0; if (navigator.plugins && navigator.plugins.length) { var x = navigator.plugins["Shockwave Flash"]; if(x){ if (x.description) { var y = x.description; flashversion = y.charAt(y.indexOf('.')-1);}
}
} else { result = false; for(var i = 15; i >= 3 && result != true; i--){ execScript('on error resume next: result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'"))','VBScript'); flashversion = i;}
}
return flashversion;}
function detectFlash(ver) { if (getFlashVersion() >= ver) { return true;} else { return false;}
}
function getQueryParamValue(param) { var q = document.location.search; var detectIndex = q.indexOf(param); var endIndex = (q.indexOf("&", detectIndex) != -1) ? q.indexOf("&", detectIndex) : q.length; if(q.length > 1 && detectIndex != -1) { return q.substring(q.indexOf("=", detectIndex)+1, endIndex);} else { return "";}
}
if(Array.prototype.push == null){ Array.prototype.push = function(item){ this[this.length] = item; return this.length;}
}
function Lvl_openWin(u,n,w,h,l,t,c,f) { var x=((screen.width-w)/2);if(c==1){l=x;t=(screen.height-h)/2;}if(c==2){l=x}
f+=',top='+t+',left='+l;LvlWin=window.open(u,n,f);LvlWin.focus();}
MM_reloadPage(true); P7_LoadHandler(1); 
function MM_showHideLayers() { var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v;}
obj.visibility=v;}
}