
function onStart()
{
	// komentarze
	// chowanie formularza
	$('#add_opn_text').css('display', 'block');
	//$('#add_opn_area').css('display', 'none');
	//$('#add_opn_autor').css('display', 'none');
	//$('#add_opn_btn_send').css('display', 'none');
	//$('#add_opn_kod_img').css('display', 'none');
	//$('#add_opn_seckod').css('display', 'none');
	$('#div_add_opn').css('display', 'none');
	$('#add_opn_text').click( function(event){
		$(this).hide();
		$('#div_add_opn').fadeIn();
		$('#add_opn_area').fadeIn();
		//$('#add_opn_area').focus();
		//$('#add_opn_autor').fadeIn();
		//$('#add_opn_btn_send').fadeIn();
		//$('#add_opn_kod_img').fadeIn();
		//$('#add_opn_seckod').fadeIn();
		event.preventDefault();
		return false;
	} );
	// 3. LIGHTBOX
	// leandrovieira.com/projects/jquery/lightbox/
	//$('a.lightbox').lightBox();
	$('a[rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
}//f

//RuszLMenu('a')function(event){



// -----------------------------
$(onStart);


//-----------------------------




/*

		// jaki stan: zwiniety czy rozwiniety
		var stan = $(this).parent().children().eq(1).css('display');
		// chowam wszystkie listy ul w menu
		$('a.left-menu-mine-item').each(function(){
			var il = $(this).parent().children().length;
			if (il > 0) $(this).parent().children().eq(1).css('display', 'none');
			//alert($(this).parent().children().eq(1).css('display'))
			
		});
		// wysuwam podmenu (tylko gdy bylo wczesniej zwiniete)	
		//var parent = $(this).parent();
		if (stan == 'none') {
			$(this).parent().children().eq(1).css('display', 'block');
		}




*/
