oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1;  oM.onlineRoot=""; oM.pxBetween =0; 
oM.fillImg="/images/cm_fill.gif"; oM.fromTop=20; oM.fromLeft=0; oM.wait=300; oM.zIndex=400;
oM.useBar=1; oM.barWidth="menu"; oM.barHeight="menu"; oM.barX="menu";oM.barY="menu"; oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0;
//(width,height,regclass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight,roundBorder)
oM.level[0]=new cm_makeLevel(90,22,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(102,22,"clS","clS2over",1,1,"clB2",0,"right",0,0,"/images/menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(110,22,"clS2","clS2over",1,1,"clB2",0,"right",0,0,"/images/menu_arrow.gif",10,10);
oM.level[3]=new cm_makeLevel(140,22);

$order_info='m20';
$facet_ed  ='m30';
$gem_id_ed ='m40';
$gem_id_db ='m50';
$gem_wiz   ='m60';
$gem_fun   ='m70';
$gem_community='m80';
$about_pr  ='m90';

oM.makeMenu('m10','','Shopping Cart','http://ww7.aitsafe.com/cf/review.cfm?userid=9054734','',110);
oM.makeMenu($order_info,'','Ordering Info','','',100);
oM.makeMenu($facet_ed,'','Faceting Education','','',115);
oM.makeMenu($gem_id_ed,'','Gem ID Education','','',115);
oM.makeMenu($gem_id_db,'','Gem ID DataBase','','',115);
oM.makeMenu($gem_wiz,'','Gem Wizards','','',90);
oM.makeMenu($gem_fun,'','Gem Fun','','',70);
oM.makeMenu($gem_community,'','Gem Community','','',110);
oM.makeMenu($about_pr,'','About PrettyRock.com','','',135);
oM.makeMenu('m100','','SiteMap','/site-map.htm','',55);

$menu_length = 150;
// ------ ABOUT US SUBMENUS ------
oM.makeMenu('m20_10',$order_info,'Contact Us'          ,'/about.htm','',$menu_length);
oM.makeMenu('m20_20',$order_info,'Ordering Info' ,'/ordering.htm','',$menu_length);
oM.makeMenu('m20_30',$order_info,'Shipping Info' ,'/shipping.htm','',$menu_length);
oM.makeMenu('m20_40',$order_info,'Order Form' ,'/order-form.htm','',$menu_length);


$menu_length = 180;
// ------ GEM TOOL TUTORIAL SUBMENUS ------
oM.makeMenu('m30_10',$facet_ed,'Cutting a Rectangle' ,'/faceting-instructions-rectangle.htm' ,'',$menu_length);
//oM.makeMenu('m20_10',$facet_ed,'Cutting a Sapphire' ,'/faceting-instructions-rectangle.htm' ,'',$menu_length);
oM.makeMenu('m30_20',$facet_ed,'Rough Clarity Chart' ,'/facet-clarity-chart.htm' ,'',$menu_length);
oM.makeMenu('m30_30',$facet_ed,'Find Faceting Classes' ,'/learn-faceting-class.htm' ,'',$menu_length);
oM.makeMenu('m30_40',$facet_ed,'Why Custom Cut Gems' ,'/handcutgemstones.htm' ,'',$menu_length);
oM.makeMenu('m30_50',$facet_ed,'Refractol Instructions' ,'/refractol-instructions.htm' ,'',$menu_length);
oM.makeMenu('m30_60',$facet_ed,'Handheld Loupe Instruction' ,'/loupe-instructions.htm' ,'',$menu_length);

$menu_length = 180;
// ------ GEM TOOL TUTORIAL SUBMENUS ------
oM.makeMenu('m40_10',$gem_id_ed,'How to Get Started' ,'/how-to-start-gem-id-overview.htm' ,'',$menu_length);
oM.makeMenu('m40_20',$gem_id_ed,'Handheld Loupe Instructions','/loupe-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_30',$gem_id_ed,'Refractometer Instructions','/refractometer-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_40',$gem_id_ed,'Specific Gravity Instructions','/specific-gravity-calculator.htm' ,'',$menu_length);
oM.makeMenu('m40_50',$gem_id_ed,'Dichroscope Instructions'  ,'/dichroscope-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_60',$gem_id_ed,'Polariscope Instructions'  ,'/polariscope-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_70',$gem_id_ed,'Spectroscope Instructions' ,'/spectroscope-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_80',$gem_id_ed,'Jadeite Filter Instructions' ,'/jadeite-filter-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_90',$gem_id_ed,'Refractol Instructions'      ,'/refractol-instructions.htm' ,'',$menu_length);
oM.makeMenu('m40_100',$gem_id_ed,'Free Gemology Tutorials ' ,'/gemologytutorials.htm' ,'',$menu_length);
oM.makeMenu('m40_110',$gem_id_ed,'Int\'l Schools of Gemology' ,'/international_schools_of_gemology.htm' ,'',$menu_length);

$menu_length = 180;
// ------ GEM TOOL TUTORIAL SUBMENUS ------
oM.makeMenu('m50_10',$gem_id_db,'*** Gem ID Wizard ***' ,'/php/gem-id-database-BETA3.htm' ,'',$menu_length);
oM.makeMenu('m50_20',$gem_id_db,'Browse by Family' ,'/php/mineral-family.php' ,'',$menu_length);
oM.makeMenu('m50_30',$gem_id_db,'Browse by Refractive Index' ,'/php/mineral-properties.php?single_property=refractive_index' ,'',$menu_length);
oM.makeMenu('m50_40',$gem_id_db,'Browse by Specific Gravity' ,'/php/mineral-properties.php?single_property=specific_gravity' ,'',$menu_length);
oM.makeMenu('m50_50',$gem_id_db,'Browse by Critical Angle' ,'/php/mineral-properties.php?single_property=critical_angles' ,'',$menu_length);
oM.makeMenu('m50_60',$gem_id_db,'Browse by Mohs Hardness' ,'/php/mineral-properties.php?single_property=hardness' ,'',$menu_length);
oM.makeMenu('m50_70',$gem_id_db,'Browse by Crystallography' ,'/php/mineral-properties.php?single_property=crystal_shape' ,'',$menu_length);
oM.makeMenu('m50_80',$gem_id_db,'Browse by Pleochroism' ,'/php/mineral-properties.php?single_property=pleochroism' ,'',$menu_length);
oM.makeMenu('m50_90',$gem_id_db,'Browse by BiRefringence' ,'/php/mineral-properties.php?single_property=birefringence' ,'',$menu_length);
oM.makeMenu('m50_100',$gem_id_db,'Browse by All Properties' ,'/php/mineral-properties.php' ,'',$menu_length);

$menu_length = 160;
// ------ GEM Wizards SUBMENUS ------
oM.makeMenu('m60_10',$gem_wiz,'*** Gem ID Wizard ***' ,'/php/gem-id-database-BETA.htm' ,'',$menu_length);
oM.makeMenu('m60_20',$gem_wiz,'Weight Conversion Wizard' ,'/weight-unit-conversions.htm' ,'',$menu_length);
oM.makeMenu('m60_30',$gem_wiz,'Length Conversion Wizard' ,'/length-unit-conversions.htm' ,'',$menu_length);
oM.makeMenu('m60_40',$gem_wiz,'Specific Gravity Wizard' ,'/specific-gravity-calculator.htm' ,'',$menu_length);

$menu_length = 160;
// ------ GEM COMMUNITY SUBMENUS ------
oM.makeMenu('m70_10',$gem_fun,'Birthday Gemstones' ,'/birthstones.htm' ,'',$menu_length);
oM.makeMenu('m70_20',$gem_fun,'State Gems & Minerals' ,'/state-gems-minerals-fossils.htm' ,'',$menu_length);
oM.makeMenu('m70_30',$gem_fun,'Popular Gemology Myths ' ,'/gemology-myths.htm' ,'',$menu_length);
oM.makeMenu('m70_40',$gem_fun,'Popular Mineral Myths' ,'/crystalmeaning.htm' ,'',$menu_length);
oM.makeMenu('m70_50',$gem_fun,'Books & Movie that Rock!' ,'/gems-in-books-and-movies.htm' ,'',$menu_length);
oM.makeMenu('m70_60',$gem_fun,'Free Mineral Wallpaper' ,'/free-wallpaper-minerals.htm' ,'',$menu_length);

$menu_length = 160;
// ------ GEM COMMUNITY SUBMENUS ------
oM.makeMenu('m80_10',$gem_community,'Faceters Gallery ' ,'/faceters-gallery.htm' ,'',$menu_length);
//oM.makeMenu('m10_20','m10','Jewelry Artists Gallery ' ,'/jewelry-artist-gallery.htm' ,'',$menu_length);
oM.makeMenu('m80_30',$gem_community,'PrettyRock Forum' ,'/prforum/index.php' ,'',$menu_length);
oM.makeMenu('m80_40',$gem_community,'PrettyRock Blog ' ,'http://gemsandminerals.blogspot.com/' ,'',$menu_length);
oM.makeMenu('m80_50',$gem_community,'PrettyRock Mailing List ' ,'http://www.prettyrock.com/mailinglist.htm' ,'',$menu_length);
oM.makeMenu('m80_60',$gem_community ,'Search Gem Shows' ,'/php/gem-shows.php', '', $menu_length);
oM.makeMenu('m80_70',$gem_community ,'Submit Gem Show','/php/submit-gem-shows.php','',$menu_length);

$menu_length = 160;
// ------ ABOUT PR SUBMENUS ------
oM.makeMenu('m90_10',$about_pr,'About PrettyRock.com' ,'/About-PrettyRock.htm' ,'',$menu_length);
oM.makeMenu('m90_20',$about_pr,'William Holland 2007' ,'/william-holland-072007.htm' ,'',$menu_length);
oM.makeMenu('m90_30',$about_pr,'Tucson Show 2007' ,'/Tucson-Show-2007.htm' ,'',$menu_length);
oM.makeMenu('m90_40',$about_pr,'Brazil 2009' ,'/brazil-2009-introduction.htm' ,'',$menu_length);
oM.makeMenu('m90_60',$about_pr,'Link To Us' ,'/linkexchange.htm'      ,'',$menu_length);


var avail="110+((cmpage.x2-235)/6)"; //100 is the left margin //6 is the number of toplevel menu items
//var avail="110+((cmpage.x2-235)/6)"; //100 is the left margin //6 is the number of toplevel menu items
//the array starts with the left margin, the rest is the width of each toplevel menu item
oM.menuPlacement= 0;
//if(!(bw.ie5&&bw.mac)) 
oM.construct()
