var toggle=function(F){if(this.id.indexOf("togglelist-")>-1){var I="View more ";var G="View less ";var A=this.id.split("-");var B=$("#"+this.id).html();if(B!=null){var C=B.indexOf(I);var E=B.indexOf(G);var D=I.length;var H=G.length;$("#"+A[1]).toggle();if(C>-1){B=G+B.substring(C+D)}else{B=I+B.substring(E+D)}$("#"+this.id).html(B)}}};NW=window.NW||{};var extRelatedLinks=new Array();var intRelatedLinks=new Array();var infRelatedLinks=new Array();NW.RelatedLinks=NW.RelatedLinks||{};NW.RelatedLinks=function(){return{topNum:10,split:20,splitID:"relatedlinks",parent:null,child:null,divID:null,topicname:null,docuri:null,setParent:function(A){this.parent=A},setChild:function(A){this.child=A},setDivID:function(A){this.divID=A},setTopicName:function(A){this.topicname=A},setDocURI:function(A){this.docuri=A},linkObj:function(C,A,B){if(C==null||C==""){C="none"}if(A==null||A==""){A="none"}if(B==null||B==""){B="none"}this.title=C;this.href=A;this.linktype=B},init:function(C,E,A,D,B){NW.RelatedLinks.setParent(C);NW.RelatedLinks.setChild(E);NW.RelatedLinks.setDivID(A);NW.RelatedLinks.setTopicName(D);if(B!=null&&B!=""){if(B.indexOf("/article_redesign/")>-1){B=B.substring(17)}B="http://www.networkworld.com"+B}NW.RelatedLinks.setDocURI(B);NW.RelatedLinks.getRelatedLinks()},getRelatedLinks:function(){if(this.divID!=null&&this.divID!=""){if(this.parent==null){this.parent=""}if(this.child==null){this.child=""}var C=intRelatedLinks.concat(extRelatedLinks);var B=new Array();for(var A=0;A<C.length;A++){if(C[A].title!="none"&&C[A].href!="none"){B[A]=C[A]}}C=B;if(C.length<this.topNum){if(infRelatedLinks.length>0){NW.RelatedLinks.writeInformJS()}for(var A=0;A<infRelatedLinks.length;A++){for(var E=0;E<C.length;E++){var D=null;if(infRelatedLinks[A].href.indexOf("http://www.networkworld.com")==-1){D="http://www.networkworld.com"+infRelatedLinks[A].href}else{D=infRelatedLinks[A].href}if(infRelatedLinks[A].title==C[E].title||D==C[E].href){infRelatedLinks.splice(A,1)}}}C=C.concat(infRelatedLinks)}NW.RelatedLinks.writeHTML(C)}},getLinkInfo:function(A){if(A.href.indexOf("/podcast")>-1){return("podcast")}else{if(A.href.indexOf("/video")>-1){return("video")}else{if(A.href.indexOf("/slideshow")>-1){return("slideshow")}else{if(A.href.indexOf("/community")>-1){return("blog")}else{if(A.href.indexOf("/newsletter")>-1){return("blog")}else{if(A.href.indexOf("/columnists")>-1){return("blog")}else{return null}}}}}}},writeHTML:function(B){var D="";var F="";if(this.parent!=""){D+=this.parent}if(typeof (whitepaper)!="undefined"){var E=whitepaper.length;if(E>4){var A=3}else{A=E-2}}for(var C=0;C<B.length;C++){if(C<this.topNum){if(typeof (whitepaper)!="undefined"){if(C==4||C==8){if(this.child!=""){D+=this.child.substring(0,(this.child.length)-1);D+=" class=whitepaper>"}var G=whitepaper[A].href;if(G!=null&&G!=""){G=G.replace("VEO","REL")}D+='<a href="'+G+'">'+whitepaper[A].title+'<span class="relatedtype">WHITEPAPER</span></a>';if(this.child!=""){D+="</"+this.child.substring(1)}A++}}F=NW.RelatedLinks.getLinkInfo(B[C]);if(C!=0&&C%this.split==0&&this.parent!=""){D+="</"+this.parent.substring(1);D+=this.parent.substring(0,(this.parent.length)-1)+' style="display:none" id="'+this.splitID+'">'}if(this.child!=""){D+=this.child.substring(0,(this.child.length)-1);if(F!=null){D+=" class="+F}D+=">"}D+='<a href="'+B[C].href+'?ap1=rcb"';if(B[C].linktype=="inform"){D+=" onclick=\"return Inform.track('related-article', this);\">"+B[C].title}else{D+=">"+B[C].title}if(F!=null){D+='<span class="relatedtype">'+F.toUpperCase()+"</span>";F=null}D+="</a>";if(this.child!=""){D+="</"+this.child.substring(1)}}else{break}}if(this.parent!=""){D+="</"+this.parent.substring(1)}if(intRelatedLinks.length==0&&extRelatedLinks.length==0&&B.length>0){D+='<img src="http://www.networkworld.com/graphics/2007/inform-logo.gif" width="100"  height="23" style="float:right; padding-top: 3px"/>'}D+='<a id="relatedsearch" name="relatedsearch" href="http://www.networkworld.com/search/searchresults.html?ap1=sl&fs='+NW.RelatedLinks.docuri+'">View all related articles</a>';$("#"+this.divID).append(D)},writeInformJS:function(){var A=' <script type="text/javascript"> var Inform = {	clientId: "networkworld",	sectionId: "global"	}; Inform.track = function (linkType, linkEl)    {	var trackingData = {	    url: linkEl.getAttribute("href"),	    item: linkEl.firstChild.nodeValue,	    linkType: linkType	};	var trackingElement = this.generateTrackingElement(trackingData);	document.body.appendChild(trackingElement);	return true; }; Inform.generateTrackingElement = function (trackingData)    {	var trackingImage = document.createElement("IMG");	trackingImage.setAttribute("src", this.generateTrackingUrl(trackingData));	trackingImage.style.position = "absolute";	trackingImage.style.top = "0px";	trackingImage.style.left = "0px";	trackingImage.style.zIndex = "0";	trackingImage.style.visibility = "hidden";	trackingImage.style.display = "none";	return trackingImage; }; Inform.generateTrackingUrl = function (trackingData)    {	return "http://feeds.inform.com/resources/log/img.aspx?act=rnwats&cid=" + this.clientId + "&sid=" + this.sectionId + "&i=" + escape(trackingData.item) + "&u=" + escape(trackingData.url) + "&d=" + (new Date()).getTime(); }; <\/script>';$("#"+this.divID).html(A)}}}();NW.Paging=NW.Paging||{};NW.Paging=function(){return{currentPage:null,pagingDivName:null,pagingID:null,totalPages:null,setCurrentPage:function(A){this.currentPage=A},setPagingDivName:function(A){this.pagingDivName=A},setpagingID:function(A){this.pagingID=A},setTotalPages:function(A){this.totalPages=A},getCurrentPage:function(){return this.currentPage},getPagingDivName:function(){return this.pagingDivName},getPagingID:function(){return this.pagingID},getTotalPages:function(){return this.totalPages},init:function(D,C,A){var B=$(D+" span[id^=page]").get().length;NW.Paging.setTotalPages(B);if(A!=null&&A!=""&&A>0&&A<=B){NW.Paging.writeHTML(D,C,A)}else{NW.Paging.writeHTML(D,C,1)}},writeHTML:function(G,F,E){NW.Paging.setPagingDivName(G);NW.Paging.setpagingID(F);NW.Paging.setCurrentPage(E);var D='<div id="pagenum"><ul id="pages">';var A=parseInt(NW.Paging.getCurrentPage())+1;var B=parseInt(NW.Paging.getCurrentPage())-1;if(this.currentPage>1){D+='<li id="prev"><a id="prevpg'+B+'" class="noline" href="#top"><strong>< Prev</strong></a></li>'}for(var C=1;C<=NW.Paging.getTotalPages();C++){if(C!=this.currentPage){D+='<li><a class="noline" href="#top" id="page'+C+'">'+C+"</a></li>"}else{D+='<li id="currentpage">'+E+"</li>"}}if(this.currentPage<NW.Paging.getTotalPages()){D+='<li id="next"><a id="nextpg'+A+'" class="noline" href="#top">Next ></a></li>'}D+="</ul></div>";if(NW.Paging.getTotalPages()==1){D=""}$("div[id^="+F+"]").html(D);$("span[id=page"+NW.Paging.getCurrentPage()+"]").hide();$("span[id=page"+E+"]").show();$("#pages li a[id^=page]").click(function(J){var K=this.id;var H=K.substring(4);var I=NW.Paging.getCurrentPage();$("span[id=page"+H+"]").show();$("span[id=page"+I+"]").hide();NW.Paging.writeHTML(NW.Paging.getPagingDivName(),NW.Paging.getPagingID(),H);NW.Paging.globalPageRefresh();if(typeof (specialPagingInit)!="undefined"){specialPagingInit()}});if(this.currentPage>1){$("#prev a[id^=prevpg]").click(function(H){NW.Paging.globalPageRefresh();NW.Paging.updateCurrentPage(this.id);if(typeof (specialPagingInit)!="undefined"){specialPagingInit()}})}if(this.currentPage<NW.Paging.getTotalPages()){$("#next a[id^=nextpg]").click(function(H){NW.Paging.globalPageRefresh();NW.Paging.updateCurrentPage(this.id);if(typeof (specialPagingInit)!="undefined"){specialPagingInit()}})}},updateCurrentPage:function(B){var A=B.substring(6);$("span[id=page"+A+"]").show();$("span[id=page"+NW.Paging.getCurrentPage()+"]").hide();NW.Paging.writeHTML(NW.Paging.getPagingDivName(),NW.Paging.getPagingID(),A)},globalPageRefresh:function(){NW.Paging.refreshAds();NW.Paging.updatePageCounts()},refreshAds:function(){var A=Math.random();$("#banner").attr("src",bannersrc+A+"?");$("#imu").attr("src",imusrc+A+"?");$("#cimu").attr("src",imusrc2+A+"?")},updatePageCounts:function(){var B=Math.random();var C=loc.lastIndexOf("/");var D=loc.substring(C+1);var A=author.replace("+"," ");if(D.indexOf("?")>-1){D=D.substring(0,D.indexOf("?"))}_hbSet("n",D);_hbSet("hc3",A+"|"+doctitle);_hbSet("c3",A+"|"+doctitle);_hbSend();_qpixelsent="";quantserve();urchinTracker(D)}}}();NW.SpecialResources=NW.SpecialResources||{};NW.SpecialResources=function(){return{topNum:3,divID:null,typeArray:null,displayName:null,divName:null,moreName:null,imgPath:null,topicName:null,topicID:null,setDivID:function(divID){this.divID=divID},setTypeArray:function(type){this.typeArray=eval(type)},setTopicName:function(topicname){if(topicname!=null&&topicname=="General"){topicname=""}this.topicName=topicname},setTopicID:function(topicid){if(topicid!=null&&topicid=="0"){topicid=""}this.topicID=topicid},setTypeValues:function(type){var imgPaths=new Object();imgPaths.whitepaper="/includes/styles/r08/img/img18.jpg";imgPaths.webcast="/includes/styles/r08/img/img20.jpg";imgPaths.specialreport="/includes/styles/r08/img/img19.jpg";if(type!=null&&type!=""){if(type=="specialreport"){var _displayName="Special Report"}else{var _displayName=type.charAt(0).toUpperCase()+type.substring(1)}this.displayName=_displayName;if(type=="specialreport"){var _divName="reports"}else{var _divName=_displayName.toLowerCase()+"s"}this.divName=_divName;this.moreName=_displayName.toLowerCase();if(typeof (eval("imgPaths."+type))!="undefined"){this.imgPath=eval("imgPaths."+type)}}},linkObj:function(title,href,description){if(title==null||title==""){title="none"}if(href==null||href==""){href="none"}this.title=title;this.href=href;this.description=description},init:function(divID,type,topicname,topicid){NW.SpecialResources.setDivID(divID);NW.SpecialResources.setTypeArray(type);NW.SpecialResources.setTypeValues(type);NW.SpecialResources.setTopicName(topicname);NW.SpecialResources.setTopicID(topicid);NW.SpecialResources.writeHTML(type)},writeHTML:function(type){var htmlTop='<div class="'+this.divName+'"><div class="box"><div class="box-top"><div class="box-bottom"><h2>'+this.displayName+'s</h2><div class="content"><div class="image"><img alt="" src="'+this.imgPath+'"/></div>';var htmlBottom='</div><div class="bottom-links"><a href="http://www.networkworld.com/resourcelibrary/?tid='+this.topicID+"&type="+this.moreName+'">View more '+this.topicName.toUpperCase()+" "+this.moreName+"s</a></div></div></div></div></div>";var html="";html+=htmlTop;for(var i=0;i<this.typeArray.length;i++){if(i<this.topNum){html+='<strong><a style="text-decoration:none;" href="'+this.typeArray[i].href+'">'+this.typeArray[i].title+"</a></strong>";html+="<p>"+this.typeArray[i].description+"</p>"}else{break}}html+=htmlBottom;$("div[id='"+this.divID+"'][class='resource_"+type+"']").append(html)}}}();NW.WinFuncts=NW.WinFuncts||{};NW.WinFuncts=function(){return{popup:function(B,A,D,C){window.open(B,"_blank",D)}}}();var preshown=0;if(typeof (subtopicid)=="undefined"){var subtopicid=0}var practive=0;var author="";var keywords="";var publisher="";var refresh;var adrefresh=0;var timerID=0;var agt=navigator.userAgent.toLowerCase();var is_ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));var firefox=(agt.indexOf("firefox")!=-1);var safari=(agt.indexOf("safari")!=-1);if(refresh){adrefresh=refresh}var adrefresh=60000*adrefresh;var imusrc="";var skysrc="";var bannersrc="";var myref="";if(adrefresh>0){timerID=setTimeout("switchad()",adrefresh)}if(navigator.appVersion.charAt(0)>=4){var outerref;var ref="";if(outerref){ref=outerref}ref=ref.substr(7);ref=ref.slice(0,ref.indexOf("/"));var idgnet_check=new RegExp("(nww.com$)|(networkworld.com$)|(nwfusion.com$)|(idg.net$)|(idg.com$)|(www.vortex.net)|(www.nwwsubscribe.com)|(www.e-businessworld.com)|(www.e-commerceworld.com)|(www.year2000world.com)|(www.techinformer.com)","i");if(top.location!=window.location){if(!idgnet_check.test(ref)&&is_ie){top.location.replace(window.location)}}}new_window=null;function openNewWindow(){new_window=window.open("","new_window","width=800,height=500, scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0");return true}var popWin=null;function openurl(A){closePopWin();popWin=window.open(A,"NewWindow","width=588,height=480,menubar=no,toolbar=no,location=no,scrollbars=0,top=50,left=100")}function closePopWin(){if(navigator.appName!="Microsoft Internet Explorer"||parseInt(navigator.appVersion)>=4){if(popWin!=null){if(!popWin.closed){popWin.close()}}}}function openWindow(B,F,A){var C=screen.width;var E=screen.height;var H=(C-F)/2;var G=(E-A)/2;var D="toolbar=0,location=0,scrollbars=1,resizable=1,width="+F+",height="+A+",left="+H+",top="+G;nwwWin=window.open(B,"nwwWin",D);nwwWin.focus()}function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc}}function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]}}}}function MM_findObj(E,D){var C,B,A;if(!D){D=document}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E]}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document)}return A}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src}if(A.sel!="1"){A.src=B[D+2]}}}}function switchad(){bannersrc="";skysrc="";if(practive==0){var A=Math.random();if(bannersrc!=""){if(document.all){document.frames.banner.location=bannersrc+A+"?"}}if(imusrc!=""){if(document.all){if((imusrc.indexOf("type=sigseries")+imusrc.indexOf("type=supplement")+imusrc.indexOf("type=buyers")+imusrc.indexOf("type=power")+imusrc.indexOf("type=allstar"))<=-5){document.frames.imu.location=imusrc;+A+"?"}}}if(skysrc!=""){if(document.all){document.frames.skyscraper.location=skysrc+A+"?"}}if(bannersrc!=""||imusrc!=""||skysrc!=""){timerID=setTimeout("switchad()",adrefresh)}}}function getmouse(){if((typeof prRoll=="function")&&(typeof f24=="function")){document.onmousemove=newmousemove}}function newmousemove(){f24(e);prRoll(e)}function showdiv(A){if(document.getElementById){var B=document.getElementById(A);if(!B){return }B.style.visibility="visible"}else{if(document.layers){document.dimdiv.visibility="visible"}else{document.all.dimdiv.style.visibility="visible"}}}function hidediv(A){if(document.getElementById){var B=document.getElementById(A);if(!B){return }B.style.display="none"}else{if(document.layers){document.dimdiv.visibility="hidden"}else{document.all.dimdiv.style.visibility="hidden"}}}function findPosX(A){var B=document.getElementById(A);if(!B){return 10000}var C=0;if(B.offsetParent){while(B.offsetParent){C+=B.offsetLeft;B=B.offsetParent}}else{if(B.x){C+=B.x}}return C}function findPosY(A){var C=document.getElementById(A);if(!C){return 10000}var B=0;if(C.offsetParent){while(C.offsetParent){B+=C.offsetTop;C=C.offsetParent}}else{if(C.y){B+=C.y}}return B}function hbxStrip(A){A=A.split("\n").join("");A=A.split("\r").join("");A=A.split("|").join("");A=A.split("&").join("");A=A.split("'").join("");A=A.split("#").join("");A=A.split("$").join("");A=A.split("%").join("");A=A.split("^").join("");A=A.split("*").join("");A=A.split(":").join("");A=A.split("!").join("");A=A.split("<").join("");A=A.split(">").join("");A=A.split("~").join("");A=A.split(";").join("");A=A.split(" ").join("+");return A}if(document.getElementsByName){var metaArray=document.getElementsByName("author");if(metaArray[0]){author=hbxStrip(metaArray[0].content)}var metaArray=document.getElementsByName("keywords");if(metaArray[0]){keywords=hbxStrip(metaArray[0].content)}var metaArray=document.getElementsByName("publisher");if(metaArray[0]){publisher=hbxStrip(metaArray[0].content)}}var newWin;function doneNewCookie(A){var B=A+"=";if(document.cookie.length>0){offset=document.cookie.indexOf(B);if(offset!=-1){return true}else{return false}}else{return false}}function SetCookie(B,H,C,I,F){var G=SetCookie.arguments;var E=SetCookie.arguments.length;var D=null;var C=(E>2)?G[2]:null;var I=(E>3)?G[3]:null;var F=(E>4)?G[4]:null;var A=(E>5)?G[5]:false;if(C!=null){D=new Date(C)}document.cookie=B+"="+H+((D==null)?"":("; expires="+D.toGMTString()))+((I==null)?"":("; path="+I))+((F==null)?"":("; domain="+F))+((A==true)?"; secure":"")}function getQueryParamValue(D){var B=document.location.search||document.location.href.hash;if(B){var C=B.indexOf(D+"=");var A=(B.indexOf("&",C)>-1)?B.indexOf("&",C):B.length;if(B.length>1&&C>-1){return B.substring(B.indexOf("=",C)+1,A)}}return""}function CheckPre(G,F,D,I,E){var B=new Date();B.setHours(0);B.setMinutes(0);B.setSeconds(0);var H=1;for(i=0;i<predates.length;i++){if(Math.round(Math.abs((new Date(predates[i])-B)/86400000))==0){H=0}}if(H==0){var A=document.location.search||document.location.href.hash||"";if(A.indexOf("GG_")==-1&&A.indexOf("YH_")==-1&&A.indexOf("YB")==-1){if(document.domain!="dimension.networkworld.com"&&document.location.href.indexOf("/events")==-1&&document.location.href.indexOf("/onlineresources")==-1){if(doneNewCookie(F)!=true){var C=new Date();C.setDate(C.getDate()+1);SetCookie(F,D,C,I,E);if(doneNewCookie(F)==true&&A.indexOf("CDW_BG")==-1){preshown=1;window.location.href=G}}}}}}function toggleBox(A,C){if(document.layers){document.layers[A].visibility=C?"show":"hide"}else{if(document.getElementById){var B=document.getElementById(A);B.style.display=C?"block":"none"}else{if(document.all){document.all[A].style.display=C?"block":"none"}}}}function doClear(A){if(A.value==A.defaultValue){A.value=""}}function fixAbsPos(){if(window.createPopup&&document.compatMode&&document.compatMode=="CSS1Compat"){document.onreadystatechange=onresize=function A(){if(!document.body){return }if(document.body.style.margin!="0px"){document.body.style.margin=0}onresize=null;document.body.style.height=0;setTimeout(function(){document.body.style.height=document.documentElement.scrollHeight+"px"},1);setTimeout(function(){onresize=A},100)}}}var randomNum=Math.floor(Math.random()*2);var prestitialURL="/includes/ads-pre.html";if(randomNum){prestitialURL="/includes/ads-pre2.html"}CheckPre(prestitialURL,"pre",document.location,"/","networkworld.com");function init(){if(typeof customInit=="function"){customInit()}if(typeof initTip=="function"){initTip()}var B=Math.max(findPosY("ddepth"),findPosY("rdepth"));for(i=10;i>6;i--){if(findPosY("dedepth")>findPosY("ddepth")){var A="depos"+i;hidediv(A)}}if(findPosY("rdepth")>9000){B=findPosY("ddepth")}if(B<findPosY("d4end")){hidediv("d4div")}if(B<findPosY("d5end")){hidediv("d5div")}if(practive>0){adrefresh=0;clearTimeout(timerID)}if(safari){document.addEventListener("click",register,false)}else{document.onclick=register}};