if(navigator.platform=="MacPPC"||navigator.platform=="MacIntel"){osPlat="mac";}else{osPlat="win";}if(navigator.userAgent.lastIndexOf("Firefox")>=0){bwsName="firefox";}else if(navigator.userAgent.lastIndexOf("Chrome")>=0){bwsName="chrome";}else if(navigator.userAgent.lastIndexOf("Safari")>=0){bwsName="safari";}else if(navigator.userAgent.lastIndexOf("Netscape")>=0){bwsName="netscape";}else if(navigator.userAgent.lastIndexOf("MSIE")>=0){bwsName="ie";}else if(navigator.userAgent.lastIndexOf("Opera")>=0){bwsName="opera";}else{bwsName="other";}pathbase="../";tarpath="";function styleSetL(tarL,styletype){for(i=0;i<=tarL;i++){if(i>=1){tarpath+=pathbase;}}if(osPlat !=""){document.write('<link rel="stylesheet" type="text/css" href="'+tarpath+'../spotlight_items/css/textsets_'+osPlat+'_'+styletype+'.css"/>');thislevel=tarL;bugkicker();getcache();}}var thisie=false;function bugkicker(){if(osPlat=="win" && bwsName=="ie"){thisie=true;if(navigator.appVersion.indexOf("MSIE 6.0")>=0){document.write('<link rel="stylesheet" type="text/css" href="'+tarpath+'../spotlight_items/css/style_winie6.css"/>');document.write('<script type="text/javascript" src="'+tarpath+'../spotlight_items/js/iepngfix.js" charset="utf-8"></script>');}else if(navigator.appVersion.indexOf("MSIE 7.0")>=0){document.write('<link rel="stylesheet" type="text/css" href="'+tarpath+'../spotlight_items/css/style_winie7.css"/>');}}}function getcache(){cacheAry=new Array("menus_sp_deco_on.gif","menus_base_1_on.jpg","menus_base_2_on.jpg","menus_base_3_on.jpg","menus_base_4_on.jpg","menus_base_5_on.jpg","menus_base_6_on.jpg","menus_base_7_on.jpg","menus_base_8_on.jpg","menus_base_9_on.jpg");for(i=0;i<cacheAry.length;i++){var cacheimg=new Image();cacheimg.src="../spotlight_items/images/"+cacheAry[i];}}var scrOldY=10000;var scrTimer;function scrtotop(){speed=5;if((osPlat=="mac" && bwsName=="ie")||bwsName=="safari"||bwsName=="chrome"||(osPlat=="win" && bwsName=="netscape")){if(document.body.scrollTop>scrOldY){scrEnd();}else{movY=Math.floor((0-document.body.scrollTop)/speed);window.scrollBy(0,movY);scrOldY=document.body.scrollTop;}}else{if(document.documentElement.scrollTop>scrOldY){scrEnd();}else{movY=Math.floor((0-document.documentElement.scrollTop)/speed);window.scrollBy(0,movY);scrOldY=document.documentElement.scrollTop;}}if(movY==0||scrOldY==10000){scrEnd();}else{scrTimer=setTimeout("scrtotop()",30);}}function scrEnd(){scrOldY=10000;clearTimeout(scrTimer);}function setup1st(){setspmenu();setbodyheight();menuctrl();}tarYbase=285;tarYcount=0;var menuTimer;function menuctrl(){nowScrT=document.body.scrollTop||document.documentElement.scrollTop;tarobj=document.getElementById("menus");if(nowScrT<=285-5){tarY=285;}else{tarY=nowScrT+5;bodyH=document.body.clientHeight||document.documentElement.clientHeight;if(tarY>bodyH-95-document.getElementById("menus").clientHeight){tarY=bodyH-95-document.getElementById("menus").clientHeight;}}if(tarYbase==tarY){if(tarYcount<=15){tarYcount++;}else{nowY=tarobj.offsetTop;movY=Math.floor((tarY-nowY)/5);tarobj.style.top=nowY+movY+"px";}}else{tarYcount=0;tarYbase=tarY;}menuTimer=setTimeout('menuctrl()',20);}function setbodyheight(){tarbody=document.getElementById("contbody");tarbodyH=tarbody.clientHeight;tarmenu=document.getElementById("menus");tarmenuH=tarmenu.clientHeight;if(tarbodyH<tarmenuH+140){tarbody.style.height=tarmenuH+120+"px";}}dirAry=new Array();titleAry=new Array();urlAry=new Array();dirAry.push("femtocell");titleAry.push("Femtocell:3G Just for You");urlAry.push("http://www.nec.com/global/solutions/nsp/3g/products_and_solutions/prod_femtocell/");dirAry.push("transportsolutions");titleAry.push("Seize the Initiative with NEC Transport Solutions");urlAry.push("../transportsolutions/index.html");dirAry.push("nextgenerationoss");titleAry.push("A Leading Combination for the Next Generation OSS");urlAry.push("../nextgenerationoss/index.html");dirAry.push("saassolutions");titleAry.push("NEC\'s Ultimate SaaS Solution");urlAry.push("../saassolutions/index.html");dirAry.push("datacenter");titleAry.push("NEC Solutions for Telecom Operators\' Datacenters");urlAry.push("../datacenter/index.html");function setspmenu(){for(i=0;i<dirAry.length;i++){checktxt="/"+dirAry[i]+"/";if(document.location.href.indexOf(checktxt)>=0){contname=dirAry[i];break;}}usetxt="";for(i=0;i<dirAry.length;i++){useURL=urlAry[i];if(contname==dirAry[i]){nowpageStatus=" nowpage";if(document.location.href.indexOf("index.html")>=0){useURL="javascript:scrtotop()";}}else{nowpageStatus="";}usetxt+='<a class="spitem minifontcon'+nowpageStatus+'" href="'+useURL+'">'+titleAry[i]+'</a>';}document.getElementById("spmenubody").innerHTML=usetxt;}
