var primaryNav;var secondaryNav;var activeTimeout = null;var timeoutLength = 1000;function plato(arg) {  var rslt;  if (document.getElementById) rslt = document.createElement('img');  else rslt = new Image();  rslt.src = arg;  return rslt;} function changeImages() {   if (loadedjs && preloadFlag) {     for (var i=0; i<changeImages.arguments.length; i+=2) {    var name = changeImages.arguments[i];    if (typeof document[name] != "undefined") {        document[name].src = changeImages.arguments[i+1];    }    }  }} function preloadImages() {   var imgFiles = preloadImages.arguments;   for (var i=0; i<imgFiles.length; i+=2) {     window[imgFiles[i]] = plato(imgFiles[i+1]);    window[imgFiles[i]].src = imgFiles[i+1];   }   preloadFlag = true; }preloadImages('solutions','../resources/images/interface/nav-home_over.gif',			  'solutions','../resources/images/interface/nav-solutions_over.gif',              'blog','../resources/images/interface/nav-blog_over.gif',              'videos','../resources/images/interface/nav-videos_over.gif',              'events','../resources/images/interface/nav-events_over.gif',              'contact','../resources/images/interface/nav-contact_over.gif',              'spacer_img','../resources/images/interface/spacer.gif'              ); function getElement(id) {    var object = null;    if (document.getElementById)     object = document.getElementById(id);    else {    if (document.layers)         object = document.layers[id];    else if (document.all)         object = eval("document.all." + id);    }    return object;}function activateNav() {    changeImages(primaryNav + '_img', '../resources/images/interface/' + primaryNav + '_on.gif');    var anchor = getElement(primaryNav + '_' + secondaryNav);    if (anchor != null)     anchor.className = 'active';    activateSection(primaryNav); /* The following line fixes an issue where Gecko browsers display Arial smaller than IE/Opera when using 'em' units */// if (navigator.appName == "Netscape") { //document.getElementsByTagName("body").item(0).style.fontSize="1.05em"; };}function activateSection(sectionToActivate){    stopTimer();    doActivateSection(sectionToActivate);}function stopTimer() {    if (activeTimeout != null) {    clearTimeout(activeTimeout);    }}function startTimer() {    resetTimer();}function resetTimer() {    stopTimer();    activeTimeout = setTimeout("resetNav()", timeoutLength);}    function doActivateSection(sectionToActivate) {    for (i = 0; i < sectionList.length; i++) {    var section = sectionList[i];    if (section == sectionToActivate) {        toggleVisibility(section, "visible");        if (section != primaryNav) {        changeImages(section + '_img', '../resources/images/interface/' + section + '_over.gif');        }    } else {        toggleVisibility(section, "hidden");        if (section != primaryNav) {        changeImages(section + '_img', '../resources/images/interface/' + section + '.gif');        }    }    }}function resetNav() {    doActivateSection(primaryNav);}function toggleVisibility(id, newVisibility) {    var div = getElement(id);    if (div != null) {    div.style.visibility = newVisibility;    }}libLoaded = true;function getNavId () {  var metaElements = document.all ?    document.all.tags('META') :    document.getElementsByTagName ?    document.getElementsByTagName ('META') : new Array();  for (var m = 0; m < metaElements.length; m++)      if (metaElements[m].name == 'PrimaryNav') {      primaryNav = metaElements[m].content;      } else if (metaElements[m].name == 'SecondaryNav') {      secondaryNav = metaElements[m].content;      }  return primaryNav + '_' + secondaryNav;}function getCopyrightText() {    var text = '&copy;2009 EMC, Inc. All Rights Reserved.';    return text;}function getPRContactText() {    var text = '<B>Contact:</B><BR />contact name<BR />EMC Inc.<BR />000-000-0000<BR /><A HREF="mailto:">email</A>';    return text;}// --- Product Finder functions -------------------------function MM_jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;}// --- Window functions -------------------------function openWindow(url, name) {  popupWin = window.open(url, name, 'scrollbars=yes,resizable=yes,status=no,personal=no,menu=no,location=no,toolbar=no,left=20,top=20,width=770,height=500')}//useage: put each parameter in single quotes example: openSizedWindow('http://www.empirix.com','myName','400','500');function openSizedWindow(url, name, myHeight, myWidth) { popupWin = window.open(url, name, 'scrollbars=yes,resizable=yes,status=yes,personal=no,menu=no,location=no,toolbar=no,left=20,top=20,width=' +myWidth+',height='+myHeight+'');}function openSizedWindowPlain(url, name, myHeight, myWidth) { popupWin = window.open(url, name, 'scrollbars=no,resizable=no,status=no,personal=no,menu=no,location=no,toolbar=no,left=20,top=20,width=' +myWidth+',height='+myHeight+'');}function openSizedWindowUI(url, name, myHeight, myWidth) { popupWin = window.open(url, name, 'scrollbars=yes,resizable=yes,status=yes,personal=no,menubar=yes,location=yes,toolbar=yes,left=20,top=20,width=' +myWidth+',height='+myHeight+'');}// ----------------------------------------------var loadedjs = true; 