function mmLoadMenus() {
	if (window.mm_menu_0704214626_0) 
	  return;
		var reg=/compair.ca+(.)*/
	var path = location.href.replace(reg, 'compair.ca');
  window.mm_menu_0704214626_0 = new Menu("root",119,19,"Verdana, Arial, Helvetica, sans-serif",11,"#747474","#D34203","#F7F7F5","#FFFFFF","left","middle",4,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0704214626_0.addMenuItem("What’s&nbsp;New!","location='#'");
  mm_menu_0704214626_0.addMenuItem("New&nbsp;Products","location='"+path+"/products.php?section=new'");
   mm_menu_0704214626_0.fontWeight="bold";
   mm_menu_0704214626_0.hideOnMouseOut=true;
   mm_menu_0704214626_0.bgColor='#E0E0D8';
   mm_menu_0704214626_0.menuBorder=1;
   mm_menu_0704214626_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0704214626_0.menuBorderBgColor='#E0E0D8';
window.mm_menu_0704224007_0 = new Menu("root",108,19,"Verdana, Arial, Helvetica, sans-serif",11,"#747474","#D34203","#F7F7F5","#FFFFFF","left","middle",4,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0704224007_0.addMenuItem("CompAir&nbsp;","location='"+path+"/about.php?section=compair'");
  mm_menu_0704224007_0.addMenuItem("History","location='"+path+"/about.php?section=history'");
  mm_menu_0704224007_0.addMenuItem("Quality","location='"+path+"/about.php?section=quality'");
  mm_menu_0704224007_0.addMenuItem("Environment","location='"+path+"/about.php?section=environment'");
   mm_menu_0704224007_0.fontWeight="bold";
   mm_menu_0704224007_0.hideOnMouseOut=true;
   mm_menu_0704224007_0.bgColor='#E0E0D8';
   mm_menu_0704224007_0.menuBorder=1;
   mm_menu_0704224007_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0704224007_0.menuBorderBgColor='#E0E0D8';
  window.mm_menu_0704224154_0 = new Menu("root",158,19,"Verdana, Arial, Helvetica, sans-serif",11,"#747474","#D34203","#F7F7F5","#FFFFFF","left","middle",4,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0704224154_0.addMenuItem("Sales","location='"+path+"/divisions.php?section=airworx'");
  mm_menu_0704224154_0.addMenuItem("Service","location='"+path+"/divisions.php?section=service'");
  mm_menu_0704224154_0.addMenuItem("Parts","location='"+path+"/order.php?section=parts-divisions'");

   mm_menu_0704224154_0.fontWeight="bold";
   mm_menu_0704224154_0.hideOnMouseOut=true;
   mm_menu_0704224154_0.childMenuIcon=path+"/img/arrows.gif";
   mm_menu_0704224154_0.bgColor='#E0E0D8';
   mm_menu_0704224154_0.menuBorder=1;
   mm_menu_0704224154_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0704224154_0.menuBorderBgColor='#E0E0D8';
       window.mm_menu_0704224243_0 = new Menu("root",265,19,"Verdana, Arial, Helvetica, sans-serif",11,"#747474","#D34203","#F7F7F5","#FFFFFF","left","middle",4,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0704224243_0.addMenuItem("New","location='"+path+"/products.php?section=new'");
   mm_menu_0704224243_0.addMenuItem("Oil&nbsp;Free&nbsp;Compressors","location='"+path+"/products.php?section=oil'");
  mm_menu_0704224243_0.addMenuItem("Variable&nbsp;Speed&nbsp;Compressors","location='"+path+"/'products.php?section=speed'");
  mm_menu_0704224243_0.addMenuItem("Rotary&nbsp;Screw&nbsp;Compressors","location='"+path+"/products.php?section=lubricated'");
  mm_menu_0704224243_0.addMenuItem("Industrial&nbsp;Reciprocating&nbsp;Compressors","location='"+path+"/products.php?section=piston'");
  mm_menu_0704224243_0.addMenuItem("Hydrovane&nbsp;Rotary&nbsp;Vane&nbsp;Compressors","location='"+path+"/products.php?section=hydrovane'");
  mm_menu_0704224243_0.addMenuItem("High&nbsp;Pressure&nbsp;Air&nbsp;and&nbsp;Gas&nbsp;Compressors","location='"+path+"/products.php?section=highpressure'");
  mm_menu_0704224243_0.addMenuItem("Mako&nbsp;Breathing&nbsp;Air&nbsp;Compressors","location='"+path+"/products.php?section=mako'");
  mm_menu_0704224243_0.addMenuItem("Portables","location='"+path+"/products.php?section=portables'");
   mm_menu_0704224243_0.addMenuItem("Dryers and Air Treatment","location='"+path+"/products.php?section=dryers'");
  
   mm_menu_0704224243_0.fontWeight="bold";
   mm_menu_0704224243_0.hideOnMouseOut=true;
    mm_menu_0704224243_0.childMenuIcon="/img/arrows.gif";
   mm_menu_0704224243_0.bgColor='#E0E0D8';
   mm_menu_0704224243_0.menuBorder=1;
   mm_menu_0704224243_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0704224243_0.menuBorderBgColor='#E0E0D8';
window.mm_menu_0704224501_0 = new Menu("root",177,19,"Verdana, Arial, Helvetica, sans-serif",11,"#747474","#D34203","#F7F7F5","#FFFFFF","left","middle",4,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0704224501_0.addMenuItem("Literature","location='#'");
  mm_menu_0704224501_0.addMenuItem("Compressor&nbsp;Overview","location='"+path+"/info.php?section=compressor'");
  mm_menu_0704224501_0.addMenuItem("WSIB,&nbsp;MSDS,&nbsp;CSST","location='"+path+"/info.php?section=wsib'");
   mm_menu_0704224501_0.fontWeight="bold";
   mm_menu_0704224501_0.hideOnMouseOut=true;
   mm_menu_0704224501_0.bgColor='#E0E0D8';
   mm_menu_0704224501_0.menuBorder=1;
   mm_menu_0704224501_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0704224501_0.menuBorderBgColor='#E0E0D8';

mm_menu_0704224501_0.writeMenus();
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}
						
function pup(id,d,w,h,win)
{		
	launch = "http://www.compair.com/poppics.asp?fileloc="+d+"&id="+id;
	popupWin = window.open(launch,win,'width='+w+',height='+h+',left=50,top=10,scrollbars=0');		
}
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
	pict=new Image(); 
	pict.src=URLStr; 
	w=pict.width;
	h=pict.height;
	
  	var width_all, height_all; 
	var ns4 = document.layers; 
	var ns6 = document.getElementById && !document.all; 
	var ie4 = document.all; 
	if (ns4) {  
		 width_all = window.outerWidth;  
		 height_all = window.outerHeight; 
	} 
	if (ns6) {  
		 width_all = window.outerWidth;  
		 height_all = window.outerHeight; 
	} 
	if (ie4) {  
		 width_all = document.body.clientWidth;  
		 height_all = document.body.clientHeight;  
	} 
	left =width_all/2-width/2; 
	top =height_all/2-height/2;
 	popUpWin = open('/popup.php?url='+URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menu bar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
