var contactVisible = false;
function switchContact() {
  if ( contactVisible ) {
    new Effect.BlindLeft($('contacts'));
    contactVisible = false;
  } else {
    new Effect.BlindRight($('contacts'));
    contactVisible = true;
  }
}
function setMenuHeight(height){    
	Element.setStyle( 'header_menu', {
		height: height + 10 + "px"
	});
}
function resizeContent() {
  ch = 0; ih = 0;
	if ($('text_content') && $('contentimage')) {
		ch = $('text_content').offsetHeight
		ih = $('contentimage').offsetHeight
		if ( ch < ih ) {
			Element.setStyle( 'text_content', { height: ih + 'px' } );
		}
	}
}