$(document).ready(function(){	
	settings = {
          tl: { radius: 10 },
          tr: { radius: 10 },
          bl: { radius: 10 },
          br: { radius: 10 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
	}		  
	$(".whitecontainer").corner(settings);
	//$("#loginForm").corner(settings);
	
	if($(".tooltipico").length > 0){
		$(".tooltipico").tipsy({gravity: 'w'}); // n | s | e | w
	}
	if($(".submitbtn").length > 0){
		$(".submitbtn").hover(
		  function () {
			$(this).css("background-position","0 -25px");
		  }, 
		  function () {
			$(this).css("background-position","0 0");
		  }
		);
	}
	if($(".printbtn").length > 0){
		$(".printbtn").hover(
		  function () {
			$(this).css("background-position","0 -25px");
		  }, 
		  function () {
			$(this).css("background-position","0 0");
		  }
		);
	}
	if($(".resetbtn").length > 0){
		$(".resetbtn").hover(
		  function () {
			$(this).css("background-position","0 -25px");
		  }, 
		  function () {
			$(this).css("background-position","0 0");
		  }
		);
	}
// On mouse hover effect		
	$(".why").hover(
      function () {
        $(this).addClass("hoverContentHolder");
      }, 
      function () {
        $(this).removeClass("hoverContentHolder");
      }
    ); 
	$(".who").hover(
      function () {
        $(this).addClass("hoverContentHolder");
      }, 
      function () {
        $(this).removeClass("hoverContentHolder");
      }
    ); 
	$(".what").hover(
      function () {
        $(this).addClass("hoverContentHolder");
      }, 
      function () {
        $(this).removeClass("hoverContentHolder");
      }
    ); 
	$(".where").hover(
      function () {
        $(this).addClass("hoverContentHolder");
      }, 
      function () {
        $(this).removeClass("hoverContentHolder");
      }
    );
	
//Login Dialogue box
	$("#forgotPassword").css("display","none");
  	$('#loginForm').jqm();
	$(".showForgotPassword").toggle(
	function(){
		$("#forgotPassword").css("display","block");											
	},
	function(){
		$("#forgotPassword").css("display","none");											
	})
	$(".jqmClose").click(function(){				
		$("#forgotPassword").css("display","none");				  
	})
	
})
