/*Axxess Common js

Ajax and Jquery used on each page.
*/

$(document).ready(function(){
	$("#loginbox").hide();
	$("#content_benefits").hide();
	$("#content_technical").hide();
	$('a.basic').cluetip({cluetipClass: 'rounded', dropShadow: false, width: '300px', showTitle: false, cursor: 'pointer', arrows: false });

    $("#btn_login1").click(function () {
	  $("#loginbox").toggle("slow");
	  return false;
    });	

    $("#btn_login2").click(function () {
	  $("#loginbox").toggle("slow");
	  return false;
    });	

    $("#btn_description").click(function () {
	  $("#content_benefits").hide();
	  $("#content_technical").hide();
	  $("#content_description").show();
	  return false;
    });	
	
    $("#btn_benefits").click(function () {
	  $("#content_description").hide();
	  $("#content_technical").hide();
	  $("#content_benefits").show();
	  return false;
    });

    $("#btn_technical").click(function () {
	  $("#content_benefits").hide();
	  $("#content_description").hide();
	  $("#content_technical").show();
	  return false;
    });
	
		
  });
  
$(function() {
      $('#searchtext').example('search here');
	  $('#txtLogin').example('login name');
	  $('#txtPassword').example('password');
});  
	
$(document).ready(function(){	
	$("div#popup a").fancybox({
		'overlayShow'			: false,
		'zoomSpeedIn'			: 600,
		'zoomSpeedOut'			: 500,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack'
	});
});  