$(document).ready(function () {
  	  
	  <!--// Video and Drop Box //-->	  
	  var $div = $('#vidbox');
	  var height = $div.height();
	  $div.hide().css({ height : 0 });
	  $('a.dropper').click(function () {
	  if ($div.is(':visible')) {
	  var so = new SWFObject("flash/videoPlayer.swf?videoPath=../blank.flv&bufferSize=5&autoPlay=false&videoVolume=50&bgColor=0x000000&borderColor=0x151515&buttonsBGColor=0x0D0D0D&buttonElementsColor=0x999999&buttonElementsRollOverColor=0xffffff", "TruVue", "512", "288", "8", "#000000");
	  so.write("flashvideo");			
	  $div.animate({ height: 0 }, { duration: 500, complete: function () {
	  $div.hide();
	  } 
	  }); 
	  } else {
	  $div.show().animate({ height : height },{ duration: 500 });			
	  var so = new SWFObject("flash/videoPlayer.swf?videoPath=../Viral_3_v5 mono.flv&bufferSize=5&autoPlay=true&videoVolume=100&bgColor=0x000000&borderColor=0x151515&buttonsBGColor=0x0D0D0D&buttonElementsColor=0x999999&buttonElementsRollOverColor=0xffffff", "TruVue", "512", "288", "8", "#000000");
			  so.addParam("quality", "high");
			  so.addParam("menu", "false");
			  so.addParam("loop", "false");
			  so.addParam("allowFullScreen", "true");
			  so.write("flashvideo");
			  }
		  return false;
  });
  <!--// Video and Drop Box //-->	  
  
  <!--// Initilaize LocalScroller//-->
  $.localScroll();	
  <!--// Initilaize LocalScroller//-->

  <!--// Answer 1 //-->	
   var $ans1 = $('#answer1');
	  var ans1height = $ans1.height();
	  $ans1.hide().css({ height : 0 });
	  $('a.answer1').click(function () {
	  if ($ans1.is(':visible')) {			
		  $ans1.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans1.hide();
	  } 
	  }); 
	  } else {
	  $ans1.show().animate({ height : ans1height },{ duration: 300 });			
			  }
		  return false;
	  });
  <!--// Answer 1 //-->	

  <!--// Answer 2 //-->	
   var $ans2 = $('#answer2');
	  var ans2height = $ans2.height();
	  $ans2.hide().css({ height : 0 });
	  $('a.answer2').click(function () {
	  if ($ans2.is(':visible')) {			
		  $ans2.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans2.hide();
	  } 
	  }); 
	  } else {
	  $ans2.show().animate({ height : ans2height },{ duration: 400 });			
			  }
		  return false;
	  });
  <!--// Answer 2 //-->

  <!--// Answer 3 //-->	
   var $ans3 = $('#answer3');
	  var ans3height = $ans3.height();
	  $ans3.hide().css({ height : 0 });
	  $('a.answer3').click(function () {
	  if ($ans3.is(':visible')) {			
		  $ans3.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans3.hide();
	  } 
	  }); 
	  } else {
	  $ans3.show().animate({ height : ans3height },{ duration: 400 });			
			  }
		  return false;
	  });
  <!--// Answer 3 //-->

  <!--// Answer 4 //-->	
   var $ans4 = $('#answer4');
	  var ans4height = $ans4.height();
	  $ans4.hide().css({ height : 0 });
	  $('a.answer4').click(function () {
	  if ($ans4.is(':visible')) {			
		  $ans4.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans4.hide();
	  } 
	  }); 
	  } else {
	  $ans4.show().animate({ height : ans4height },{ duration: 400 });			
			  }
		  return false;
	  });
  <!--// Answer 4 //-->

  <!--// Answer 5 //-->	
   var $ans5 = $('#answer5');
	  var ans5height = $ans5.height();
	  $ans5.hide().css({ height : 0 });
	  $('a.answer5').click(function () {
	  if ($ans5.is(':visible')) {			
		  $ans5.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans5.hide();
	  } 
	  }); 
	  } else {
	  $ans5.show().animate({ height : ans5height },{ duration: 400 });			
			  }
		  return false;
	  });
  <!--// Answer 5 //-->
  
  <!--// questions //-->	
   var $ans = $('#answers');
	  var ansheight = $ans.height();
	  $ans.hide().css({ height : 0 });
	  $('a.answer').click(function () {
	  if ($ans.is(':visible')) {			
		  $ans.animate({ height: 0 }, { duration: 290, complete: function () {
		  $ans.hide();
	  } 
	  }); 
	  } else {
	  $ans.show().animate({ height : ansheight },{ duration: 400 });			
			  }
		  return false;
	  });
  <!--// questions //-->
});
