jQuery.noConflict();
jQuery(document).ready(function()
		{


		
		// ===========================================================
		//  Toggle
		// ===========================================================

		jQuery("a.ie").click(function()
			{
				jQuery("#ie").slideUp("fast");
			});

		// Hide (Collapse) the toggle containers on load
		jQuery(".city").show();
		jQuery(".persiana").hide();
		jQuery("#contact_map").hide();
		jQuery("#contact_dealers").hide()

		jQuery("a.buy, a.mexct").click(function()
			{
				var itemName = jQuery(this).attr("rel");
				var itemType = itemName.split("_");

				jQuery("#" + itemName).slideToggle("fast");
				jQuery(this).toggleClass("item_active");

				if (itemType[0] == "mexct")
					{
						jQuery("#info_" + itemType[1]).slideToggle("fast");
					}
				return false;
			});
			// /Toggle product geo/buy containers

		//-- /Toggle


		
		// ===========================================================
		//  Highlight menu on scroll
		// ===========================================================

		jQuery("#menu").visualNav({
				link              : "a",         // add a link class, as necessary (e.g. 'a.menu')
				targetAttr        : "href",      // added in case you have link = "div" and attribute something like
				selectedClass     : "menu_active",  // css class applied to menu when a link is selected (highlighted)
				selectedAppliedTo : "a",        // to only apply to the link, use the same value as is in the link option
				contentClass      : "content_block",   // content class to get height of the section
				contentLinks      : "internal",
				bottomMargin      : 0,         // margin from the end of the page where the last menu item is used (in case the target is short)
				animationTime     : 1000         // time in milliseconds
			});

		//-- /Highlight menu on scroll


		});
		
