// JavaScript Document
 $(document).ready(function() {
	 
	   var value; // cashed data
$('#defaultCountdown').remove();
	   
	   
$('#art  p').hide();
$('#bio-ind  p').hide();
$('#bio-corp  p').hide();
$('#comm-ind  p').hide();
$('#comm-corp  p').hide();
$('#design  p').hide();
$('#education  p').hide();
$('#energy-ind  p').hide();
$('#energy-corp  p').hide();
$('#enter  p').hide();
$('#env-ind  p').hide();
$('#env-corp p').hide();
$('#ethics p').hide();
$('#finance-ind p').hide();
$('#finance-corp p').hide();
$('#hardware-ind p').hide();
$('#hardware-corp p').hide();
$('#health-ind p').hide();
$('#health-corp p').hide();
$('#law p').hide();
$('#market p').hide();
$('#material-ind p').hide();
$('#material-corp p').hide();
$('#media p').hide();
$('#policy p').hide();
$('#social p').hide();
$('#soft-ind p').hide();
$('#soft-corp p').hide();
$('#space-ind p').hide();
$('#space-corp p').hide();


$('#space-ind h3').toggle(function()
	{
		$('#space-ind p').show("fast");
		$('#space-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#space-ind p').hide("fast");
	$('#space-ind #expand').text("(Click to expand)");
	}
);

$('#space-corp h3').toggle(function()
	{
		$('#space-corp p').show("fast");
		$('#space-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#space-corp p').hide("fast");
	$('#space-corp #expand').text("(Click to expand)");
	}
);


$('#soft-ind h3').toggle(function()
	{
		$('#soft-ind p').show("fast");
		$('#soft-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#soft-ind p').hide("fast");
	$('#soft-ind #expand').text("(Click to expand)");
	}
);

$('#soft-corp h3').toggle(function()
	{
		$('#soft-corp p').show("fast");
		$('#soft-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#soft-corp p').hide("fast");
	$('#soft-corp #expand').text("(Click to expand)");
	}
);



$('#social h3').toggle(function()
	{
		$('#social p').show("fast");
		$('#social #expand').text("(Click to contract)");
	},
	function()
	{
	$('#social p').hide("fast");
	$('#social #expand').text("(Click to expand)");
	}
);


$('#policy h3').toggle(function()
	{
		$('#policy p').show("fast");
		$('#policy #expand').text("(Click to contract)");
	},
	function()
	{
	$('#policy p').hide("fast");
	$('#policy #expand').text("(Click to expand)");
	}
);



$('#media h3').toggle(function()
	{
		$('#media p').show("fast");
		$('#media #expand').text("(Click to contract)");
	},
	function()
	{
	$('#media p').hide("fast");
	$('#media #expand').text("(Click to expand)");
	}
);


$('#material-corp h3').toggle(function()
	{
		$('#material-corp p').show("fast");
		$('#material-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#material-corp p').hide("fast");
	$('#material-corp #expand').text("(Click to expand)");
	}
);

$('#material-ind h3').toggle(function()
	{
		$('#material-ind p').show("fast");
		$('#material-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#material-ind p').hide("fast");
	$('#material-ind #expand').text("(Click to expand)");
	}
);




$('#market h3').toggle(function()
	{
		$('#market p').show("fast");
		$('#market #expand').text("(Click to contract)");
	},
	function()
	{
	$('#market p').hide("fast");
	$('#market #expand').text("(Click to expand)");
	}
);

$('#law h3').toggle(function()
	{
		$('#law p').show("fast");
		$('#law #expand').text("(Click to contract)");
	},
	function()
	{
	$('#law p').hide("fast");
	$('#law #expand').text("(Click to expand)");
	}
);


$('#health-corp h3').toggle(function()
	{
		$('#health-corp p').show("fast");
		$('#health-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#health-corp p').hide("fast");
	$('#health-corp #expand').text("(Click to expand)");
	}
);

$('#health-ind h3').toggle(function()
	{
		$('#health-ind p').show("fast");
		$('#health-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#health-ind p').hide("fast");
	$('#health-ind #expand').text("(Click to expand)");
	}
);

$('#hardware-ind h3').toggle(function()
	{
		$('#hardware-ind p').show("fast");
		$('#hardware-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#hardware-ind p').hide("fast");
	$('#hardware-ind #expand').text("(Click to expand)");
	}
);

$('#hardware-corp h3').toggle(function()
	{
		$('#hardware-corp p').show("fast");
		$('#hardware-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#hardware-corp p').hide("fast");
	$('#hardware-corp #expand').text("(Click to expand)");
	}
);



$('#finance-corp h3').toggle(function()
	{
		$('#finance-corp p').show("fast");
		$('#finance-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#finance-corp p').hide("fast");
	$('#finance-corp #expand').text("(Click to expand)");
	}
);

$('#finance-ind h3').toggle(function()
	{
		$('#finance-ind p').show("fast");
		$('#finance-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#finance-ind p').hide("fast");
	$('#finance-ind #expand').text("(Click to expand)");
	}
);

$('#ethics h3').toggle(function()
	{
		$('#ethics p').show("fast");
		$('#ethics #expand').text("(Click to contract)");
	},
	function()
	{
	$('#ethics p').hide("fast");
	$('#ethics #expand').text("(Click to expand)");
	}
);

$('#env-corp h3').toggle(function()
	{
		$('#env-corp p').show("fast");
		$('#env-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#env-corp p').hide("fast");
	$('#env-corp #expand').text("(Click to expand)");
	}
);
$('#env-ind h3').toggle(function()
	{
		$('#env-ind p').show("fast");
		$('#env-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#env-ind p').hide("fast");
	$('#env-ind #expand').text("(Click to expand)");
	}
);

$('#enter h3').toggle(function()
	{
		$('#enter p').show("fast");
		$('#enter #expand').text("(Click to contract)");
	},
	function()
	{
	$('#enter p').hide("fast");
	$('#enter #expand').text("(Click to expand)");
	}
);

$('#energy-corp h3').toggle(function()
	{
		$('#energy-corp p').show("fast");
		$('#energy-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#energy-corp p').hide("fast");
	$('#energy-corp #expand').text("(Click to expand)");
	}
);

$('#energy-ind h3').toggle(function()
	{
		$('#energy-ind p').show("fast");
		$('#energy-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#energy-ind p').hide("fast");
	$('#energy-ind #expand').text("(Click to expand)");
	}
);

$('#education h3').toggle(function()
	{
		$('#education p').show("fast");
		$('#education #expand').text("(Click to contract)");
	},
	function()
	{
	$('#education p').hide("fast");
	$('#education #expand').text("(Click to expand)");
	}
);

$('#design h3').toggle(function()
	{
		$('#design p').show("fast");
		$('#design #expand').text("(Click to contract)");
	},
	function()
	{
	$('#design p').hide("fast");
	$('#design #expand').text("(Click to expand)");
	}
);

$('#comm-corp h3').toggle(function()
	{
		$('#comm-corp p').show("fast");
		$('#comm-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#comm-corp p').hide("fast");
	$('#comm-corp #expand').text("(Click to expand)");
	}
);

$('#comm-ind h3').toggle(function()
	{
		$('#comm-ind p').show("fast");
		$('#comm-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#comm-ind p').hide("fast");
	$('#comm-ind #expand').text("(Click to expand)");
	}
);

$('#art h3').toggle(function()
	{
		$('#art p').show("fast");
		$('#art #expand').text("(Click to contract)");
	},
	function()
	{
	$('#art p').hide("fast");
	$('#art #expand').text("(Click to expand)");
	}
);

$('#bio-ind h3').toggle(function()
	{
		$('#bio-ind p').show("fast");
		$('#bio-ind #expand').text("(Click to contract)");
	},
	function()
	{
	$('#bio-ind p').hide("fast");
	$('#bio-ind #expand').text("(Click to expand)");
	}
);

$('#bio-corp h3').toggle(function()
	{
		$('#bio-corp p').show("fast");
		$('#bio-corp #expand').text("(Click to contract)");
	},
	function()
	{
	$('#bio-corp p').hide("fast");
	$('#bio-corp #expand').text("(Click to expand)");
	}
);



	 
	 
	 
		$('#nominee').hover(function() {	 				
             $('#sprite1').spriteAnimation({
                numberOfLoops: 1,
                direction: 'ltr',
                startFrame: 0,
                endFrame: 25,
                interval: 20
            });
		 });
		
		$('#previous').hover(function() {	 				
             $('#sprite2').spriteAnimation({
                numberOfLoops: 1,
                direction: 'ltr',
                startFrame: 0,
                endFrame: 24,
                interval: 20
            });
		 });
		
		
});

