//  Designed by Sohrab Merat
//  Championsway Inc.

/*-------------------------------------------
Site Variables
--------------------------------------------*/
orgid=13770;
sorgid=orgid+40000;

Domain="http://"+document.domain+"/";
SecureDomain="https://"+document.domain+":"+sorgid+"/";

if (location.protocol!="file:")
{
	if (location.protocol=="http:")
	{		
		MyDomain=Domain;
	}
	
	else
	{
		MyDomain=SecureDomain;
	}
}
else
{
	MyDomain="";
	Domain="";
	SecureDomain="";
}




/*-------------------------------------------
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 = "#000000"		//Hex color or 'transparent'
	dqm__menu_bgcolor = "#000000"		//Hex color or 'transparent'
	dqm__hl_bgcolor = "#000000"		

	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 = "Arial"			//Any available system font     
	dqm__fontsize = 11					//Defined with pixel sizing  	
	dqm__fontsize_ie4 = 9				//Defined with point sizing
	dqm__textdecoration = "normal"		//set to: 'normal', or 'underline'
	dqm__fontweight = "bold"			//set to: 'normal', or 'bold'
	dqm__fontstyle = "normal"			//set to: 'normal', or 'italic' 	
	

    //Rollover font settings

	dqm__hl_textcolor = "#ff0000"
	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 = 5
	dqm__margin_bottom = 5
	dqm__margin_left = 5
	dqm__margin_right = 5

   


/*-------------------------------------------
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 = MyDomain+"images/bullet.gif"
	dqm__icon_rollover0 = MyDomain+"images/bullet_hl.gif"
	dqm__icon_image_wh0 = "13,8"

	

    //Absolute positioned icon images (coordinate poitioned)

	dqm__2nd_icon_image0 = MyDomain+"images/arrow.gif"
	dqm__2nd_icon_rollover0 = MyDomain+"images/arrow_hl.gif"
	dqm__2nd_icon_image_wh0 = "13,10"
	dqm__2nd_icon_image_xy0 = "60,4"



/*---------------------------------------------
Optional Status Bar Text
-----------------------------------------------*/

	dqm__show_urls_statusbar = false
   
	//dqm__status_text0 = "Sample text - Main Menu Item 0"
	//dqm__status_text1 = "Sample text - Main Menu Item 1"

	//dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 0"	
	//dqm__status_text1_0 = "Sample text - Main Menu Item 1, Sub Item 1"	




/*-------------------------------------------
Internet Explorer Transition Effects
--------------------------------------------*/


    //Options include - none | fade | pixelate |iris | slide | gradientwipe | checkerboard | radialwipe | randombars | randomdissolve |stretch

	dqm__sub_menu_effect = "none"
	dqm__sub_item_effect = "none"


    //Define the effect duration in seconds below.
   
	dqm__sub_menu_effect_duration = .3
	dqm__sub_item_effect_duration = .6


    //Specific settings for various transitions.

	dqm__effect_pixelate_maxsqare = 20
	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 = 90			//1 to 100
	dqm__dropshadow_color = "#000000"			//Hex color value or 'none'
	dqm__dropshadow_offx = 1			//drop shadow width
	dqm__dropshadow_offy = 1			//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
----------------------------------------------*/


    //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.

	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')"



/*---------------------------------------------
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 = 0;
	dqm__divider_heightX = 0;		
	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"




/**********************************************************************************************
**********************************************************************************************

                           Main Menu Rollover Images and Links  

**********************************************************************************************
**********************************************************************************************/



    //Main Menu Item 0

	dqm__rollover_image0 = MyDomain+"images/home_hl.jpg"
	dqm__rollover_wh0 = "68,29"
	dqm__url0 = MyDomain+"default.html";   


    //Main Menu Item 1

	dqm__rollover_image1 = MyDomain+"images/programs_hl.jpg"
	dqm__rollover_wh1 = "112,29"
	dqm__url1 = MyDomain+"programs.html";


    //Main Menu Item 2

	dqm__rollover_image2 = MyDomain+"images/schedules_hl.jpg" 
	dqm__rollover_wh2 = "109,29"
	//dqm__url2 = MyDomain+"MyOffice/storeonline/classSchedule.aspx?orgId="+orgid;


    //Main Menu Item 3

	dqm__rollover_image3 = MyDomain+"images/about_hl.jpg" 
	dqm__rollover_wh3 = "106,29"
	//dqm__url3 = MyDomain+"my_url.html";   
  
    //Main Menu Item 4

	dqm__rollover_image4 = MyDomain+"images/contact_hl.jpg" 
	dqm__rollover_wh4 = "100,29"
	dqm__url4 = MyDomain+"contact.html";  


/**********************************************************************************************
**********************************************************************************************

                              Sub Menu Structure and Text  

**********************************************************************************************
**********************************************************************************************/
   


/*---------------------------------------------
Specific Sub Menu Settings
----------------------------------------------*/
  


    //Home DropDown

	dqm__sub_xy0 = "-101,35"
	dqm__sub_menu_width0 = 180


    //About DropDown
	dqm__sub_xy1 = "-112,29"
	dqm__sub_menu_width1 = 180
	
	dqm__subdesc1_0 = "Our School"
	dqm__subdesc1_1 = "Our Programs"
	
		dqm__sub_xy1_1 = "0,0"
		dqm__sub_menu_width1_1 = 180
		
		dqm__subdesc1_1_0 = "Taekwondo"
		dqm__subdesc1_1_1 = "Kendo"
		dqm__subdesc1_1_2 = "Judo"
		dqm__subdesc1_1_3 = "Hap Ki Do"
		dqm__subdesc1_1_4 = "Weapons"
		dqm__subdesc1_1_5 = "Olympic Class"
		dqm__subdesc1_1_6 = "Tiny Tiger Tots Class"
		dqm__subdesc1_1_7 = "Family Class"
		dqm__subdesc1_1_8 = "Demonstration Team"
		dqm__subdesc1_1_9 = "Spring/Summer Camp"
		dqm__subdesc1_1_10 = "Birthday Party"
		
		dqm__url1_1_0 = MyDomain+"taekwondo.html"
		dqm__url1_1_1 = MyDomain+"kendo.html"
		dqm__url1_1_2 = MyDomain+"judo.html"
		dqm__url1_1_3 = MyDomain+"hapkido.html"
		dqm__url1_1_4 = MyDomain+"weapons.html"
		dqm__url1_1_5 = MyDomain+"olympicclass.html"
		dqm__url1_1_6 = MyDomain+"tinytigertotsclass.html"
		dqm__url1_1_7 = MyDomain+"familyclass.html"
		dqm__url1_1_8 = MyDomain+"demonstrationteam.html"
		dqm__url1_1_9 = MyDomain+"springsummercamp.html"
		dqm__url1_1_10 = MyDomain+"birthdayparty.html"
		
	dqm__subdesc1_2 = "Our Facility"
	
		dqm__sub_xy1_2 = "0,0"
		dqm__sub_menu_width1_2 = 180
		
		dqm__subdesc1_2_0 = "Thornhill Location"
		dqm__subdesc1_2_1 = "Mississauga Location"
		
		dqm__url1_2_0 = MyDomain+"thornhilllocation.html"
		dqm__url1_2_1 = MyDomain+"mississaugalocation.html"
		
	dqm__subdesc1_3 = "Instructors"
	dqm__subdesc1_4 = "Class Schedules"
	
		dqm__sub_xy1_4 = "0,0"
		dqm__sub_menu_width1_4 = 180
		
		dqm__subdesc1_4_0 = "Thornhill"
		dqm__subdesc1_4_1 = "Mississauga"
		
		dqm__url1_4_0 = MyDomain+"thornhillschedule.html"
		dqm__url1_4_1 = MyDomain+"mississaugaschedule.html"
		
	dqm__url1_0 = MyDomain+"school.html"
	dqm__url1_1 = MyDomain+"#"
	dqm__url1_2 = MyDomain+"#"
	dqm__url1_3 = MyDomain+"instructors.html"
	dqm__url1_4 = MyDomain+"#"
	
	
	


	//Sub Menu 2
	dqm__sub_xy2 = "-109,29"
	dqm__sub_menu_width2 = 180
	
	dqm__subdesc2_0 = "My Info" 
	dqm__subdesc2_1 = "My Notes"
	dqm__subdesc2_2 = "My Awards"
	dqm__subdesc2_3 = "My Curriculum"
	dqm__subdesc2_4 = "My Schedule"
	dqm__subdesc2_5 = "My Message"
	

	
	dqm__url2_0 = MyDomain+"MyOffice/MyProfile/default.aspx?info=true&orgId="+orgid
	dqm__url2_1 = MyDomain+"MyOffice/MyProfile/default.aspx?notes=true&orgId="+orgid
	dqm__url2_2 = MyDomain+"MyOffice/MyProfile/default.aspx?awards=true&orgId="+orgid
	dqm__url2_3 = MyDomain+"MyOffice/MyProfile/default.aspx?videos=true&orgId="+orgid
	dqm__url2_4 = MyDomain+"MyOffice/MyProfile/default.aspx?schedule=true&orgId="+orgid
	dqm__url2_5 = MyDomain+"MyOffice/MyProfile/default.aspx?message=true&orgId="+orgid
	
	
	dqm__sub_xy3 = "-106,29"
	dqm__sub_menu_width3 = 180
	
	dqm__subdesc3_0 = "eStore"
	dqm__subdesc3_1 = "Photo Gallery"
	dqm__subdesc3_2 = "eCards"
	dqm__subdesc3_3 = "eNews"
	dqm__subdesc3_4 = "Events"
	


	
	dqm__url3_0 = MyDomain+"myoffice/storeonline/default.aspx?orgId="+orgid
	dqm__url3_1 = MyDomain+"photogallery/index.html"
	dqm__url3_2 = MyDomain+"newecards/index.aspx?eCardOrgID="+orgid
	dqm__url3_3 = MyDomain+"myoffice/storeonline/whatsnew.aspx?orgId="+orgid
	dqm__url3_4 = MyDomain+"events.html"
	
//dqm__subdesc2_0 = "Kendo Schedule"
//dqm__subdesc2_1 = "Taekwondo Schedule"

	
//dqm__url2_0 = MyDomain+"schedule/Kendo-schedule.xls"
//dqm__url2_1 = MyDomain+"schedule/Taekwondo-schedule.xls"

//dqm__urltarget2_0 = "_new"

//dqm__urltarget2_1 = "_new"
	
	

	/**/

   //Sub Menu 3


	
	
	//dqm__subdesc3_1 = "Our Style"
	//dqm__subdesc3_1 = "Our Facility"
	//dqm__subdesc3_2 = "Our Instructors"
	//dqm__subdesc3_3 = "Programs"
	
		
		
	//dqm__subdesc3_4 = "School Creed"
	//dqm__subdesc3_6 = "School Policy"
	//dqm__subdesc3_7 = "School Schedule"
	



	//dqm__url3_0 = MyDomain+"school.html"
	//dqm__url3_1 = MyDomain+"style.html"
	//dqm__url3_1 = MyDomain+"#"
	//dqm__url3_2 = MyDomain+"facility.html"
	//dqm__url3_2 = MyDomain+"instructors.html"
	//dqm__url3_3 = MyDomain+"programs.html"
	//dqm__url3_4 = MyDomain+"MyOffice/MyProfile/default.aspx?school=creed&orgId="+orgid;
	//dqm__url3_6 = MyDomain+"MyOffice/MyProfile/default.aspx?school=policy&orgId="+orgid;
	//dqm__url3_7 = MyDomain+"MyOffice/storeonline/classSchedule.aspx?orgId="+orgid;
	

	/*

    dqm__urltarget3_2 = "_new"			//default URL target: _self, _parent, _new, or "my frame name"
*/

	//Contact DropDown
	dqm__sub_xy4 = "-101,50"
	dqm__sub_menu_width4 = 180
