function show_menu(id)
{
	//$('#d'+id).css('visibility','visible');
	if(document.getElementById('d'+id)) document.getElementById('d'+id).style.visibility='visible';
	if(document.getElementById('a'+id)) document.getElementById('a'+id).className='selected';
	//Cufon.replace('.hnc, .menu a', { fontFamily: 'HelveticaNeue-Condensed', hover:true });
}
function hide_menu(id)
{
	if(document.getElementById('d'+id)) document.getElementById('d'+id).style.visibility='hidden';
	if(document.getElementById('a'+id)) document.getElementById('a'+id).className='';
	//Cufon.replace('.hnc, .menu a', { fontFamily: 'HelveticaNeue-Condensed', hover:true });
}
function show_things(){ return; }

		$(document).ready( function(){	
				
		/*if( window.location.hash !='' && $(window.location.hash).text() != '')
			$.scrollTo( $(window.location.hash), 1000, {axis: 'y', easing: '' , offset:0 } );*/
				
									
			$(document).pngFix(); 			
			
			$('#s4').before('<div id="nav" class="nav">').cycle({
					 fx:        'fade',
				       /*direction: 'left',*/
					speed:  'slow',
					timeout: 3000,
					pager:  '#nav'
			});
			
			
			
			if( pirobox	== 1 )
			{
						$('.pirobox_gall').piroBox({
							my_speed: 600, //animation speed
							bg_alpha: 0.5, //background opacity
							radius: 4, //caption rounded corner
							scrollImage : false, // true == image follows the page, false == image remains in the same open position
							pirobox_next : 'piro_next', // Nav buttons -> piro_next == inside piroBox , piro_next_out == outside piroBox
							pirobox_prev : 'piro_prev',// Nav buttons -> piro_prev == inside piroBox , piro_prev_out == outside piroBox
							close_all : '.piro_close',// add class .piro_overlay(with comma)if you want overlay click close piroBox
							slideShow : 'slideshow', // just delete slideshow between '' if you don't want it.
							slideSpeed : 4 //slideshow duration in seconds(3 to 6 Recommended)
						});
			}


						
		});
