function findPos(){
  if(bw.ns4){   //Netscape 4
    x = document.layers.layerMenu.pageX
    y = document.layers.layerMenu.pageY
  }else{ //other browsers
    x=0; y=0; var el,temp
    el = bw.ie4?document.all["divMenu"]:document.getElementById("divMenu");
    if(el.offsetParent){
      temp = el
      while(temp.offsetParent){ //Looping parent elements to get the offset of them as well
        temp=temp.offsetParent; 
        x+=temp.offsetLeft
        y+=temp.offsetTop;
      }
    }
    x+=el.offsetLeft
    y+=el.offsetTop
  }
  //Returning the x and y as an array
  return [x,y]
}

pos = findPos()

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
//Using the cm_page object to place the menu ----
oCMenu.fromLeft=pos[0]
oCMenu.fromTop=pos[1]
//We also need to "re place" the menu on resize. So:
oCMenu.onresize="pos = findPos(); oCMenu.fromLeft=pos[0]; oCMenu.fromTop=pos[1]"

oCMenu.rows=0
oCMenu.menuPlacement=0
       

                                                             
oCMenu.offlineRoot="file:///C|/Documents and Settings/Richard Lindeman/My Documents/Web/naagtag/testsite/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=100 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""


//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=140
oCMenu.level[0].height=22 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow="menu_arrow.gif"
oCMenu.level[0].arrowWidth=10
oCMenu.level[0].arrowHeight=9
oCMenu.level[0].align="right"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=200
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].roundBorder=2
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=200
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Name Tags','name-tags.html','')
  oCMenu.makeMenu('sub00','top0','Magnetic Name Tags','magnetic-name-tags.html')
  		oCMenu.makeMenu('sub000','sub00','Magnetic Framed Name Tags','full-color-name-tags-with-frames.html')
		oCMenu.makeMenu('sub001','sub00','Magnetic Full Color Name Tags','magnetic-full-color-name-tags.html')
		oCMenu.makeMenu('sub002','sub00','Magnetic Wooden Name Tags','magnetic-wooden-name-tags.html')
		oCMenu.makeMenu('sub003','sub00','Magnetic Basic Name Badges','magnetic-name-badges.html')
		oCMenu.makeMenu('sub004','sub00','Magnetic Custom Shaped Name Tags','magnetic-custom-shaped-name-tags.html')
		oCMenu.makeMenu('sub005','sub00','Magnetic Photo ID Badges','magnetic-photo-id-badges.html')
   oCMenu.makeMenu('sub01','top0','Full Color Name Tags','full-color-name-tags.html')
  		oCMenu.makeMenu('sub011','sub01','Full Color Custom Shaped Name Tags','full-color-custom-shaped-name-tags.html')
		oCMenu.makeMenu('sub012','sub01','Full Color Framed Name Tags','full-color-name-tags-with-frames.html')
		oCMenu.makeMenu('sub013','sub01','Full Color Rectangular Name Tags','full-color-rectangular-name-tags.html')
   oCMenu.makeMenu('sub02','top0','Framed Name Tags','full-color-name-tags-with-frames.html')
   oCMenu.makeMenu('sub03','top0','Wooden Name Tags','wooden-name-tags.html')
   oCMenu.makeMenu('sub04','top0','Pocket Name Tags','pocket-name-tags.html')
   oCMenu.makeMenu('sub05','top0','Basic Name Badges','name-badges.html')
   		oCMenu.makeMenu('sub051','sub05','0.75 X 3 inch Name Badges','name-badges-.75.html')
		oCMenu.makeMenu('sub052','sub05','1 X 3 inch Name Badges','name-badges-1.html')
		oCMenu.makeMenu('sub053','sub05','1.25 X 3 inch Name Badges','name-badges-1.25.html')
		oCMenu.makeMenu('sub054','sub05','1.5 X 3 inch Name Badges','name-badges-1.5.html')
   oCMenu.makeMenu('sub06','top0','Custom Shaped Name Tags','custom-shaped-name-tags.html')
   		oCMenu.makeMenu('sub060','sub06','Full Color Custom Shaped Name Tags','full-color-custom-shaped-name-tags.html')
		oCMenu.makeMenu('sub061','sub06','Standard Custom Shaped Name Tags','custom-shaped-name-tags-standard.html')
   oCMenu.makeMenu('sub07','top0','Photo ID Badges','photo-id-badges.html')
   oCMenu.makeMenu('sub08','top0','Lanyards / Accessories','accessories.html')
			oCMenu.makeMenu('sub081','sub08','Standard Lanyards','lanyards-standard.html')
			oCMenu.makeMenu('sub082','sub08','Custom Lanyards','lanyards-custom.html')
			oCMenu.makeMenu('sub083','sub08','Badge Holders','badge-holders.html')
			oCMenu.makeMenu('sub084','sub08','Reel','reel.html')
			oCMenu.makeMenu('sub085','sub08','Pin To Clip Adaptor','pin-to-clip-adaptor.html')
	
oCMenu.makeMenu('top1','','&nbsp;Name Plates','name-plates.html')
	oCMenu.makeMenu('sub10','top1','Desk Plates','desk-plates.html')
	oCMenu.makeMenu('sub11','top1','Door Plates','door-plates.html')

oCMenu.makeMenu('top2','','&nbsp;Address Plaques','address-plaques.html')
	oCMenu.makeMenu('sub20','top2','Stock Address Plaques','stock-address-plaques.html')
	oCMenu.makeMenu('sub21','top2','Custom Address Plaques','custom-address-plaques.html')
			
oCMenu.makeMenu('top3','','&nbsp;Office Signs','office-signs.html')
	oCMenu.makeMenu('sub30','top3','Handicap Signs','handicap-signs.html')
	oCMenu.makeMenu('sub31','top3','Restroom Signs','restroom-signs-bathroom-signs.html')
	oCMenu.makeMenu('sub32','top3','No Smoking Signs','no-smoking-signs.html')
	oCMenu.makeMenu('sub33','top3','Stand Alone Signs','stand-alone-signs.html')
	oCMenu.makeMenu('sub34','top3','Address Plaques','address-plaques.html')
	oCMenu.makeMenu('sub35','top3','Custom Signs','custom-signs.html')

oCMenu.makeMenu('top4','','&nbsp;Wall Plaques','wall-plaques.html')
	oCMenu.makeMenu('sub40','top4','Address Plaques','address-plaques.html')
	oCMenu.makeMenu('sub41','top4','Award Plaques','plaques-award.html')
	oCMenu.makeMenu('sub42','top4','Name Plaques','name-plaques.html')
	oCMenu.makeMenu('sub43','top4','Sports Plaques','sports-plaques.html')
	oCMenu.makeMenu('sub44','top4','Scouting Plaques','plaques-scouting.html')
	oCMenu.makeMenu('sub45','top4','Employee Plaques','plaques-employee.html')
	oCMenu.makeMenu('sub46','top4','Trophy Plaques','trophy-plaques.html')

oCMenu.makeMenu('top5','','&nbsp;Decorative Mirrors','decorative-wall-mirrors.html')
	oCMenu.makeMenu('sub50','top5','Stock Decorative Wall Mirrors','stock-decorative-wall-mirrors.html')
		oCMenu.makeMenu('sub500','sub50','Inspirational','stock-mirrors-inspirational.html')
		oCMenu.makeMenu('sub501','sub50','Patriotic','stock-mirrors-patriotic.html')
		oCMenu.makeMenu('sub502','sub50','Humorous','stock-mirrors-humorous.html')
	oCMenu.makeMenu('sub51','top5','Custom Engraved Wall Mirrors','custom-engraved-mirrors.html')
	
oCMenu.makeMenu('top6','','&nbsp;Rubber Stamps','rubber-stamps.html')

oCMenu.makeMenu('top7','','&nbsp;Lanyards','lanyards.html')
	oCMenu.makeMenu('sub70','top7','&nbsp;Standard Lanyards','lanyards-standard.html')
	oCMenu.makeMenu('sub71','top7','&nbsp;Custom Lanyards','lanyards-custom.html')

oCMenu.makeMenu('top8','','&nbsp;License Plate Frames','license-plate-frames.html')
	oCMenu.makeMenu('sub80','top8','&nbsp;Custom License Plate Frames','custom-license-plate-frames.html')
	oCMenu.makeMenu('sub81','top8','&nbsp;Motorcycle License Plate Frames','motorcycle-license-plate-frames.html')
	oCMenu.makeMenu('sub82','top8','&nbsp;License Plate Frame Sayings','license-plate-frame-sayings.html')

oCMenu.makeMenu('top9','','&nbsp;Photo ID','photo-id.html')
	oCMenu.makeMenu('sub90','top9','Photo ID Badges','photo-id-badges.html')
	oCMenu.makeMenu('sub91','top9','Photo ID Cards','photo-id-cards.html')
	
oCMenu.makeMenu('top10','','&nbsp;Key Chains','key-chains.html')
	oCMenu.makeMenu('sub100','top10','&nbsp;Personalized Key Chains','personalized-key-chains.html')
	oCMenu.makeMenu('sub101','top10','&nbsp;Heart Key Chains','heart-key-chains.html')
	oCMenu.makeMenu('sub102','top10','&nbsp;Photo Key Chains','photo-key-chains.html')
	oCMenu.makeMenu('sub103','top10','&nbsp;Advertising Key Chains','advertising-key-chains.html')

oCMenu.makeMenu('top11','','&nbsp;Refrigerator Magnets','refrigerator-magnets.html')
	
oCMenu.makeMenu('top12','','&nbsp;Plastic Business Cards','plastic-business-cards.html')

oCMenu.makeMenu('top13','','&nbsp;Specialty Products','specialty-products.html')
	oCMenu.makeMenu('sub130','top13','&nbsp;Pet Tags','pet-tags.html')
	oCMenu.makeMenu('sub131','top13','&nbsp;Book Marks','book-marks.html')
	oCMenu.makeMenu('sub132','top13','&nbsp;Zipper Pull Tabs','zipper-pull-tabs.html')
	oCMenu.makeMenu('sub133','top13','&nbsp;Luggage Tags','luggage-tags.html')
	oCMenu.makeMenu('sub134','top13','&nbsp;Engraved Pyrex Dishes','pyrex-dishes.html')

oCMenu.makeMenu('top14','','&nbsp;LDS Products','LDS-products.html')
	oCMenu.makeMenu('sub140','top14','Decorative Mirrors','LDS-decorative-mirrors.html')
	oCMenu.makeMenu('sub141','top14','Tiny Tags','LDS-tiny-tags.html')
		oCMenu.makeMenu('sub1410','sub141','Future Missionary','LDS-tiny-tags.html')
		oCMenu.makeMenu('sub1411','sub141','Other Styles','LDS-tiny-tags.html')
		oCMenu.makeMenu('sub1412','sub141','Other Languages','LDS-tiny-tags.html')
	oCMenu.makeMenu('sub142','top14','Craft Rubber Stamps','LDS-rubber-stamps.html')
	oCMenu.makeMenu('sub143','top14','License Plate Frames','LDS-custom-license-plate-frames.html')
	oCMenu.makeMenu('sub144','top14','Key Chains','LDS-key-chains.html')
	oCMenu.makeMenu('sub145','top14','Book Marks','LDS-book-marks.html')
	oCMenu.makeMenu('sub146','top14','Wall Plaques','LDS-wall-plaques.html')
		oCMenu.makeMenu('sub1460','sub146','Missionary Plaques','LDS-wall-plaques.html')
		oCMenu.makeMenu('sub1461','sub146','Scouting Award Plaques','LDS-wall-plaques.html')
		oCMenu.makeMenu('sub1462','sub146','Other Plaques','LDS-wall-plaques.html')	
	oCMenu.makeMenu('sub147','top14','Zipper Pulls','LDS-zipper-pull-tabs.html')
	oCMenu.makeMenu('sub148','top14','Refrigerator Magnets','LDS-refrigerator-magnets.html')
	oCMenu.makeMenu('sub149','top14','Usher Tags','LDS-usher-tags.html')
	oCMenu.makeMenu('sub1410','top14','Engraved Pyrex Dishes','pyrex-dishes.html')
	
oCMenu.makeMenu('top15','','&nbsp;Accessories','accessories.html')
	oCMenu.makeMenu('sub150','top15','&nbsp;Standard Lanyards','lanyards-standard.html')
	oCMenu.makeMenu('sub151','top15','&nbsp;Custom Lanyards','lanyards-custom.html')
	oCMenu.makeMenu('sub152','top15','&nbsp;Badge Holders','badge-holders.html')
	oCMenu.makeMenu('sub153','top15','&nbsp;Reel','reel.html')
	oCMenu.makeMenu('sub154','top15','&nbsp;Clips and Adaptors','pin-to-clip-adaptor.html')
	
//Leave this line - it constructs the menu
oCMenu.construct()