  $(document).ready(function(){
   
   /*
	$("#liInfoDirections").hide();
	
   	$("#hServices").click(function () {
	
		$("#liInfoServices").show("slow");
		$("#liInfoDirections").hide("slow");
	
	})
	
	$("#hDirections").click(function () {
	
		$("#liInfoServices").hide("slow");
		$("#liInfoDirections").show("slow");
	
	})
	
	*/

	
	$("#imgRemoteSupport").qtip({
	  content: $("#divRemoteSupport").html(),
	   show: 'mouseover',
	   hide: 'mouseout',
	   style: { border: {
		 width: 8,
		 radius: 8,
		 color: '#660000'
			},width: 316
		},
	   hide: { fixed: true, delay: 250 },
	   position: {
		  corner: {
			 target: 'topRight',
			 tooltip: 'bottomRight'
		  },
		  adjust: {
				y: -10  
		  }
	   }

	   });

  });




function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}



function RunSubmit() {

	if(window.document.frmContact.Name.value == '') {
	
		alert('Please enter your name.');
		window.document.frmContact.Name.focus();

	} else if(window.document.frmContact.Email.value == '' && window.document.frmContact.Phone.value == '') {
	
		alert('Please enter either your email address or your phone number so we can reach you.');
		window.document.frmContact.Email.focus();
		
	} else if(window.document.frmContact.Message.value == '') {
	
		alert('Please enter in the message you wish to send.');
		window.document.frmContact.Message.focus();
		
	} else {
		
		window.document.frmContact.submit();
		
	}
	
}




function RunSubmitEmployment() {

	if(window.document.frmContact.Name.value == '') {
	
		alert('Please enter your name.');
		window.document.frmContact.Name.focus();

	} else if(window.document.frmContact.Email.value == '' && window.document.frmContact.Phone.value == '') {
	
		alert('Please enter either your email address or your phone number so we can reach you.');
		window.document.frmContact.Email.focus();
		
	} else if(window.document.frmContact.Message.value == '') {
	
		alert('Please include a brief message explaining what position(s) you are interested in and any other pertainent information.');
		window.document.frmContact.Message.focus();
		
	} else {
		
		window.document.frmContact.submit();
		
	}
	
}