function movepic(img_name,img_src) {
	document[img_name].src=img_src;
}		
jQuery.noConflict();
jQuery(function($) { 
	
	Cufon.replace('h1.title');
	Cufon.replace('#logo span, h3.widget-title');
	Cufon.replace('#logo h2, .sf-menu > li > a', {fontWeight:'bold', ignore: 'span'});


	/* Drop Down Menu (superfish + hoverintent + supersubs)
	___________________________________________________________________ */
	// http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started
	// http://users.tpg.com.au/j_birch/plugins/superfish/#options
	$(".sf-menu").supersubs({ 
			minWidth:    13,   // minimum width of sub-menus in em units 
			maxWidth:    27,   // maximum width of sub-menus in em units 
			extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
							   // due to slight rounding differences and font-family 
		}).superfish({
			dropShadows:    false,
			delay:			0
			
							}); // call supersubs first, then superfish, so that subs are 
                         		// not display:none when measuring. Call before initialising 
                         		// containing tabs for same reason. 



	
	/* Menu Hover Indent
	___________________________________________________________________ */
	var sf_hover_sel = $(".sf-menu ul a");
	var sf_link_padding = parseInt(sf_hover_sel.css('padding-left'));
	var sf_hover_offset = 2 + sf_link_padding;
	$(sf_hover_sel).hover(
		function () {
			$(this).stop().animate({"padding-left": sf_hover_offset + "px"}, 75);
		  }, 
		  function () {
			$(this).stop().animate({"padding-left": sf_link_padding + "px"}, 250);
		  }
	);
	
	$(function() {
		$('#carousel').cycle({
			speed: 1300,
			timeout: 6000,
			slideExpr: '.slideshow-item',
			prev:'#carousel a.slideshow-prev',
			next:'#carousel a.slideshow-next'
		});
	});		
	
	$('#carousel .slideshow-prev, #carousel .slideshow-next').css({ 'opacity' : 0.7 }).hide();
	$('#carousel .meer-info, #carousel .slideshow-title').css({ 'opacity' : 0.7 });
	
	$('#carousel').mouseover(function(){
		$('#carousel .slideshow-prev, #carousel .slideshow-next').show();
	});
	
	$('#carousel').mouseout(function(){
		$('#carousel .slideshow-prev, #carousel .slideshow-next').hide();
	});	
	

	
});
