function decision(url,delete_what){
	var message = "Are you sure that you want to delete " + delete_what + "?";
	if(confirm(message)) window.location.href = url;
}
function decisionSubmit(delete_what){
	var message = "Are you sure that you want to delete " + delete_what + "?";
	if(confirm(message)) document.deleteImage.submit();
}
function submitenter(myfield,e){
	var keycode;
	if (window.event) keycode = window.event.keyCode;
	else if (e) keycode = e.which;
	else return true;
	
	if (keycode == 13)  {
		document.login.submit();
		return false;
	} else {
		return true;
	}
}
function insertEmailAddress(contactName, emailUser, emailHost, subject, initialBodyText)  {
	if(emailHost == undefined || emailHost == "") emailHost = "devonway.com";
	if(contactName == "") contactName = emailUser + "@" + emailHost;
	if(subject == undefined) subject = "";
	if(initialBodyText == undefined) initialBodyText = "";
	
	// Generate the extra URL information for e-mail subject and body.
	extraURLData = "";
	
	if(subject != "" || initialBodyText != "" ) {
		extraURLData = "?";
		if(subject != "" ) extraURLData += "subject=" + subject + "&";
		if(initialBodyText != "" ) extraURLData += "body=" + initialBodyText;
	}
  document.write( '<a href="' + 'mailto:' + emailUser + '@' + emailHost + extraURLData + '">' + contactName + '</a>' );
}
$(document).ready(function(){

	//Remove outline from links
	$("a").focus(function(){ $(this).blur(); });

	// Remove titles
	$("a").removeAttr("title");

	// Fade wrapper
	$("#wrapper:hidden:first").fadeIn(0, function() {
		$("##home-body:hidden:first, #honeycomb:hidden:first").fadeIn(0);
		});
	
});

