

// INTERFACE EFFECT - FRAMED TAB PHOTO "DROP-IN"  ******************************************************************************
function playFramedEffect( src, desc ) {
	
	// WARNING: IF USED WITH >= JQUERY 1.2, IT CREATES INFINITE JAVASCRIPT ERRORS IN MOZILLA
	
	if ( src  &&  src != "" ) {  // Apply the custom framed image for the page if provided
		var prefix = "/img/";
		//prefix = "../img/"; // PUBLISHING WARNING: Dreamweaver needs additional ".." on path prefix for proper previewing. 
		$("#pic1").attr("src",prefix+src);
		if( desc  &&  desc != "" ) $("#pic1").attr("alt",desc);
		//$("#Framed_Slideshow").html('<img id="pic1" src="/img/framed_EMHE_signed_plan.png" alt="">');
	}
	
	/* 
	Trick IE into getting the opacity correct for the frame by dropping in the outer layer and the photo, 
	and leaving the conditional iehacks.css AND the png-fix class to control the frame (#Framed_Slideshow_BG). 
	*/
	$('#framedPhoto').DropInUp(2000);
	//$('#Framed_Slideshow_BG').DropInUp(2000); /* Don't drop in or IE won't properly display the frame. */
	$('#Framed_Slideshow').DropInUp(2000);
};