		$(function() {
		$( "#tabs" ).tabs();
		$( "#system_message" ).dialog({modal: true});
		$( "#accordion" ).accordion();
		});
		
		$(document).ready(function() {
			$('.pcp_dialog').each(function() {
				var $link = $(this);
				var $dialog = $('<div></div>')
					.load($link.attr('href') + '#content')
					.dialog({
						autoOpen: false,
						modal: true,
						title: $link.attr('title'),
						width: 500
					});
	 
				$link.click(function() {
					$dialog.dialog('open');
					return false;
				});
			});
		});
	
		$(document).ready(function() {
			$('.slideshow').cycle({
				fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			});
		});
	
// Cufon.replace('h1,h2,h4,h6', {hover: true});

$(document).ready(function() {
	$("a#fancybox").fancybox({
		'overlayShow'	: false,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'elastic'
	});
	$("a.grouped_elements").fancybox();
});

$(function(){
$('form').jqTransform({imgPath:'../etc/jqtransformplugin/img/'});
});
