jQuery(document).ready(function()
{
	/* Global 01 Settings */
	
	$('#expose-product').hide();
	$('.ov').hide();
	
	/* Content Height Fix */
	var cc_h = $('div#contentcontainer').height();
	$('div#content').height(cc_h);

	$('.height-fix').hover(
		function()
		{
			$('#expose').click(
				function()
				{
					/*
					var sm_h = $('#submenu').height();
					var pm_h = $('#expose').height();
					$('#expose').height(sm_h + pm_h);
					*/
					$('#submenu').show();
					$('#contentexpose').fadeTo('fast', 0.9).show();
					return false;
				}
			);
	
		},
		function()
		{
			$('#submenu').hide();
			$('#contentexpose').hide();
		}
	);
		
	/*	
	$('.expose').click(function()
	{
		if($('div.expose-select').html() == "noshow")
		{
			$('div.expose-select').html('show');
			$('#submenu').hide();
			$('#contentexpose').hide();
			return false;
		}
		else
		{
			$('div.expose-select').html('noshow');
			var par_height = $('div#contentcontainer').height();
			$('#contentexpose')
				.show()
				.fadeTo('fast', 0.9)
				.height(par_height+200); 
			$('#submenu').show();
			return false;
		}
	}
	);
	
	$('#expose').mouseout(function()
	{
		$('div.expose-select').html('show');
		$('#submenu').hide();
		$('#contentexpose').hide();
	}
	);
	/*
	$('div.expose').click(function()
	{
		$('#expose-product').toggle();
		$('#contentexpose').toggle().fadeTo('fase', 0.9);
		return false;
	}
	);
	$('#expose-product').mouseout(function()
	{
		$('#expose-product').hide();
		$('#contentexpose').hide();
	}
	);
	*/
	$('#submenu li').hover(
		function()
		{
			$(this).css('cursor', 'pointer');
		}
	);
	
	$('#submenu li').click(function()
	{
		var dire = $(this).find('img').attr("rel");
		window.location = "index.php?"+dire;
		return true;
	}
	);
	
	
	
	
	$('a.quoteImg').hover(
		function()
		{
			$(this).find('img').attr('src', 'images/buttons/requestquote-over.gif');
		},
		function()
		{
			$(this).find('img').attr('src', 'images/buttons/requestquote.gif');
		}
	);
	/*
	$('img.vimeo').hover(
		function()
		{
			$(this).attr('src', 'images/vimeoVideo_over.gif');
		},
		function()
		{
			$(this).attr('src', 'images/vimeoVideo.gif');
		}
	);
	*/
}
);
		

