function Move(left) {	new Fx.Style('slider', 'margin-left',{duration: 500}).start(left);}function Strech(height, element) {	new Fx.Style('body', 'height',{duration: 500}).start(height);
	$$('.active').each(function(item){
		item.className='unactive';
	});
	
	hide_s_men();
	
	element.className='active';}

function hide_s_men(){
	$$('.s_men').each(function(item){
		item.style.display='none';
	});
}function ShowP1() {	var p1 = $('p1').innerHTML;	 $('p0').setHTML(p1);}function ShowP2() {	var p2 = $('p2').innerHTML;	 $('p0').setHTML(p2);}window.addEvent('domready', function() {	new Fx.Style('slider', 'margin-left',{duration: 750}).start(0);//	var p1 = $('p1').innerHTML;//	$('p0').setHTML(p1);//	$('p1').setStyle('display', 'none');//	$('p2').setStyle('display', 'none');
	var x=0;
	$$('.base').each(function(item){
		if(x == 0) item.className='active';
		x++;
	});});


tab_delta = Array();

function show_menu(did, el){
	hide_s_men();
	coor = el.getPosition();
	$(did).style.top = coor['y']+"px";
	$(did).style.left = coor['x']+"px";
	$(did).style.display = "block";
}
