$(
	function()
	{
		//funMakeNewLayer($("div.cssPanel"));
		//$("#overlayercontent").load('parts/location.html');
		/*
		$("div.cssOverLayer div.cssTab ul li").each(
				function()
				{
					$(this).click(
						function()
						{
							funMakeNewLayer($(this).parent().parent().parent().children("div.cssPanel"));
							$("#overlayercontent").load('parts/location.html');
							
							//$("#overlayercontent").css('top',-520);							
							$("div.cssPanel").show('slow');
						}
					);
					
				}
			);
		*/
		$("div.cssOverLayerPanel").css('position','absolute');
		$("div.cssOverLayerPanel").css('z-index','10')
		
		//$("div.cssOverLayerPanel").css('background','red');
		//$("div.cssOverLayerPanel").css('width','900');
		$("div.cssOverLayerPanel").css('left',$("div.cssContent").offset().left);//(900 - 581 )/ 2 );
		$("div.cssOverLayerPanel").css('top',$("div.cssContent").offset().top + 18);
		$("div.cssOverLayerPanel").css('display','none');
		$("div.cssOverLayerPanel").css('text-align','center');
		
		if ($.browser.msie && $.browser.version != "6.0")
		{
			$("div.cssOverLayerPanel").css('left',$("div.cssContent").offset().left);//(900 - 581 )/ 2 );
		}
		else
		{
			$("div.cssOverLayerPanel").css('left',$("div.cssContent").offset().left + (900 - 581 )/ 2 );
		}
		
		$(".cssBtn").click(
			function()
			{
				$("div.cssOverLayerPanel").css('display','block');
				
				$("div.cssOverLayerPanel").mouseover(
					function()
					{
						$(this).css('cursor','pointer');
					}
				);
				
				$("div.cssOverLayerPanel").click(
					function()
					{
						$("div.cssOverLayerPanel").css('display','none');
					}
				);
			}
		);
		
		$(".cssBtn").mouseover(
			function()
			{
				$(this).css('cursor','pointer');
			}
		);
	}
)