$(function() {
	$('#sidebar').css('overflow', 'visible');
	$('#language-popup').hide();
	
	$('input.keyword').click(function()
	{
		var content = $('input.keyword').attr('value');
		if ((content == "SEARCH") || (content == "Search"))
		{
			$('input.keyword').attr('value', '');
			$('input.keyword').css(
				{'text-transform': 'none'}
			);
		}
	});
	
	$('input.keyword').blur(function()
	{
		content = $('input.keyword').attr('value');
		if (content == "")
		{
			$('input.keyword').attr('value', 'Search');
			$('input.keyword').css(
				{'text-transform': 'uppercase'}
			);
		}
	});
	
	$('span.your-name input').click(function()
	{
		$('span.your-name input').attr('value', '');
	});
	
	$('span.your-email input').click(function()
	{
		$('span.your-email input').attr('value', '');
	});
	
	$('span.text-phone input').click(function()
	{
		$('span.text-phone input').attr('value', '');
	});
	
	$('span.your-subject input').click(function()
	{
		$('span.your-subject input').attr('value', '');
	});
	
	$('span.text-project input').click(function()
	{
		$('span.text-project input').attr('value', '');
	});
	
	$('span.your-message textarea').click(function()
	{
		$('span.your-message textarea').attr('value', '');
	});
	
	
	// Language bar
	$('#language-english').mouseover(function() {
		$('#language-popup').show();
	});
	
	$('#language-popup').mouseover(function() {
		$('#language-popup').show();
	});
	
	$('#language-popup').mouseout(function() {
		$('#language-popup').hide();
	});
	
	// About page 
	$('div#approach-header').mouseover(function() {
		$('div#approach-header p').css('color', '#FFF');
	});
	
	$('div#approach-header').mouseout(function() {
		$('div#approach-header p').css('color', '#A6A8AB');
	});
	
	$('div#people-header').mouseover(function() {
		$('div#people-header p').css('color', '#FFF');
	});
	
	$('div#people-header').mouseout(function() {
		$('div#people-header p').css('color', '#A6A8AB');
	});
	
	$('div#alumni-header').mouseover(function() {
		$('div#alumni-header p').css('color', '#FFF');
	});
	
	$('div#alumni-header').mouseout(function() {
		$('div#alumni-header p').css('color', '#A6A8AB');
	});
	
	$('div#partners-header').mouseover(function() {
		$('div#partners-header p').css('color', '#FFF');
	});
	
	$('div#partners-header').mouseout(function() {
		$('div#partners-header p').css('color', '#A6A8AB');
	});
	
	$('div#careers-header').mouseover(function() {
		$('div#careers-header p').css('color', '#FFF');
	});
	
	$('div#careers-header').mouseout(function() {
		$('div#careers-header p').css('color', '#A6A8AB');
	});
});

function foo() {
	// do nothing
}




