// Document Ready
jQuery(function($) {
    // Your code using failsafe $ alias here...
	if($('img .PhotoEffect') != null)
	{
		$('img .PhotoEffect').photoborder();
	}
});