$(document).ready(function()  
 {    
	$('.rounded').corners("8px 8px"); 
	$('.roundedtop').corners("top 8px"); 
	
	$(document).pngFix();
    $('input[title!=""]').hint();
	$("a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});

 });


// Roll Over Logic
PEPS = {};
PEPS.rollover =
{
	init: function() {
		this.preload();

		$(".ro").hover(
		 function() { $(this).attr('src', PEPS.rollover.newimage($(this).attr('src'))); },
		 function() { $(this).attr('src', PEPS.rollover.oldimage($(this).attr('src'))); }
	  );
	},

	preload: function() {
		$(window).bind('load', function() {
			$('.ro').each(function(key, elm) { $('<img>').attr('src', PEPS.rollover.newimage($(this).attr('src'))); });
		});
	},

	newimage: function(src) {
		return src.substring(0, src.search(/(\.[a-z]+)$/)) + '_o' + src.match(/(\.[a-z]+)$/)[0];
	},

	oldimage: function(src) {
		return src.replace(/_o\./, '.');
	}
};





<!------ Numbers Only ------->
function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) )
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}


