/**
 * ext_visualsciences_ut.min.js
 * $Revision: $
 *
 *  ext_visualsciences_ut.min.js -- aggregated and minified
 *  DO NOT EDIT THIS FILE -- edit the individual files and rebuild
 *
 * UT ext_visualsciences  js (minified)   (c) 1992-2011 Cisco Systems, Inc. All rights reserved.
 *   Terms and Conditions: http://cisco.com/en/US/swassets/sw293/sitewide_important_notices.html
 * 
 *
 * MANIFEST:
 *      /cdc/fw/m/ext_visualsciences_ut.js 1.10 
 */

/*!
 * BEGIN /cdc/fw/m/ext_visualsciences_ut.js
 */
var disableTracking={flag:0,loc:document.URL,url:["/en/US/docs/","mike.tealium.com"],test:function(){for(var b=0;b<this.url.length;b++){if(this.loc.indexOf(this.url[b])>-1){this.flag=1;break}}}};disableTracking.test();var vs_imgArr=new Array(),vs_hif=-1;for(var i=0;i<10;i++){vs_imgArr[i]=new Image()}function vs_Q(b){vs_hif++;if(vs_hif>10){vs_hif=0}vs_imgArr[vs_hif]="";vs_imgArr[vs_hif]=new Image();vs_imgArr[vs_hif].src=b}function vs_stripChars(d){var b=new Array(">","<",";","'","`","^","[","]","{","}","(",")","#","\\","|","~","&");if(d!=null&&typeof d=="string"){for(var f=0;f<b.length;f++){d=(d.split(b[f])).join("")}}return d}var vs_title=vs_stripChars(document.title);vs_title=encodeURIComponent(vs_title);var vs_basepage_temp=window.location.href;var vs_basepage=vs_stripChars(vs_basepage_temp);var ct="<img width=1 height=1 src=";var cd="//www.cisco.com";var cu="/now/poweredby/flashtag.txt?Log=1";var et="&vs_event=pageview";var bp="&vs_basepage="+vs_basepage;if(typeof v!="undefined"){var vsc="&vs_campaign="+v.vs_campaign;var vs_cs="&vs_countrysite="+v.vs_countrysite}else{var vsc="";var vs_cs=""}var ce=">";var c={};c.sw=screen.width;c.sh=screen.height;c.cd=screen.colorDepth;c.dt=vs_title;c.dr=document.referrer;c.cb=new Date().getTime();var vo="";for(cKey in c){vo=vo+"&"+cKey+"="+escape(c[cKey])}if(typeof v!="undefined"){for(vKey in v){vo=vo+"&"+vKey+"="+escape(v[vKey])}}function getQueryVariable(b){var f=window.location.search.substring(1);f=f.toLowerCase();var g=f.split("&");for(var d=0;d<g.length;d++){var h=g[d].split("=");if(h[0]==b){return h[1]}}return 0}var qs="";if(getQueryVariable("position")!=0){qs=qs+"&position="+getQueryVariable("position")}if(getQueryVariable("country_site")!=0){qs=qs+"&country_site="+getQueryVariable("country_site")}if(getQueryVariable("campaign")!=0){qs=qs+"&campaign="+getQueryVariable("campaign")}if(getQueryVariable("referring_site")!=0){qs=qs+"&referring_site="+getQueryVariable("referring_site")}if(getQueryVariable("tis")!=0){qs=qs+"&tis="+getQueryVariable("tis")}if(getQueryVariable("banner_id")!=0){qs=qs+"&banner_id="+getQueryVariable("banner_id")}if(getQueryVariable("cookie")!=0){qs=qs+"&cookie="+getQueryVariable("cookie")}var perselPrefix="p_";var contentPrefix="pc_";var contentPersel=new Object();var contentView=new Array();if(!disableTracking.flag){var a=document.getElementsByTagName("div");for(var i=0;i<a.length;i++){if(a[i].id.indexOf(contentPrefix)==0){contentView[contentView.length]=a[i].id}}}var trackPersel=new Array();if(contentView.length>0){for(var i=0;i<contentView.length;i++){var x=document.getElementById(contentView[i]);var p=x.parentNode;while(p.nodeName!="BODY"){if(p.nodeName=="DIV"){if(p.id&&p.id.indexOf(perselPrefix)==0){contentPersel[contentView[i]]=p.id;trackPersel[trackPersel.length]=p.id+"|"+contentView[i];break}}p=p.parentNode}}}if((typeof(vpv)=="undefined"||vpv!="0")&&typeof(vs_libloadedflag)=="undefined"){var url=cu+et+bp+vsc+vs_cs+vo+qs;if(trackPersel.length>0){url+="&p_c="+escape(trackPersel.join(","))}}function addEvent(g,f,b){if(g.addEventListener){g.addEventListener(f,b,false);return true}else{if(g.attachEvent){var d=g.attachEvent("on"+f,b);return d}else{return false}}}if(typeof vs_libloadedflag=="undefined"){if(!disableTracking.flag){addEvent(window,"load",startCapture);setTimeout("startCapture()",3000)}}var startCaptureFlag=0;function startCapture(){if(startCaptureFlag==0){startCaptureFlag=1;if(typeof(vlc)=="undefined"||vlc!="0"){captureLink()}}}function captureLink(){if(document.links&&document.links[0]){var b=document.links.length;b=(b<150)?b:150;for(var f=0;f<b;f++){addEvent(document.links[f],"mousedown",captureLinkName)}}for(var f=0;f<document.forms.length;f++){for(var d=0;d<document.forms[f].elements.length;d++){if(document.forms[f].elements[d].type=="button"||document.forms[f].elements[d].type=="submit"){addEvent(document.forms[f].elements[d],"mousedown",captureLinkName)}}}}function captureLinkName(A){if((A.which&&A.which==1)||(A.button&&A.button==1)){var B=document.all?window.event.srcElement:this;var u=B.parentNode;B.content=0;while(u.nodeName!="BODY"){if(u.nodeName=="DIV"){if(u.id&&u.id.indexOf(contentPrefix)==0){B.content=u.id;break}}u=u.parentNode}B.parent=B.parentNode;var o=B.innerHTML;var n="";var r="";var h="";o=o.toLowerCase();if(o.indexOf("img")>0){n=o.substr(o.indexOf("src=")+4,o.length);n=n.substr(0,n.indexOf(" "));r=escape(B.text?B.text:B.innerText?B.innerText:"");r=(r.split("%0A")).join("%20");r=(r.split("%0D")).join("%20");r=(r.split("%09")).join("%20");var f=r.split("%20");var b=new Array();r="";for(var z=0;z<f.length;z++){if(f[z]!="%20"){b[b.length]=f[z]}}r=unescape(b.join(" "));if(o.indexOf(" alt=")>0){var y=o.indexOf(" alt=")+6,w=o.indexOf('"',y);if(w<0){w=o.indexOf("'",y)}if(w>y){h=o.substring(y,w)}}}else{if(B.tagName=="INPUT"){r="button - "+B.value;h=B.name}else{r=B.text?B.text:B.innerText?B.innerText:"";h=B.name}}var m="&vs_imgsrc="+n;var l="&vs_linktext="+r;var q="&vs_linkname="+h;var s="&vs_event=click";var g="&vs_title="+vs_title;var d="&vs_basepage="+vs_basepage;var t="&cb="+new Date().getTime();var j=cu+vsc+vs_cs+m+l+q+s+g+d+t;if(B.content!=0){j+="&p_c="+escape(contentPersel[B.content]+"|"+B.content)}}}function vs_impression(g,q,s,r){var u="";var j="";var o="";if(typeof(r)!="undefined"){var u="&vs_imgsrc="+r.src;var j="&vs_linktext="+r.alt;var o="&vs_linkname="+r.name}var n="&vs_lid="+g;var m="&vs_lpos="+q;var l="&vs_lcat="+s;var t="&vs_event=impression";var f="&vs_title="+vs_title;var b="&vs_basepage="+vs_basepage;var h="&cb="+(new Date()).getTime();var d=cu+vsc+vs_cs+u+j+o+n+m+l+t+f+b+h;return true}function vs_click(g,s,t,y,j){var w="";var m="";var r="";if(typeof(y)!="undefined"){w="&vs_linkhref="+y.href;if(typeof y.alt=="undefined"){var l=y.text?y.text:y.innerText?y.innerText:"";if(l.length>0&&l.charAt(0)==" "){l=l.substring(1,l.length)}m="&vs_linktext="+l}else{m="&vs_linktext="+y.alt}r="&vs_linkname="+y.name}var q="&vs_lid="+g;var o="&vs_lpos="+s;var n="&vs_lcat="+t;var u="&vs_event=click";var f="&vs_title="+vs_title;var b="&vs_basepage="+vs_basepage;var j="&vs_action="+vs_stripChars(j);var h="&cb="+(new Date()).getTime();var d=cu+vsc+vs_cs+w+m+r+q+o+n+u+f+b+j+h;return true}function vs_pageview(m,s,d,o,l){var h="&vs_pagename="+m;var q="&vs_contentgroup="+s;var t="&vs_pagetype="+d;var n="&vs_sitearea="+o;var r="&vs_event=pageview";var g="&vs_title="+vs_title;var b="&vs_basepage="+vs_basepage;var l="&vs_action="+vs_stripChars(l);var j="&cb="+(new Date()).getTime();var f=cu+vsc+vs_cs+h+q+t+n+r+g+b+l+j;return true}function vs_formfieldcapture(n,m,t,f,z,g,b,D,C){var A="&vs_pagename="+n;var B="&vs_contentgroup="+m;var y="&vs_pagetype="+t;var s="&vs_sitearea="+f;var u="&vs_event=pageview";var q="&vs_title="+vs_title;var h="&vs_basepage="+vs_basepage;var s="&vs_sitearea="+f;var z="&vs_action="+vs_stripChars(z);var o="&vs_formfield1="+g;var l="&vs_formfield2="+b;var j="&vs_formfield3="+D;var d="&vs_formfield4="+C;var w="&cb="+(new Date()).getTime();var r=cu+vsc+vs_cs+A+B+y+s+u+q+h+z+o+l+j+d+w;return true}function vsSendMulti(a,b,c,d,e,f,g,h){if(typeof a=="object"){b="",c=["C","P","R","D"];for(d in a){if(typeof d!="function"){for(e=0;e<_VS.L(d);e++){if(_VS.I(""+a[d],"_"+c[e]+"::")==0){a[d]=eval("_VS.R"+c[e]+"(_VS.S(a[d],4,_VS.L(a)))")}}if(d!="history"){b+="&"+d+"="+_VS.E(a[d])}}}if(_VS.D(a.history)){d=_PS.maxGet-_VS.L(b);if(_VS.L(a.history)<d){b+="&history="+_VS.E(a.history)}else{e=_VS.P(a.history,"^");g=0,h=_VS.L(e.toString());for(f=0;f<_VS.L(e);f++){g+=_VS.L(e[f]);if(d>h-g&&f+1<_VS.L(e)){e=e.splice(f+1,_VS.L(e));b+="&history="+_VS.E(e.join("^"));break}}}}_VS.Q(_VS.base+b)}}function vsIncActionCookie(){var b=_VS.RC(_PS.cookie+".actions");_VS.C(_PS.cookie+".actions",(b=="")?1:++b,_PS.cookieExp)}function vsAddHistoryItem(f,d,g){d=_VS.RC(_PS.cookie+".history"),g=_VS.A();if(d==""){_VS.C(_PS.cookie+".history",f,_PS.cookieExp)}else{d+="^"+f;g=_VS.P(d,"^");if(_VS.L(g)>_PS.maxHistory){g=g.splice(_VS.L(g)-_PS.maxHistory,_PS.maxHistory)}_VS.C(_PS.cookie+".history",g.join("^"),_PS.cookieExp)}}var _PS=new Object();_PS.cookie="product_selector";_PS.expTime=86400000*365;_PS.expDate=new Date();_PS.expDate.setTime(_PS.expDate.getTime()+_PS.expTime);_PS.cookieExp=_PS.expDate.toGMTString();_PS.maxHistory=10;_PS.maxGet=2048;var _VS=new Object();_VS.base="//www.cisco.com/cdc_content_elements/visualsciences/visualsciences.asc?Log=1&vs_event=pageview&vs_basepage="+document.URL;_VS.A=function(){return new Array()};_VS.E=function(b){return escape(b)};_VS.D=function(b){return(typeof b!="undefined")?1:0};_VS.I=function(f,d,g){return f.indexOf(d,g?g:0)};_VS.L=function(b){return _VS.D(b)?b.length:0};_VS.P=function(f,d){return f.split(d)};_VS.S=function(f,d,g){return d>_VS.L(f)?"":f.substring(d,g!=null?g:_VS.L(f))};_VS.Q=function(b){b+="&vid="+Math.random();vs_Q(b)};_VS.RD=function(y,w,u,t,s,r,q,o,n,m,l){s=_VS.RC(y,w,u,t);r=_VS.I(y,".");if(r>-1){q=_VS.S(y,0,r);o=_VS.S(y,r+1,_VS.L(y));n=_VS.RC(q);m=_VS.I(n,"^^"+o);if(m>-1){l=n.indexOf("^^",m+1);l=(l==-1)?_VS.L(n):l;n=_VS.S(n,0,m)+_VS.S(n,l,_VS.L(n));if(_VS.L(n)>0){_VS.C(q,n,_PS.cookieExp)}else{_VS.C(y,"","Wed, 1 Jan 1900 00:00:00 GMT")}}}else{_VS.C(y,"","Wed, 1 Jan 1900 00:00:00 GMT")}return s};_VS.RR=function(a){return(_VS.E(_VS.RV(eval("document.referrer"),a)))};_VS.RP=function(b){return(_VS.E(_VS.RV(document.URL,b)))};_VS.RV=function(g,f,l,j,h){l=_VS.I(g,"&"+f+"=");l=l<0?_VS.I(g,"?"+f+"="):l;if(l>-1){j=_VS.I(g,"&",l+_VS.L(f)+2);h=_VS.S(g,l+_VS.L(f)+2,j>-1?j:_VS.L(g));return h}return""};_VS.C=function(w,u,t,s,r,q,o,n,m,l){r=document.cookie,q=_VS.I(w,".");if(q>0){o=_VS.S(w,0,q);n=_VS.S(w,q+1,_VS.L(w));m=_VS.RCB(o);l=_VS.I(m,"^^"+n+"::");if(l>-1){k=_VS.I(m,"^^",l+1);k=(k==-1)?_VS.L(m):k;m=_VS.S(m,0,l)+_VS.S(m,k,_VS.L(m))}w=o;u=m+"^^"+n+"::"+u}document.cookie=w+"="+u+"; path=/"+((_VS.D(s)==1)?"; domain="+s:"")};_VS.RC=function(g,f,l,j,h){f=document.cookie,l="",j=_VS.I(g,"."),h="";if(j>-1){h=_VS.RCB(_VS.S(g,0,j));l=(_VS.L(h)>0)?_VS.RCA(_VS.S(g,j+1,_VS.L(g)),h):""}else{l=_VS.RCB(g)}return l};_VS.RCB=function(g,f,l,j,h){f=document.cookie,l="",j=_VS.I(f,g+"=");if(j==-1){return""}j+=_VS.L(g)+1,h="";if(j>-1){h=_VS.I(f,";",j);h=(h==-1)?_VS.L(f):h;if(h>j){l=_VS.S(f,j,h)}}return l};_VS.RCA=function(g,f,l,j,h){l="",j=_VS.I(f,"^^"+g);if(j>-1){h=_VS.I(f,"^^",j+1);h=(h==-1)?_VS.L(f):h;l=_VS.S(f,j+4+_VS.L(g),h)}return l};var vs_libloadedflag=1;try{cdc.ut.liveManager.LOAD("vs")}catch(e){}if(typeof cdc!="undefined"&&typeof cdc.includer!="undefined"&&typeof cdc.includer.alreadyInPage=="object"){cdc.includer.alreadyInPage.push("/cdc/fw/m/ext_visualsciences_ut.js")};