//  QuickMenu Pro, Copyright (c) 1998 - 2003, OpenCube Inc. - http://www.opencube.com

dqm__codebase = "/menus/script/"

// Shortcuts
var url_fs = "http://sustainablefoundation.org/"
var url_fl = "http://sustainablefoundation.org/Programs/"
var url_fh = "http://sustainablefoundation.org/Events/"
var url_fv = "http://www.carolinachamber.org"


/*-------------------------------------------
  URL builder (formerly for UTM)
--------------------------------------------*/
function buildUTMURL(base,link) {
	return base + link
}

/*-------------------------------------------
Colors, Borders, Dividers, and more...
--------------------------------------------*/

	dqm__sub_menu_width = 184      		//default sub menu widths
	dqm__sub_xy = "-10,5"            	//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__divider_height = 0
	dqm__border_width = 1
	dqm__border_color = "#FFFFFF"		//Hex color or 'transparent'

	dqm__mouse_off_delay = 0			//defined in milliseconds (activated after mouse stops)
	dqm__nn4_mouse_off_delay = 0		//defined in milliseconds (activated after leaving sub)


/*-------------------------------------------
Font settings and margins
--------------------------------------------*/
   

    //Font settings

	dqm__textcolor = "#ffffff"
	dqm__fontfamily = "times new roman"	//Any available system font     
	dqm__fontsize = 14			//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'
	dqm__menu_bgcolor = "#98b8f4"		//Hex color or 'transparent'		


//#E1DFD7

    //Rollover font settings

	dqm__hl_textcolor = "#FFFFFF"
	dqm__hl_textdecoration = "normal"	//set to: 'normal', or 'underline'
	dqm__hl_fontweight = "normal"		//set to: 'normal', or 'bold'
	dqm__hl_bgcolor = "#6d91d4"


    //Margins and text alignment

	dqm__text_alignment = "left"		//set to: 'left', 'center' or 'right'

	dqm__margin_top = 3
	dqm__margin_bottom = 3
	dqm__margin_left = 12
	dqm__margin_right = 12
	dqm__menu_margin_top = 3
	dqm__menu_margin_bottom = 3   


/*-------------------------------------------
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 = "/common/Images/spacer.gif"
	dqm__icon_rollover0 = "/common/Images/spacer.gif"
	dqm__icon_image_wh0 = "15,9"


    //Absolute positioned icon Images (coordinate poitioned)

	dqm__2nd_icon_image0 = "/common/Images/global_tnav_arrow.gif"
	dqm__2nd_icon_rollover0 = "/common/Images/global_tnav_arrow_on.gif"
	dqm__2nd_icon_image_wh0 = "17,7"
	dqm__2nd_icon_image_xy0 = "-5,8"

/*---------------------------------------------
Optional Status Bar Text
-----------------------------------------------*/

	dqm__show_urls_statusbar = false

/*-------------------------------------------
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"
	dqm__sub_menu_effect = "none"
	dqm__sub_item_effect = "none"

    //Define the effect duration in seconds below.
   
	//dqm__sub_menu_effect_duration = .2
	//dqm__sub_item_effect_duration = .2
	dqm__sub_menu_effect_duration = 0
	dqm__sub_item_effect_duration = 0


    //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 = "none"			//Hex color value or 'none'
	dqm__dropshadow_offx = 5			//drop shadow width
	dqm__dropshadow_offy = 5			//drop shadow height



/*-------------------------------------------
Browser Bug fixes and Workarounds
--------------------------------------------*/


    //Mac offset fixes, adjust until sub menus position correctly.
   
	dqm__os9_ie5mac_offset_X = 0
	dqm__os9_ie5mac_offset_Y = 0

	dqm__osx_ie5mac_offset_X = 0
	dqm__osx_ie5mac_offset_Y = 0

	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
----------------------------------------------*/


    //The 'X' indicates the index number of the sub menu group or item.

	dqm__showmenu_codeX = "status = 'custom show menu function call - menu0'"
	dqm__hidemenu_codeX = "status = 'custom hide menu function call - menu0'"
	dqm__clickitem_codeX_X = "alert('custom Function - Menu Item 0_0')"
	
	dqm__onload_code = "fs_start()"

/*---------------------------------------------
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__divider_heightX = 5;		
	dqm__border_colorX = "#0000ff";     
	dqm__menu_bgcolorX = "#ff0000"
	dqm__hl_bgcolorX = "#00ff00"
	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_subdescX = "custom highlight text"
	dqm__urltargetX = "_new"

/*----------------------
Licensing
-----------------------*/

	limit_multiple_users = true 
	

/**********************************************************************************************
**********************************************************************************************

                           Main Menu Rollover Images and Links  

**********************************************************************************************
**********************************************************************************************/

	/*******************************

         Top navigation

	*******************************/

	dqm__rollover_image0 = "/Images/homebutton_on.gif"
	dqm__rollover_wh0 = "132,32"
	dqm__url0 = buildUTMURL(url_fs,"default.html")
	
	dqm__rollover_image1 = "/Images/backgroundbutton_on.gif"
	dqm__rollover_wh1 = "133,32"
	dqm__url1 = buildUTMURL(url_fs,"background.html")
	
	dqm__rollover_image2 = "/Images/programsbutton_on.gif"
	dqm__rollover_wh2 = "133,32"
	dqm__sub_xy2 = "-133,32"
	dqm__url2 = buildUTMURL(url_fs,"programs.html")
	
	dqm__rollover_image3 = "/Images/successesbutton_on.gif"
	dqm__rollover_wh3 = "133,32"
	dqm__url3 = buildUTMURL(url_fs,"successes.html")
	
	dqm__rollover_image4 = "/Images/eventsbutton_on.gif"
	dqm__rollover_wh4 = "133,32"
	dqm__sub_xy4 = "-166,32"
	dqm__url4 = buildUTMURL(url_fs,"events.html")
	
	dqm__rollover_image5 = "/Images/investorbutton_on.gif"
	dqm__rollover_wh5 = "132,32"
	dqm__url5 = buildUTMURL(url_fs,"investors.html")

	dqm__rollover_image6 = "/Images/chamberhomebutton_on.gif"
	dqm__rollover_wh6 = "200,20"
	dqm__url6 = buildUTMURL(url_fv,"")
	
	dqm__rollover_image7 = "/Images/sustainablebutton_on.gif"
	dqm__rollover_wh7 = "200,20"
	dqm__url7 = buildUTMURL(url_fl,"sustainable.html")
	
	dqm__rollover_image8 = "/Images/inthenewsbutton_on.gif"
	dqm__rollover_wh8 = "200,20"
	dqm__url8 = buildUTMURL(url_fs,"hottopics.html")
	
	dqm__rollover_image9 = "/Images/contactusbutton_on.gif"
	dqm__rollover_wh9 = "200,20"
	dqm__url9 = buildUTMURL(url_fs,"contact.html")
	
	dqm__rollover_image10 = "/Images/donatebutton_on.gif"
	dqm__rollover_wh10 = "200,20"
	dqm__url10 = buildUTMURL(url_fs,"donate.html")	
/**********************************************************************************************
**********************************************************************************************

                              Sub Menu Structure and Text  

**********************************************************************************************
**********************************************************************************************/

	/*******************************

         Programs

	*******************************/

	dqm__subdesc2_0 = "Community Leadership Collaboration"
	dqm__url2_0 = buildUTMURL(url_fl,"clc.html")
		
	dqm__subdesc2_1 = "Institute for Sustainable Development"
	dqm__url2_1 = buildUTMURL(url_fl,"development.html")
	
	dqm__subdesc2_2 = "Workforce Housing Partnership"
	dqm__url2_2 = buildUTMURL(url_fl,"workforce.html")

	dqm__subdesc2_3 = "Business in Education Taskforce"
	dqm__url2_3 = buildUTMURL(url_fl,"business.html")
	
	dqm__subdesc2_4 = "Leadership Chapel-Hill Carrboro"
	dqm__url2_4 = buildUTMURL(url_fl,"leadership.html")
	
	dqm__subdesc2_5 = "Sustainable Enterprise Certification"
	dqm__url2_5 = buildUTMURL(url_fl,"enterprise.html")

	/*******************************

         Events

		*******************************/


	dqm__subdesc4_0 = "Sustainability Workshop and National Conversation on Climate Change"
	dqm__url4_0 = buildUTMURL(url_fh,"Event5.html")
							  
	dqm__subdesc4_1 = "Annual Meeting"
	dqm__url4_1 = buildUTMURL(url_fh,"Event6.html")

	dqm__subdesc4_2 = "POZEN Inc. Essay Contest"
	dqm__url4_2 = buildUTMURL(url_fh,"Event8.html")
	
	dqm__subdesc4_3 = "Salute to Community Heroes"
	dqm__url4_3 = buildUTMURL(url_fh,"Event7.html")



