$(document).ready(function() {
	
	$("#open").click(function(){
		$("div#panel").slideToggle("slow");	
	});	
	
	
	$("#close").click(function(){
		$("div#panel").slideToggle("slow");	
	});		
	
	
	$("#toggle a").click(function () {
		$("#toggle a").toggle();
	});		
		
});
$(function() {
 
	// select #flowplanes and make it scrollable. use circular and navigator plugins
	/* $("#flowpanes").scrollable({ circular: true, mousewheel: true }).navigator({
 
		// select #flowtabs to be used as navigator
		navi: "#flowtabs",
 
		// select A tags inside the navigator to work as items (not direct children)
		naviItem: 'a',
 
		// assign "current" class name for the active A tag inside navigator
		activeClass: 'current',
 
		// make browser's back button work
		history: true
 
	}); */
});
$(function (){
	var name = "#floatMenu";
	var menuYloc = null;
		var preheight=230;
		$(function(){
			$(name).css("top",preheight)

			$(window).scroll(function () { 
				offset = $(document).scrollTop()+20;
				if(offset<preheight){
				   offset=preheight;	
				}
				$(name).animate({top:offset+"px"},{duration:500,queue:false});
			});
		}); 	
})



