//  QuickMenu Pro, Copyright (c) 1998 - 2003, OpenCube Inc. - http://www.opencube.com
	
	var strLanguage = ["pt", "en"]; //configure all languages subdirectores
	
	/**
	 * Verify if the page is the initial page
	 */
	function isInitialPage() {
		var bOut = false;
		var i = 0;
		
		for (i=0; i<strLanguage.length; i++) {
			if (document.location.pathname.indexOf(strLanguage[i]
					+ "/default.aspx") > 0) {
				bOut = true;
				break;
			}
		}
		return bOut;
	}

	/**
	 * Create a relative link to other page, to any number of subdirectories.
	 * The root of pages is the language directory ("pt", "en", for example).
	 * To make a link to other language (from /pt/page.html to /en/page.html), 
	 * predate the link with ../<language> (../en/xxx.html, for example)
	 *
	 * Example 1:
	 * From: /pt/produtos/page.html
	 * To: /pt/teste/xxx.html
	 * Parameter (strLink): "teste/xxx.html"
	 * Results: ../teste/xxx.html
	 *
	 * Example 2:
	 * From: /pt/produtos/p1/page.html
	 * To: /pt/teste/xxx.html
	 * Parameter (strLink): "teste/xxx.html"
	 * Results: ../../teste/xxx.html
	 *
	 * Example 3:
	 * From: /pt/produtos/p1/page.html
	 * To: /en/teste/xxx.html
	 * Parameter (strLink): "../en/teste/xxx.html"
	 * Results: ../../../en/teste/xxx.html
	 *
	 * @author Pablo Jose Almeida da Guia
	 * @version 14 Jan 2004
	 * @param strLink a relative link relative to language directory
	 * @return a relative link to any number of directories
	 */
	function getRelativeLink(strLink) {
		var strCurrentLink = "";
		var strOut = "";
		var i=0;
		var intSlashes = 0;
		var strSlashes = "";
		
		/* strLink must start with '/'*/
		if (strLink.indexOf("/") != 0) {
			strLink = "/" + strLink;
		}
		
		/* find the root of path */
		for (i=0; i<strLanguage.length; i++) {
			var strPath = document.location.pathname;
			var strLanguagePath = "/" + strLanguage[i] + "/";
			if (strPath.indexOf(strLanguagePath) > -1) {
				strCurrentLink = strPath.substr(
					strPath.indexOf(strLanguagePath)
					+ strLanguagePath.length);
			}
		}
		
		/* count subdirectories level */
		for (i=0; i<strCurrentLink.length; i++) {
			if (strCurrentLink.charAt(i) == "/") {
				intSlashes++;
			}
		}
		
		/* create the relative link */
		if (intSlashes > 0) {
			for (i=0; i<intSlashes; i++) {
				strSlashes += "../";
			}
		}
		
		strOut = strSlashes + strLink.substr(1);
		return strOut;
	}


/*-------------------------------------------
Colors, Borders, Dividers, and more...
--------------------------------------------*/


	dqm__sub_menu_width = 180      	//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 = 0
	dqm__divider_height = 0

	dqm__border_color = "#000000"		//Hex color or 'transparent'
	dqm__menu_bgcolor = "#999999"		//Hex color or 'transparent'
	dqm__hl_bgcolor = "#FFD800"		

	dqm__mouse_off_delay = 10		//defined in milliseconds (activated after mouse stops)
	dqm__nn4_mouse_off_delay = 10		//defined in milliseconds (activated after leaving sub)


/*-------------------------------------------
Font settings and margins
--------------------------------------------*/
   

    //Font settings

	dqm__textcolor = "#EEEEEE"
	dqm__fontfamily = "Arial"		//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"
	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 = "images/sample2_bullet.gif"
	//dqm__icon_rollover0 = "images/sample2_bullet_hl.gif"
	//dqm__icon_image_wh0 = "13,8"

	

    //Absolute positioned icon images (coordinate poitioned)

	//dqm__2nd_icon_image0 = "images/sample2_arrow.gif"
	//dqm__2nd_icon_rollover0 = "images/sample2_arrow.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 = "COMPANY"
	dqm__status_text1 = "PRODUCTS"
	dqm__status_text2 = "SERVICES"
	dqm__status_text3 = "CLIENTS"
	dqm__status_text4 = "KNOWLEDGE"

	//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 = "gradientwipe"
	dqm__sub_item_effect = "none"


    //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 = "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 = 10
	dqm__os9_ie5mac_offset_Y = 15

	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
----------------------------------------------*/


    //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 = 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"




/**********************************************************************************************
**********************************************************************************************

                           Main Menu Rollover Images and Links  

**********************************************************************************************
**********************************************************************************************/



    //Main Menu Item 0
	
	
	if (isInitialPage()) {
		dqm__rollover_image0 = getRelativeLink("img/menu_index-empresa2.gif");
		dqm__rollover_wh0 = "90,100"
	} else {
		dqm__rollover_image0 = getRelativeLink("img/menu_voxel-empresa2.gif");
		dqm__rollover_wh0 = "90,70"
	}
	
	dqm__url0 = "";   


    //Main Menu Item 1

	if (isInitialPage()) {
		dqm__rollover_image1 = getRelativeLink("img/menu_index-produtos2.gif");
		dqm__rollover_wh1 = "90,100"
	} else {
		dqm__rollover_image1 = getRelativeLink("img/menu_voxel-produtos2.gif");
		dqm__rollover_wh1 = "90,70"
	}
	dqm__url1 = "";


    //Main Menu Item 2

	if (isInitialPage()) {
		dqm__rollover_image2 = getRelativeLink("img/menu_index-servicos2.gif");
		dqm__rollover_wh2 = "90,100"
	} else {
		dqm__rollover_image2 = getRelativeLink("img/menu_voxel-servicos2.gif");
		dqm__rollover_wh2 = "90,70"
	}
	dqm__url2 = getRelativeLink("servicos/servicos.aspx");   


    //Main Menu Item 3

	if (isInitialPage()) {
		dqm__rollover_image3 = getRelativeLink("img/menu_index-clientes2.gif");
		dqm__rollover_wh3 = "90,100"
	} else {
		dqm__rollover_image3 = getRelativeLink("img/menu_voxel-clientes2.gif");
		dqm__rollover_wh3 = "90,70"
	}
	dqm__url3 = "";   
  

   //Main Menu Item 4

	if (isInitialPage()) {
		dqm__rollover_image4 = getRelativeLink("img/menu_index-knowledge2.gif");
		dqm__rollover_wh4 = "90,100"
	} else {
		dqm__rollover_image4 = getRelativeLink("img/menu_voxel-knowledge2.gif");
		dqm__rollover_wh4 = "90,70"
	}
	dqm__url4 = "";   
  



/**********************************************************************************************
**********************************************************************************************

                              Sub Menu Structure and Text  

**********************************************************************************************
**********************************************************************************************/
   


    //Sub Menu 0
	
	if (isInitialPage()) {
		dqm__sub_xy0 = "-90,100"
	} else {
		dqm__sub_xy0 = "-90,70"
	}
	dqm__sub_menu_width0 = 180

	dqm__subdesc0_0 = "Who we are"
	dqm__subdesc0_1 = "Our Methodology"
	dqm__subdesc0_2 = "Press Room"
	dqm__subdesc0_3 = "Contact"


	dqm__icon_index0_0 = 0
	dqm__icon_index0_1 = 0
	dqm__icon_index0_2 = 0
	dqm__icon_index0_3 = 0
	
	dqm__url0_0 = getRelativeLink("empresa/quemsomos.aspx");
	dqm__url0_1 = getRelativeLink("empresa/nossametodologia.aspx");
	dqm__url0_2 = getRelativeLink("empresa/saladeimprensa.aspx");
	dqm__url0_3 = getRelativeLink("empresa/contato.aspx");



    //Sub Menu 1
	if (isInitialPage()) {
		dqm__sub_xy1 = "-90,100"
	} else {
		dqm__sub_xy1 = "-90,70"
	}
		
	dqm__sub_menu_width1 = 180


	dqm__subdesc1_0 = "Micro eMaker"
	dqm__subdesc1_1 = "TerminalRIT"
	dqm__subdesc1_2 = "NWShutdown"
	dqm__subdesc1_3 = "SpecLog"
	dqm__subdesc1_4 = "Java"

	dqm__icon_index1_0 = 0
	dqm__icon_index1_1 = 0
	dqm__icon_index1_2 = 0
	dqm__icon_index1_3 = 0
	dqm__icon_index1_4 = 0
	
	dqm__url1_0 = getRelativeLink("produtos/microemaker/microemaker.aspx");
	dqm__url1_1 = getRelativeLink("produtos/terminalrit/terminalrit.aspx");
	dqm__url1_2 = getRelativeLink("produtos/networkshutdown/networkshutdown.aspx");
	dqm__url1_3 = getRelativeLink("produtos/speclog/speclog.aspx");
	dqm__url1_4 = getRelativeLink("produtos/java/javaTechnology.aspx");

    //Sub Menu 2
	
	if (isInitialPage()) {
		dqm__sub_xy2 = "-90,100"
	} else {
		dqm__sub_xy2 = "-90,70"
	}
	dqm__sub_menu_width2 = 180

	//dqm__subdesc2_0 = "Services"
	
	//dqm__url2_0 = getRelativeLink("servicos/servicos.aspx");

    //Sub Menu 3
	
	if (isInitialPage()) {
		dqm__sub_xy3 = "-90,100"
	} else {
		dqm__sub_xy3 = "-90,70"
	}
	
	dqm__sub_menu_width3 = 180

	dqm__subdesc3_0 = "Clients"
	dqm__subdesc3_1 = "Cases / Portfolio "
	dqm__subdesc3_2 = "Partnership"

	dqm__icon_index3_0 = 0
	dqm__icon_index3_1 = 0
	dqm__icon_index3_2 = 0

	dqm__url3_0 = getRelativeLink("clientes/clientes.aspx");
	dqm__url3_1 = getRelativeLink("clientes/cases.aspx");
	dqm__url3_2 = getRelativeLink("clientes/parcerias.aspx");


    //Sub Menu 4
	if (isInitialPage()) {
		dqm__sub_xy4 = "-90,100"
	} else {
		dqm__sub_xy4 = "-90,70"
	}
	dqm__sub_menu_width4 = 180

	dqm__subdesc4_0 = "Net Ideologies"
	dqm__subdesc4_1 = "The Digital Information"

	dqm__icon_index4_0 = 0
	dqm__icon_index4_1 = 0

	dqm__url4_0 = getRelativeLink("knowledge/net_ideologies/pag01.aspx");
	dqm__url4_1 = getRelativeLink("knowledge/the_digital_information/pag01.aspx");
