var containerHeight = 0; 
var scrollCotent = ''; 
function getContainerHeight(o) { 
	containerHeight = $(o).parent().height(); c
	ontainerHeight -= 20; 
} 

$(document).ready(function(){		
	$("#tel").click( function( event ) {
		$("#form").toggle('slow');
	});
	
	$("#slider").easySlider({
		prevText: 'Previous Slide',
		nextText: 'Next Slide',
		orientation: 'vertical'
	});

    $('.menu_head').mouseover(function () {
        $('.menu_body').toggle('medium');
    });
    $('.menu_body').click(function () {
        $('.menu_body').toggle('fast');
    });
	
	$('.scroll-handle').Draggable( 
	{ 	
		zIndex: 1000, containment: 'parent', axis: 'vertically', opacity: 0.7, onStart: function() {
			getContainerHeight( this ); 
			getScrollContent( this ) }, onDrag : function(x,y) { 
			var move = sch - containerHeight; if(y>0 && y<(containerHeight)) sc.top(- y/containerHeight*move + "px"); return {x: x,y: y} } 
	} );
});
