function init(){
	$( '.collapse' ).collapse();
	$( '*' ).css( 'font-family', 'sans-serif' );
	if( $( 'div#breadcrumbs' ).length > 0 ){
		var bread = $( 'div#breadcrumbs' );
		var idpar = $( '#' + bread.parent( 'div.mid' ).attr( 'id' ) );
		var idme = $( 'div#page-content-left-subs' );
		if( idpar.height() > ( idme.height() + 40 ) ){
			var val = idpar.height();
			idme.css( 'height', ( $.browser.msie ) ? ( idpar.height() - 40 ) + 'px' : ( idpar.height() - 40 ) + 'px' );
		}
	}
	if( $( 'a.idlelink' ).length > 0 ){
		$( 'a.idlelink' ).each(function(i){
			$( this ).attr( 'href', 'javascript: void(0)' );
		});
	}
	if( $.browser.msie ){
		$( '#nav li' ).each(function(){
			$( this ).hover(function(){
				$( this ).children( 'ul' ).css( { 'left' : 'auto', 'display' : 'inline' } );
			}, function(){
				$( this ).children( 'ul' ).css( { 'left' : '-999em', 'display' : 'none' } );
			});
			if( parseInt( $.browser.version ) == 6 ){
				$( this ).children( 'a' ).hover(function(){
					$( this ).siblings( 'ul' ).css( { 'left' : 'auto', 'display' : 'inline' } );
				}, function(){
					$( this ).siblings( 'li' ).children( 'ul' ).css( { 'left' : '-999em', 'display' : 'none' } );
				});
			}
		});
	}
}

function searchE(){
	var val = $( '#search_input' ).val();

	if( val.length <= 0 ){
		alert( 'Search box is empty.' );
	} else{
		document.location = '/s/1/' + val;
	}
	return false;
}
