/** * mm_menu 20MAR2002 Version 6.0 * Andy Finnell, March 2002 * Copyright (c) 2000-2002 Macromedia, Inc. * * based on menu.js * by gary smith, July 1997 * Copyright (c) 1997-1999 Netscape Communications Corp. * * Netscape grants you a royalty free license to use or modify this * software provided that this copyright notice appears on all copies. * This software is provided "AS IS," without a warranty of any kind. */  if (document.images) {		  		    // Preload top nav bar rollover images			main_nav_homeon = new Image();   main_nav_homeon.src = "/images/main_nav_home_f2.gif";			main_nav_homeoff = new Image();  main_nav_homeoff.src = "/images/main_nav_home.gif";			main_nav_allabouton = new Image();   main_nav_allabouton.src = "/images/main_nav_allabout_f2.gif";			main_nav_allaboutoff = new Image();  main_nav_allaboutoff.src = "/images/main_nav_allabout.gif";			main_nav_solutionson = new Image();   main_nav_solutionson.src = "/images/main_nav_solutions_f2.gif";			main_nav_solutionsoff = new Image();  main_nav_solutionsoff.src = "/images/main_nav_solutions.gif";			main_nav_downloadon = new Image();   main_nav_downloadon.src = "/images/main_nav_download_f2.gif";			main_nav_downloadoff = new Image();  main_nav_downloadoff.src = "/images/main_nav_download.gif";			main_nav_couponson = new Image();   main_nav_couponson.src = "/images/main_nav_coupons_f2.gif";			main_nav_couponsoff = new Image();  main_nav_couponsoff.src = "/images/main_nav_coupons.gif";			main_nav_faqon = new Image();   main_nav_faqon.src = "/images/main_nav_faq_f2.gif";			main_nav_faqoff = new Image();  main_nav_faqoff.src = "/images/main_nav_faq.gif";			main_nav_contacton = new Image();   main_nav_contacton.src = "/images/main_nav_contact_f2.gif";			main_nav_contactoff = new Image();  main_nav_contactoff.src = "/images/main_nav_contact.gif";        }		// on and off behaviors for rollover images                                      function imgOn(imgName) {             if (document.images) {                document[imgName].src = eval(imgName + "on.src");             }          }          function imgOff(imgName) {             if (document.images) {                document[imgName].src = eval(imgName + "off.src");             }          }		// Functions for showing/hiding content using cssfunction showHideTips (id) {  // var numArticles will change depending on how many articles are on a particular page.  Needs to be set in each page that will call this function.  for (i=1;i<=numArticles;i++) {    document.getElementById("tips" + i).style.display = 'none';	document.getElementById("article" + i).style.display = 'none';  }    document.getElementById("tips" + id).style.display = '';  document.getElementById("article" + id).style.display = '';  } function showHide (id) {  // var numArticles will change depending on how many articles are on a particular page.  Needs to be set in each page that will call this function.  for (i=1;i<=numArticles;i++) {	document.getElementById("article" + i).style.display = 'none';  }    document.getElementById("article" + id).style.display = ''; }function showHideTopicBlock (id) {  document.getElementById(id).style.display = (document.getElementById(id).style.display == 'none' ? '':'none');  imgName = "image_" + id;  document[imgName].src = (document[imgName].src.indexOf('up') > -1 ? 'images/topicpromo_wafer_down.gif':'images/topicpromo_wafer_up.gif');}  // A couple of window launching functionsfunction MM_openBrWindow(theURL,winName,features) { //v.2.0var newWindow = window.open(theURL,winName,features);newWindow.focus()} var win = null;function NewWindow(mypage,myname,w,h,scroll){LeftPosition = (screen.width) ? parseInt((screen.width-w)/2) : 0;TopPosition = (screen.height) ? parseInt((screen.height-h)/2) : 0;settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',screenX='+TopPosition+',screenY='+LeftPosition+',scrollbars='+scroll;win = window.open(mypage,myname,settings);if(win.window.focus){win.window.focus();}}// Select drop-down menu jump functionfunction MM_jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;} // Begin DHTML nav code herefunction MM_findObj(n, d) { //v4.01  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_swapImage() { //v3.0  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 MM_swapImgRestore() { //v3.0  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() { //v3.0 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];}}}