// JavaScript Document
// JavaScript Document

$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('#facelift_box').show();
  $('#eyelid_box').hide();
  $('#nasal_box').hide();
  
  $('#abdom_box').show();
  $('#lipo_box').hide();
  $('#gyn_box').hide();
  $('#ears_box').hide();
  $('#skin_box').hide();
  
 // toggles the artist on clicking the noted link  
  $('a#facelift_appear').click(function() {
  $('#facelift_box').show('slow');
  $('#eyelid_box').hide();
  $('#nasal_box').hide();
    return false;
  });
  
 // toggles the artist on clicking the noted link  
  $('a#eyelid_appear').click(function() {
  $('#eyelid_box').show('slow');
  $('#facelift_box').hide();
  $('#nasal_box').hide();
    return false;
  });
  
  // toggles the artist on clicking the noted link  
  $('a#nasal_appear').click(function() {
  $('#nasal_box').show('slow');
  $('#facelift_box').hide();
  $('#eyelid_box').hide();
    return false;
  });
  
  // toggles the artist on clicking the noted link  
  $('a#abdom_appear').click(function() {
  $('#abdom_box').show('slow');
  $('#lipo_box').hide();
  $('#gyn_box').hide();
  $('#ears_box').hide();
  $('#skin_box').hide();
    return false;
  });
  
  // toggles the artist on clicking the noted link  
  $('a#lipo_appear').click(function() {
  $('#lipo_box').show('slow');
  $('#abdom_box').hide();
  $('#gyn_box').hide();
  $('#ears_box').hide();
  $('#skin_box').hide();
    return false;
  });
  
   // toggles the artist on clicking the noted link  
  $('a#gyn_appear').click(function() {
  $('#gyn_box').show('slow');
  $('#abdom_box').hide();
  $('#lipo_box').hide();
  $('#ears_box').hide();
  $('#skin_box').hide();
    return false;
  });
  
    // toggles the artist on clicking the noted link  
  $('a#ears_appear').click(function() {
  $('#ears_box').show('slow');
  $('#abdom_box').hide();
  $('#lipo_box').hide();
  $('#gyn_box').hide();
  $('#skin_box').hide();
    return false;
  });
  
     // toggles the artist on clicking the noted link  
  $('a#skin_appear').click(function() {
  $('#skin_box').show('slow');
  $('#abdom_box').hide();
  $('#lipo_box').hide();
  $('#gyn_box').hide();
  $('#ears_box').hide();
    return false;
  });
  
 
}); 

$(document).ready(function(){ // This sets the opacity of the image to 100% when the page loads
	$("a#face_fade").fadeTo("fast", 1.0);
	$("a#body_fade").fadeTo("fast", 1.0);
	$("a#breast_fade").fadeTo("fast", 1.0);
	$("a#map_fade").fadeTo("fast", 1.0);


	$("a#face_fade").hover(function(){
	$("a#face_fade").fadeTo("fast", 0.5); // This sets the opacity to 50% on hover
	},function(){
	$("a#face_fade").fadeTo("fast", 1.0); // This sets the opacity back to 100% on mouseout
	});
	
	$("a#body_fade").hover(function(){
	$("a#body_fade").fadeTo("fast", 0.5); // This sets the opacity to 50% on hover
	},function(){
	$("a#body_fade").fadeTo("fast", 1.0); // This sets the opacity back to 100% on mouseout
	});
	
	$("a#breast_fade").hover(function(){
	$("a#breast_fade").fadeTo("fast", 0.5); // This sets the opacity to 50% on hover
	},function(){
	$("a#breast_fade").fadeTo("fast", 1.0); // This sets the opacity back to 100% on mouseout
	});
	
	$("a#anae_fade").hover(function(){
	$("a#anae_fade").fadeTo("fast", 0.5); // This sets the opacity to 50% on hover
	},function(){
	$("a#anae_fade").fadeTo("fast", 1.0); // This sets the opacity back to 100% on mouseout
	});
	
	$("a#map_fade").hover(function(){
	$("a#map_fade").fadeTo("fast", 0.5); // This sets the opacity to 50% on hover
	},function(){
	$("a#map_fade").fadeTo("fast", 1.0); // This sets the opacity back to 100% on mouseout
	});


	
});




