
var defaultURL;
var imageURL;
var secureURL;
var URL = new String(window.location.href);
var subURL;
subURL = URL.substring(0,5)

if (subURL == 'https')
{
imageURL = "https://www.thepantryrestaurant.com/Images/"
}
else
{
imageURL = "http://www.thepantryrestaurant.com/Images/"

}

defaultURL = "http://www.thepantryrestaurant.com/"
secureURL = "https://www.thepantryrestaurant.com/"

//  QuickMenu Pro, Copyright (c) 1998 - 2003, OpenCube Inc. - http://www.opencube.com

/*-------------------------------------------
		Values needed to unlock code
--------------------------------------------*/
//code0 = 1385

limit_multiple_users = true

restrict_access = true

//code1 = 982
//code2 = 1786

sequence = '9x44_5'
/*-------------------------------------------
		End of values needed to unlock code
--------------------------------------------*/

/*-------------------------------------------
Colors, Borders, Dividers, and more...
--------------------------------------------*/


	dqm__sub_menu_width = 130      	//default sub menu widths
	dqm__sub_xy = "0,0"            	//default sub x,y coordinates - defined relative
						//to the top-left corner of parent image or sub menu
   

	dqm__urltarget = "_self"		//default URL target: _self, _parent, _new, or "my frame name"

	dqm__border_width = 1
	dqm__divider_height = 1

	dqm__border_color = "#8DAEC8"		//Hex color or 'transparent'
	
	
	//###################################################
	//######## DropDown Background Menu Color ###########
	//###################################################
	dqm__menu_bgcolor = "#EFEAD7"		//Hex color or 'transparent' EBF2F9
	
	//###################################################
	//##### DropDown Rollover Background Menu Color #####
	//###################################################
	dqm__hl_bgcolor = "#FFFFFF"	//Hex color or 'transparent' EBF2F9

	
	
	dqm__mouse_off_delay = 150		//defined in milliseconds (activated after mouse stops)
	dqm__nn4_mouse_off_delay = 500		//defined in milliseconds (activated after leaving sub)


/*-------------------------------------------
Font settings and margins
--------------------------------------------*/

	
	//###################################################
	//################## Font settings ##################
	//###################################################
	
	dqm__textcolor = "#000000"
	dqm__fontfamily = "Verdana, Arial, Helvetica"	//Any available system font     
	dqm__fontsize = 10			//Defined with pixel sizing  	
	dqm__fontsize_ie4 = 9			//Defined with point sizing
	dqm__textdecoration = "normal"		//set to: 'normal', or 'underline'
	dqm__fontweight = "normal"		//set to: 'normal', or 'bold'
	dqm__fontstyle = "normal"		//set to: 'normal', or 'italic' 	

	
	//###################################################
	//############# Rollover Font settings ##############
	//###################################################
	
	dqm__hl_textcolor = "#000000" //3D5374
	dqm__hl_textdecoration = "normal"	//set to: 'normal', or 'underline'

    //###################################################
	//########### Margins and text alignment ############
	//###################################################

	dqm__text_alignment = "left"		//set to: 'left', 'center' or 'right'
	dqm__margin_top = 2
	dqm__margin_bottom = 3
	dqm__margin_left = 5
	dqm__margin_right = 4

/*-------------------------------------------
Bullet and Icon image library - Unlimited bullet
or icon images may be defined below and then associated
with any sub menu items within the 'Sub Menu Structure 
and Text' section of this data file.
--------------------------------------------*/

    //Relative positioned icon images (flow with sub item text)
 //   dqm__icon_image0 = imageURL + "Icons/gray_bullet.gif"
	//dqm__icon_rollover0 = imageURL + "Icons/gray_bullet_hl.gif"
//	dqm__icon_image4 = imageURL + "Icons/gray_bullet.gif"
//dqm__icon_rollover4 = imageURL + "Icons/gray_bullet_hl.gif"
//dqm__icon_image_wh4 = "13,8"

 //   dqm__icon_index4_1 = 0
	//dqm__second_icon_index4_1 = 0
	//dqm__sub_xy4_1 = "-4,5"
	


	//dqm__icon_image4_4 = imageURL + "Icons/arrow_gray.gif"
	//dqm__icon_rollover4_4 = imageURL + "Icons/arrow_gray_hl.gif"
	//dqm__icon_image_wh4_4 = "13,8"

	

    //Absolute positioned icon images (coordinate poitioned)

	//dqm__2nd_icon_image4_2 = imageURL + "Icons/arrow_gray.gif"
	//dqm__2nd_icon_rollover0 = imageURL + "Icons/arrow_gray_hl.gif"
	//dqm__2nd_icon_image_wh0 = "13,10"
	//dqm__2nd_icon_image_xy0 = "0,4"



/*---------------------------------------------
Optional Status Bar Text
-----------------------------------------------*/

	dqm__show_urls_statusbar = false
	
dqm__status_text0 = "Home"
dqm__status_text1 = "About Us"
dqm__status_text2 = "Contact Us"
dqm__status_text3 = "Locations"
dqm__status_text4 = "Menu"

dqm__status_text4_0 = "House Specialties"
dqm__status_text4_1 = "Egg Combinations and Omelettes"
dqm__status_text4_2 = "Crepes, Pancakes and Waffles"
dqm__status_text4_3 = "Breakfast Sides"
dqm__status_text4_4 = "Soups, Salads and Sandwiches"
dqm__status_text4_5 = "Entrees and Side Dishes"
dqm__status_text4_6 = "Healthy Foods"
dqm__status_text4_7 = "Children's Menu"
dqm__status_text4_8 = "Beverages and Deserts"
dqm__status_text4_9 = "Specials - Breakfast and Tuesday"
dqm__status_text4_10 = "Catering Menu"

/*-------------------------------------------
Internet Explorer Transition Effects
--------------------------------------------*/


    //Options include - none | fade | pixelate |iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch

	dqm__sub_menu_effect = "fade"
	dqm__sub_item_effect = "fade"


    //Define the effect duration in seconds below.
   
	dqm__sub_menu_effect_duration = .4
	dqm__sub_item_effect_duration = .4


    //Specific settings for various transitions.

	dqm__effect_pixelate_maxsqare = 25
	dqm__effect_iris_irisstyle = "CIRCLE"		//CROSS, CIRCLE, PLUS, SQUARE, or STAR
	dqm__effect_checkerboard_squaresx = 14
	dqm__effect_checkerboard_squaresY = 14
	dqm__effect_checkerboard_direction = "RIGHT"	//UP, DOWN, LEFT, RIGHT


    //Opacity and drop shadows.

	dqm__sub_menu_opacity = 100			//1 to 100
	dqm__dropshadow_color = "#666666"			//Hex color value or 'none'
	dqm__dropshadow_offx = 2		//drop shadow width
	dqm__dropshadow_offy = 2			//drop shadow height



/*-------------------------------------------
Browser Bug fixes and Workarounds
--------------------------------------------*/


    //Mac offset fixes, adjust until sub menus position correctly.
   
	dqm__ie4mac_offset_X = -8
	dqm__ie4mac_offset_Y = -50


    //Netscape 4 resize bug workaround.

	dqm__nn4_reaload_after_resize = true
	dqm__nn4_resize_prompt_user = false
	dqm__nn4_resize_prompt_message = "To reinitialize the navigation menu please click the 'Reload' button."
   

    //Set to true if the menu is the only item on the HTML page.

	dqm__use_opera_div_detect_fix = false


    //Pre-defined sub menu item heights for the Espial Escape browser.

	dqm__escape_item_height = 20
	dqm__escape_item_height0_0 = 70
	dqm__escape_item_height0_1 = 70


/*---------------------------------------------
Exposed menu events
----------------------------------------------*/

/*Use the showmenu_code parameter below to call the function which sets the visibility of the
  div to 'hidden' then use hidenmenu to set the visibility to 'visible'*/
//alert(typeof divContactReason)

    //Reference additional onload statements here.

	//dqm__onload_code = "alert('custom function - onload')"


    //The 'X' indicates the index number of the sub menu group or item.
    
 //   if (typeof divContactReason == 'undefined')
   // {
    //alert("divContactReason not found")
    //}
    //else
    //{
//	dqm__showmenu_code2 = "divContactReason.style.visibility = 'hidden'"
//	dqm__hidemenu_code2 = "divContactReason.style.visibility = 'visible'"

   //alert("divContactReason found")
    //}
//
	//dqm__showmenu_code2 = "divContactReason.style.visibility = 'hidden'"
	//dqm__hidemenu_code2 = "divContactReason.style.visibility = 'visible'"
	//dqm__clickitem_codeX_X = "alert('custom Function - Menu Item 0_0')"



/*---------------------------------------------
Specific Sub Menu Settings
----------------------------------------------*/


    //The following settings may be defined for specific sub menu groups.
    //The 'X' represents the index number of the sub menu group.

	dqm__border_widthX = 10;
	
	
//	dqm__border_colorX = "#0000ff";     
//	dqm__hl_textcolorX = "#ff0000"
//	dqm__text_alignmentX = "left"


    //The following settings may be defined for specific sub menu items.
    //The 'X' represents the index number of the sub menu item.

//	dqm__hl_subdesc2_9 = "custom highlight text"
//	dqm__urltargetX = "_new"

/**********************************************************************************************
**********************************************************************************************

                           Main Menu Rollover Images and Links  

**********************************************************************************************
**********************************************************************************************/

    //Main Menu Item 0

	dqm__rollover_image0 = imageURL + "header/header-nav-01-on.jpg"
	dqm__rollover_wh0 = "53,18"
	dqm__url0 = defaultURL;   

    //Main Menu Item 1

	dqm__rollover_image1 = imageURL + "header/header-nav-02-on.jpg"
	dqm__rollover_wh1 = "87,18"
	dqm__url1 = defaultURL + "About/";

    //Main Menu Item 2

	dqm__rollover_image2 = imageURL + "header/header-nav-03-on.jpg" 
	dqm__rollover_wh2 = "100,18"
	dqm__url2 = defaultURL + "Contact/";  

	//Main Menu Item 3

	dqm__rollover_image3 = imageURL + "header/header-nav-04-on.jpg" 
	dqm__rollover_wh3 = "87,18"
	dqm__url3 = defaultURL + "Location/";
		
	//Main Menu Item 4

	dqm__rollover_image4 = imageURL + "header/header-nav-05-on.jpg" 
	dqm__rollover_wh4 = "82,18"
	//dqm__url4 = defaultURL + "Menu/";  
	
  
/**********************************************************************************************
**********************************************************************************************

                              Sub Menu Structure and Text  

**********************************************************************************************
**********************************************************************************************/

//Sub Menu 4
dqm__sub_xy4 = "-79,17"
dqm__sub_menu_width4 = 199
dqm__subdesc4_0 = "House Specialties"
dqm__icon_index4_0 = 0

dqm__subdesc4_1 = "Egg Combinations and Omelettes"
dqm__icon_index4_1 = 0

dqm__subdesc4_2 = "Crepes, Pancakes and Waffles"
dqm__icon_index4_2 = 0

dqm__subdesc4_3 = "Breakfast Sides"
dqm__icon_index4_3 = 0
dqm__subdesc4_4 = "Soups, Salads and Sandwiches"
dqm__icon_index4_4 = 0
dqm__subdesc4_5 = "Entrees and Side Dishes"
dqm__icon_index4_5 = 0
dqm__subdesc4_6 = "Healthy Foods"
dqm__icon_index4_6 = 0
dqm__subdesc4_7 = "Children's Menu"
dqm__icon_index4_7 = 0
dqm__subdesc4_8 = "Beverages and Deserts"
dqm__icon_index4_8 = 0
dqm__subdesc4_9 = "Specials - Breakfast and Tuesday"
dqm__icon_index4_9 = 0
dqm__subdesc4_10 = "Catering Menu"
dqm__icon_index4_10 = 0

	dqm__url4_0 = defaultURL + "Menu/Menu01.aspx";
	dqm__url4_1 = defaultURL + "Menu/Menu02.aspx";
	dqm__url4_2 = defaultURL + "Menu/Menu03.aspx";
	dqm__url4_3 = defaultURL + "Menu/Menu04.aspx";
	dqm__url4_4 = defaultURL + "Menu/Menu05.aspx";
	dqm__url4_5 = defaultURL + "Menu/Menu06.aspx";
	dqm__url4_6 = defaultURL + "Menu/Menu07.aspx";
	dqm__url4_7 = defaultURL + "Menu/Menu08.aspx";
	dqm__url4_8 = defaultURL + "Menu/Menu09.aspx";
	dqm__url4_9 = defaultURL + "Menu/Menu10.aspx";
	dqm__url4_10 = defaultURL + "Menu/Menu11.aspx";

