jQuery(document).ready(function()
	{ 
	//jquery lightbox
		 jQuery('.lightbox').lightbox();
		 
	
	//jquery code for the girls page
		 $('area').mouseover(function()
		 {
			var area_attr = $(this).attr('class');
		//this variable adds li to the class attribute of the area
			var area_add_attr = 'li_' + area_attr; 
			
			$(this).parent().parent().removeClass('block');

				if($('.thegirls_container li' ).hasClass('hidden'))
				{
					var remove_hidden_class = "li." + area_add_attr;
					
					$(remove_hidden_class).removeClass('hidden');
					$(remove_hidden_class).addClass('block');
					
					$(this).parent().parent().addClass('hidden');
				}

		 });
		 
		$('.thegirls_container').hover(function()
		{
			
		},
		function()
		{
			
				if($('li.li_thegirls_hover' ).hasClass('hidden'))
				{
					var t=setTimeout(function()
					{
						$('.thegirls_container li').removeClass('block');
						$('li.li_thegirls_hover').removeClass('hidden');
						$('li.li_thegirls_hover').addClass('block');

					}
					, 200);
				};
		});
		
	//for rollovers on front page
/*	$(function() 
	{
		$(".boutique").hover(function ()
			{
				$("img.hoverable").attr("src", 'images/boutique_hover.jpg');
			},
			function()
			{
				$("img.hoverable").attr("src", 'images/home_image.jpg');
			});
		
		$(".gallery").hover(function ()
			{
				$("img.hoverable").attr("src", 'images/gallery_hover.jpg');
			},
			function()
			{
				$("img.hoverable").attr("src", 'images/home_image.jpg');
			});
		
		$(".custom").hover(function ()
			{
				$("img.hoverable").attr("src", 'images/custom_hover.jpg');
			},
			function()
			{
				$("img.hoverable").attr("src", 'images/home_image.jpg');
			});
		
	});
		*/
		
		
			$('.links area').mouseover(function()
			 {
				var area_attr = $(this).attr('class');
				var attr_w_und = area_attr.replace(" tooltip", "_li");
				var attr_clean = attr_w_und.replace(" lightbox", "");
	
				
			//this variable adds li to the class attribute of the area
				var area_add_attr = 'li_' + attr_clean; 
				
				$(this).parent().parent().removeClass('block');
	
					if($('.links li' ).hasClass('hidden'))
					{
						var remove_hidden_class = "li." + area_add_attr;
						
						$(remove_hidden_class).removeClass('hidden');
						$(remove_hidden_class).addClass('block');
						
						$(this).parent().parent().addClass('hidden');
					}
	
			 });
			 
			 $('ul.links').hover(function()
				{
					
				},
				function()
				{
					
						if($('li.li_home_li' ).hasClass('hidden'))
						{
							var t=setTimeout(function()
							{
								$('ul.links li').removeClass('block');
								$('.li_home_li').removeClass('hidden');
								$('.li_home_li').addClass('block');
		
							}
							, 200);
						};
				});
		
		
	});// end script
