/*-------------------------------------------
Copyright Notice
--------------------------------------------*/

   DQM_Notice = "DHTML QuickMenu, Copyright (c) - 2001, OpenCube Inc. - www.opencube.com"
   


/*-------------------------------------------
Required menu Settings
--------------------------------------------*/



   DQM_sub_menu_width = 130

  
   DQM_urltarget = "_self"
   
   DQM_onload_statement = ""
   DQM_codebase = ""

   DQM_border_color = "#E3D7CB"
   
   DQM_menu_bgcolor = "#E3D7CB"
   DQM_hl_bgcolor = "#48735F"

   DQM_sub_xy = "0,0"
   DQM_border_width = 1
   DQM_divider_height = 1

   /*---IE5-MAC Offset Fix - The following two
   -----parameters correct a position reporting
   -----bug in IE5 on the Mac platform. Adjust
   -----the offsets below untill the first level
   -----sub menus pop up in the correct location.*/
   
   DQM_ie5mac_offset_X = 0
   DQM_ie5mac_offset_Y = 0


/*-------------------------------------------
Required font Settings
--------------------------------------------*/
   

   DQM_textcolor = "#000000"
   DQM_fontfamily = "Arial"
   DQM_fontsize = 11
   DQM_textdecoration = "normal"
   DQM_fontweight = "normal"
   DQM_fontstyle = "normal"
   DQM_hl_textcolor = "#FFFFFF"
   DQM_hl_textdecoration = "normal"

   DQM_margin_top = 3
   DQM_margin_bottom = 3
   DQM_margin_left = 5


  
   DQM_rollover_image0 = "images/worship_with_us_on.gif"
   DQM_rollover_wh0 = "95,24"

   DQM_rollover_image1 = "images/get_to_know_us_on.gif"
   DQM_rollover_wh1 = "100,24"

   DQM_rollover_image2 = "images/meet_our_leaders_on.gif"
   DQM_rollover_wh2 = "115,24"
   
   DQM_rollover_image3 = "images/get_involved_on.gif"
   DQM_rollover_wh3 = "76,24"
   
   DQM_rollover_image4 = "images/serve_others_on.gif"
   DQM_rollover_wh4 = "83,24"
   
   DQM_rollover_image5 = "images/find_support_on.gif"
   DQM_rollover_wh5 = "74,24"
  
  


/*---------------------------------------------
Optional Icon Images
-----------------------------------------------*/

   DQM_icon_image0 = "images/spacer.gif"
   DQM_icon_rollover0 = "images/spacer.gif"
   DQM_icon_image_wh0 = "10,10"



DQM_sub_xy0 = "-125,24"
DQM_sub_menu_width0 = 170
DQM_sub_xy1 = "-130,24"
DQM_sub_menu_width1 = 200; 

DQM_sub_xy2 = "-145,24"
DQM_sub_menu_width2 = 170;
DQM_sub_xy3 = "-106,24"
DQM_sub_menu_width3 = 170;
DQM_sub_xy4 = "-113,24"
DQM_sub_menu_width4 = 170;
DQM_sub_xy5 = "-104,24"
DQM_sub_menu_width5 = 170;
<?				   
$counter = 0;					 
					  $MainCatIDList = array("worship","gettoknow","meetleaders","getinvolved","serve","findsupport");
					 
					  while (list (,$PageName) = each($MainCatIDList )) { 
					  //Get MainCatID name...
					   $y = $MainCatIDList[$counter]; 
					   //Get all the subpages associated with it....
					  $sqlSub = "SELECT * FROM MainPageInfo WHERE MainCatID = '$y' AND SubCatID != '' AND SubSubCatID = '' ORDER BY OrderNumber";
				      $resultSub = mysql_query($sqlSub);
					  $subcounter = 0;
					  if ($myrowSub = mysql_fetch_array($resultSub)) {
						do { 
						print "DQM_subdesc".$counter."_".$subcounter." = \"".$myrowSub[SubCatName]."\"";
						print "\n";
						print "DQM_icon_index".$counter."_".$subcounter." = 0";
						print "\n";
						print "DQM_url".$counter."_".$subcounter." = \"index.php?Page=".$y."&SubPage=".$myrowSub[SubCatID]."\"";
						print "\n";
						$subcounter = $subcounter + 1;
						} while ($myrowSub = mysql_fetch_array($resultSub)); } 
					 $counter = $counter + 1;   } ?>
