$(document).ready(function(){

    $('.scroll_up').click(function(){
	var id = this.id.replace('_up', "");
	
	var x = parseInt($('.'+id).css('top'), 10);
	if(x<0) { 
    $('.'+id).animate({"top": "+=100px"}, "medium");
	  }
    });

  $('.scroll_down').click(function(){

	var id = this.id.replace('_dw', "");
								   
    $('.'+id).animate({"top": "-=100px"}, "medium");
    });

});


	  
		

<!-- Initialize each slider on the page. Each slider must have a unique id -->
	
jQuery(window).bind("load", function() {
			jQuery("div#slider1").codaSlider()
			// jQuery("div#slider2").codaSlider()
			// etc, etc. Beware of cross-linking difficulties if using multiple sliders on one page.
});


function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
  {alert(alerttxt);return false;}
else {return true}
}
}
function validate_email(field,alerttxt)
{
with (field)
{
apos=value.indexOf("@");
dotpos=value.lastIndexOf(".");
if (apos < 1||dotpos-apos < 2) 
  {alert(alerttxt);return false;}
else {return true;}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(firstname,"First Name must be filled out!")==false)
  {firstname.focus();return false;}
else if (validate_required(lastname,"Last Name must be filled out!")==false)
  {lastname.focus();return false;}
else if (validate_email(email,"Not a valid e-mail address!")==false)
  {email.focus();return false;}

}
thisform.submit();
}






