//jq(document).ready(function() {
//	var height = 0;
//	var lheight = 0;
//	var mheight = 0;
//	var rheight = 0;
//	if(jq("#left").height()!='undefined'){
//		lheight = jq("#left").height();
//	}
//	if( jq("#right").height()!='undefined'){
//		rheight = jq("#right").height();
//	}
//	if( jq("#middle").height()!='undefined'){
//		mheight = jq("#middle").height();
//	}
//	
//	if( lheight > mheight ){
//		height = lheight;
//	}else{
//		height = mheight;
//	}
//	if( height < rheight ){
//		height = rheight;
//	}
//	
////	jq("#left").height(height);
////	jq("#right").height(height);
////	jq("#middle").height(height);
//	jq("#body").height(height);
////	alert(height);
////	alert(jq("#left").height());
////	alert(jq("#right").height());
////	alert(jq("#middle").height());
//});

jq(document).ready(function(){
	jq("#nav a").each(function(){
		if( window.location.href.match(jq(this).attr('href')) && jq(this).attr('rel')!='home' ){ 
			jq(this).addClass('active');
		}
		if(window.location.href == jq(this).attr('href') && jq(this).attr('rel')=='home' ){
			jq(this).addClass('active');
	  }
	});
});
