var NoOffFirstLineMenus=6; // Number of first level items var LowBgColor='993300'; // Background color when mouse is not over var LowSubBgColor='993300'; // Background color when mouse is not over on subs var HighBgColor='CC6633'; // Background color when mouse is over var HighSubBgColor='CC6633'; // Background color when mouse is over on subs var FontLowColor='ffffff'; // Font color when mouse is not over var FontSubLowColor='ffffff'; // Font color subs when mouse is not over var FontHighColor='ffffff'; // Font color when mouse is over var FontSubHighColor='ffffff'; // Font color subs when mouse is over var BorderColor='000000'; // Border color var BorderSubColor='000000'; // Border color for subs var BorderWidth=0; // Border width var BorderBtwnElmnts=1; // Border between elements 1 or 0 var FontFamily="arial,technical" // Font family menu items var FontSize=10; // Font size menu items var FontBold=0; // Bold menu items 1 or 0 var FontItalic=0; // Italic menu items 1 or 0 var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right' var MenuCentered='center'; // Menu horizontal position 'left', 'center' or 'right' var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static var ChildOverlap=0; // horizontal overlap child/ parent var ChildVerticalOverlap=0; // vertical overlap child/ parent var StartTop=100; // Menu offset x coordinate var StartLeft=0; // Menu offset y coordinate var VerCorrect=0; // Multiple frames y correction var HorCorrect=0; // Multiple frames x correction var LeftPaddng=4; // Left padding var TopPaddng=3; // Top padding var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL var MenuFramesVertical=0; // Frames in cols or rows 1 or 0 var DissapearDelay=750; // delay before menu folds in var TakeOverBgColor=1; // Menu frame takes over background color subitem frame var FirstLineFrame='navig'; // Frame where first level appears var SecLineFrame='space'; // Frame where sub levels appear var DocTargetFrame='space'; // Frame where target documents appear var TargetLoc=''; // span id for relative positioning var HideTop=0; // Hide first level when loading new document 1 or 0 var MenuWrap=1; // enables/ disables menu wrap 1 or 0 var RightToLeft=0; // enables/ disables right to left unfold 1 or 0 var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover var WebMasterCheck=0; // menu tree checking on or off 1 or 0 var ShowArrow=0; // Uses arrow gifs when 1 var KeepHilite=1; // Keep selected path highligthed var Arrws=['../img/body/tri.gif',5,10,'../img/body/tridown.gif',10,5,'../img/body/trileft.gif',5,10]; // Arrow source, width and height function BeforeStart(){return} function AfterBuild(){return} function BeforeFirstOpen(){return} function AfterCloseAll(){return} // Menu tree // MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width); // For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg" num_rows; ?> Menu2=new Array("rollover:/images/products.jpg:/images/products-over.jpg","","",,25,115); data as $line) { $id = $line['ID']; $q = "SELECT * FROM subcategories WHERE cat = '$id' ORDER BY rank, subcat"; $n = new DBQuery($q); $num_subs = ($id == 5) ? $n->num_rows + 2 : $n->num_rows; $arrow = ($num_subs == 1) ? "" : " >"; $link = ""; $cat_page = ""; if ($num_subs == 1) { $num_subs = 0; $cat_page = ($id == 18) ? "products2.php?id=88" : "products.php?id=" . $n->data[0]['ID']; $cat_page = ($id == 19) ? "whats_hot.php" : $cat_page; } print "Menu2_" . $x . "=new Array(\"" . $line['category'] . $arrow . "\",\"$cat_page\",\"\",$num_subs,22,150);\r\n"; if ($n->num_rows > 1) { $z = 1; foreach ($n->data as $row) { $page = ""; $page = ($id == 1) ? "boots.php" : "products.php"; $page = ($id == 3) ? "products2.php" : $page; $page = ($id == 5) ? "belts.php" : $page; $page = ($id == 6) ? "buckles.php" : $page; print "Menu2_" . $x . "_" . $z . "=new Array(\"" . $row['subcat'] . "\",\"$page?id=" . $row['ID'] . "\",\"\",0,22,150);\r\n"; $z++; } if ($id == 5) { print "Menu2_" . $x . "_" . $z . "=new Array(\"Our Belt Styles\", \"belts_styles.php\",\"\",0,22,150);\r\n"; print "Menu2_" . $x . "_" . ($z+1) . "=new Array(\"How to Measure\", \"belts_measure.php\",\"\",0,22,150);\r\n"; } } $x++; } ?> Menu1=new Array("rollover:/images/store.jpg:/images/store-over.jpg","","",3,25,91); Menu1_1=new Array("The History of Falconhead","store_history.php","", 0, 22, 180); Menu1_2=new Array("Famous Outlaws","products2.php?id=128","", 0, 22, 180); Menu1_3=new Array("Return Policy","return_policy.php","", 0, 22, 180); Menu3=new Array("rollover:/images/info.jpg:/images/info-over.jpg","","",4,25,120); Menu3_1=new Array("The Press Room","info_pressroom.php","",0,22,115); Menu3_2=new Array("Museum Exhibits","info_museums.php","",0,22,115); Menu3_3=new Array("Testimonials","info_testimonials.php","",0,22,115); Menu3_4=new Array("On the Road","info_schedule.php","",0,22,115); Menu4=new Array("rollover:/images/contact.jpg:/images/contact-over.jpg","contact.php","",0,25,105); Menu5=new Array("rollover:/images/outlaws.jpg:/images/outlaws-over.jpg","","",3,25,123); Menu5_1=new Array("The Legend of Tres Outlaws","tres_story.php","",0,22,175); Menu5_2=new Array("How the Boots are Made","tres_boots.php","",0,22,175); Menu5_3=new Array("The El Paso Facility","products2.php?id=94","",0,22,175); Menu6=new Array("rollover:/images/custom.jpg:/images/custom-over.jpg","","",5,25,157); Menu6_1=new Array("Scott Wayne Designs for U","wayne_designs.php","",0,22,175); Menu6_2=new Array("Custom Fitting","custom_fitting.php","",0,22,175); Menu6_3=new Array("Design Concepts","custom_concepts.php","",0,22,175); Menu6_4=new Array("Gallery of Custom Boots","products2.php?id=92","",0,22,175); Menu6_5=new Array("Custom Requests","custom_requests.php","",0,22,175);