// JavaScript Document

// break out of frameset! The framebuster
if (parent.frames.length > 0) { parent.location.href = self.document.location }

$(function() {
	//var countedHeight = $('#countBox').height();
	var countedHeight = 0;
	var totalHeight = $('#centerContent').height();
	$("#conceptBox, #searchBox").each(function(){ countedHeight = countedHeight + $(this).height() })
	var newHeight = totalHeight-countedHeight;
	if(newHeight) $('#footerBox').height(newHeight-20);
	if(newHeight) $('#footerBox .content').height(newHeight-20);
	if(newHeight) $('#footerRight').height(newHeight);
	$('#rightContent').height($('#centerContent').height() );
})

$(function() {
		$("#menu ul li")
		.hover(function(){ 
			 $(this).addClass("hover"); 
		 },
		function(){
			$(this).removeClass("hover");
		 }
		)
});

function submitForm(id){
	alert( document.relocateForm );
}
