// JavaScript Document

$(function() {

$("h2.prev").tooltip({
	position: "center right",
	offset: [-2, 10], 
	opacity: 0.8

});
});

$(function() {

$("h2.next").tooltip({
	position: "center left",
	offset: [-2, -10], 
	opacity: 0.8

});
});

$(function() {

$("#myform :input").tooltip({
	position: "center left",
	offset: [0, -10], 
	opacity: 0.8

});
});


$(function() {

$(".checkmygrid").tooltip({
	position: "bottom center",
	offset: [5, 15], 
	opacity: 0.8

});
});

$(function() {

$(".css").tooltip({
	position: "top center",
	offset: [-40, -58], 
	opacity: 0.8

});
});

$(function() {

$(".services").tooltip({
	position: "top center",
	offset: [-10, 0],
	opacity: 0.8

});
});

$(function() {

$(".image").tooltip({
	position: "center left",
	offset: [-80, 10],
	opacity: 0.8

});
});

$(document).ready(function() {
	$('img.menu_class').hover(function() {
	$('.the_menu').slideDown('medium');
	});
	$('body').click(function() {
	$('.the_menu').hide('medium');
});
});


$(function() {
	$("#toTop").scrollToTop({speed:1000});
});

 $(function() {
$(".image").click(function() {
var image = $(this).attr("rel");
$('#image').hide();
$('#image').fadeIn('slow');
$('#image').html('<img src="' + image + '"/>');
return false;
	});
});

