// Document Ready
jQuery(function($) {
    // Your code using failsafe $ alias here...

	/*
	if($('#slideshow').length > 0)
	{
		$('#slideshow').slideshow( { timeout: 3000, type: 'sequence' } );   
	}
	*/
	
	if($('img .PhotoEffect') != null)
	{
		$('img .PhotoEffect').photoborder();
	}

	// Fix for IE activation of Flash objects
	theObjects = document.getElementsByTagName("object");
	for (var i = 0; i < theObjects.length; i++) {
	    theObjects[i].outerHTML = theObjects[i].outerHTML;
	}	
});