
jQuery(document).ready(function() {

// apply to png images in div#footer
// add div #id since it's set in css and not in markup
// other wise you could do this to all images
// $('img[@src$=.png]').ifixpng(); 

//$('div#left_content').ifixpng();


});
// END doc ready


function tb_nfs_show(caption, htmlID, imageGroup)
{
	//$('#TB_window').remove(); 
	jQuery("#TB_window").unload( "" );
//		$("#TB_ajaxContent").empty();
		
//		$('body').append("<div id=\"TB_window\"></div>");
//		alert( window.location.pathname + '#TB_inline?inlineID=' + htmlID);
	tb_show(tb_nfs_caption( caption , null ), window.location.protocol + '://' + window.location.host + window.location.pathname + '#TB_inline?height=550&width=800&inlineId=' + htmlID , imageGroup);
}

function tb_nfs_caption( title , url )
{
	return title;
}

function selectEmbedText( anEvent , sender )
{
	//sender.focus();
	sender.select();
}
