
$(function(){
/*
	var bc = 0;
	var sb = 0;
	//bc = $('#page-normal .content').outerHeight();
	sb = $('#sidebar-left').outerHeight();
	cen = $('#center').outerHeight();
	//console.log(cen);
	//bodcon = $('div.center-content').outerHeight();
	bc = $('div.center-content').outerHeight();
	/*console.log(bc);
	console.log(sb);
	console.log('body-content'+bodcon);
	
	if(bc < sb){
		$('#page-normal').height(sb);
	} else{
		$('div.extender').height($('#page-normal').outerHeight()-sb-5);
		$('div.extender').css('margin-top','0.5em');

	}	
	
	if(bc<cen){
		$('#page-normal').height(cen);
		var o = $('#login-block').offset();
		
		//console.log(o.top);	
		
		var h = $('#login-block').outerHeight();
		var s = $('#sidebar-left').outerHeight();
		
		$('div.extender').height($('#page-normal').outerHeight()-s); 
	}
	*/
	$('#page-normal').css('margin-bottom','0.5em');
	
	$('.jumpmenu select').change(function(){
		$("option:selected").each(function () {
		if($(this).val() != 1){
                window.location.assign($(this).val());
				window.location.href =	$(this).val();
			}
        });

	});
	
	$('.sidebar input').focus(function(){
		$(this).css('background-color', '#191a1b');
		$(this).css('outline', '2px solid #749F1F');
		$(this).bind('mouseleave', function(){
			$(this).css('background-color', '#262626');
			$(this).css('outline', 'none');
		});
		$(this).bind('blur', function(){
			$(this).css('background-color', '#262626');
			$(this).css('outline', 'none');
		});
	});
	
	$('#sidebar-left', '#center').equalHeights();
	
	
	
	
	
	
});