$(document).ready(function() {
		$(".shadow").dropShadow({left: 0, top: 0, opacity: 0.5, blur: 1});
	
		$('input').focus(function() {
			value=$(this).val();
			$(this).attr("value","");
		});

		$('input').blur(function() {
			if($(this).val()=="") {$(this).val(value);}
		});
		
		$('img.techImage').hover(
		function()
			{
				this.src = this.src.replace("_off","_on");
 			},
		function()
			{
				this.src = this.src.replace("_on","_off");
			}
		);

$('#submitButton').hover(
		function()
			{
				this.src = this.src.replace("_off","_on");
 			},
		function()
			{
				this.src = this.src.replace("_on","_off");
			}
		);

$('img.portfolio').hover(
		function()
			{
				this.src = this.src.replace("_off","_on");
 			},
		function()
			{
				this.src = this.src.replace("_on","_off");
			}
		);
		
		$('input.claimGift').hover(
		function()
			{
				this.src = this.src.replace("_off","_on");
 			},
		function()
			{
				this.src = this.src.replace("_on","_off");
			}
		);
		
		$("#slider").easySlider({
			controlsBefore:	'<p id="controls">',
			controlsAfter:	'</p>',
			auto: true, 
			continuous: true
		});

		opts = {
		      distances : [95,115,95,110,80,100,115,115,80],
 		     leftShifts : [-70,-70,-70,-72,-70,-70,-70,-70,-65],
		      bubbleTimes : [400,400,400,400,400,400,400,400,400],
 		     hideDelays : [0,0,0,0,0,0,0,0,0],
 		     bubbleWidths : [200,200,200,200,200,200,200,200,200],
		     bubbleImagesPath : "/images/twothink/bubbleskins/classic/",
 		     msieFix : true
  		 };
 		$('.coda_bubble').codaBubble(opts);

 		$('a.portfolio').bigPicture({
				'boxEaseFn': 'easeInQuint',
				'infoEaseFn': 'easeOutBack',
				'enableInfo': true
		});

});