// JavaScript Document

//Google Analitics Code
<!--
 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-26293455-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
//-->


//<!--
$(document).ready(function() {

$("a.iframe").fancybox({'width':600, 'height':450 });
	
$("a.blog").fancybox({'width':1000, 'height':1000, 'type' : 'iframe' });
 
 
 
 
 
 $("div#more-info").hide();
    $("p#close").hide();
  $("p#open").click(function(){
    $(this).hide();
    $("p#close").show();
	$("div#more-info").slideDown();
  });
  $("p#close").click(function(){
    $(this).hide();
	$("p#open").show();
    $("div#more-info").slideUp();
  });
	
	
	
	
	
	
	
	$("select#treatment").show();
	$("select#treatmentcosmetic").hide();
	$("select#treatmentplastic").hide();
	$("select#treatmenthand").hide();
$("select#surgery").change(
 function()
 {
  // only select if the text has not changed
  if(this.value == "Cosmetic Surgery")
  {
	$("select#treatment").hide();
	$("select#treatmentcosmetic").show();
	$("select#treatmentplastic").hide();
	$("select#treatmenthand").hide();
  }
  if(this.value == "Plastic Surgery")
  {
	$("select#treatment").hide();
	$("select#treatmentcosmetic").hide();
	$("select#treatmentplastic").show();
	$("select#treatmenthand").hide();
  }
  if(this.value == "Hand Surgery")
  {
	$("select#treatment").hide();
	$("select#treatmentcosmetic").hide();
	$("select#treatmentplastic").hide();
	$("select#treatmenthand").show();
  }
  if(this.value == "-")
  {
	$("select#treatment").show();
	$("select#treatmentcosmetic").hide();
	$("select#treatmentplastic").hide();
	$("select#treatmenthand").hide();
  }
 }
)

	
 /*$("div#face-box, div#breast-box, div#body-box, div#non-surgical-box").hide();
 $("div#face-box").delay(0).fadeIn(2000);
  $("div#breast-box").delay(900).fadeIn(2000);
   $("div#body-box").delay(1800).fadeIn(2000);
    $("div#non-surgical-box").delay(2700).fadeIn(2000);*/

	
	
})
//-->
