$(document).ready(function(){
	$('#calendar a:last').css('border', 'none');
	$('#foot_nav a:first').css('margin-left', '40px');
	$("#foot_nav a:last").css({border : 'none', padding : '0px'});
	
	var cal = $("#calendar").height();
	var con = $("#content").height();
	
	if(cal >= con){
		$("#line").css("height", cal+'px');
	}else{
		$("#line").css("height", con+'px');
	}
	
	$('#okAll :input').focus(function(){
		if($(this).val() == $(this).attr('rel')){
			$(this).val('');
		}
	}).blur(function(){
		if($(this).val() == ''){
			var atty = $(this).attr('rel');
			$(this).val(atty);
		}
	});
	
	$('#map').css('display', 'none');
	$('#map img').css('border', 'solid 5px #afafaf');
	$('#map img').hover(
		function () {
			$(this).css('border-color', '#333333');
		}, 
		function () {
			$(this).css('border-color', '#afafaf');
		});

	$('#map-show').css('cursor', 'pointer');
	
	$('#map-show').click(function(){
		$('#map').toggle('slow');
	});
});

