// JavaScript Document
$(document).ready(function(){
	$(".show_hide_wrap a").click(function(event){
		if($(this).html()=="Show Abstract"){
  			$(this).html("Hide Abstract");
   			$(this).parent().parent().parent().find(".abstract").slideDown('slow');
   		}else{
   			$(this).html("Show Abstract");
    		$(this).parent().parent().parent().find(".abstract").slideUp('slow');
		}
		event.preventDefault();
	});
	
	
	$("#submit").hover(function(event){
		$(this).attr({src: "images/send_hov.gif"});
	 });
	$("#submit").mouseout(function(event){
		$(this).attr({src: "images/send.gif"});
	 });
	
 });


function write_eml(prefix, suffix){
	return(document.write("<a href='mailto:" + prefix + "@" + suffix + "'>" + prefix + "@" + suffix + "</a>"));
};

function setFocus(thisELE, thisValue){

	$(thisELE).removeClass('form_alert');
	thisValueString=thisValue.toString();

	if(thisELE.value==thisValueString){
		msg='';
		thisELE.value=msg;
	}

	thisELE.onblur=function(){
		if(thisELE.value==''){
			thisELE.value=thisValue;
		}
	}
};



