

// FONT REPLACEMENT
Cufon.replace('h1,h2,h3,h6,.standardForm label,.slogan,.sf-menu a', { fontFamily: 'Swis721 BT' } );
// Cufon.replace('.sf-menu a', { fontFamily: 'Felix Titling'});

$(document).ready(function(){
						   
        $(document).pngFix(); 
		
	$('a.link[title]').qtip({
		style: {
			name: 'light',
			tip: 'topLeft',
			fontSize: '0.7em'
		},
		position: { target: 'mouse' }
	});

	$('div.result_image[title]').qtip({
		style: {
			name: 'light',
			tip: 'topLeft',
			fontSize: '0.7em'

		},
		position: { target: 'mouse' }
	});

	$('div.image a[title]').qtip({
		style: {
			name: 'light',
			tip: 'topLeft',
			fontSize: '0.7em'

		},
		position: { target: 'mouse' }
	});
		
		// assign a click event to the exposed element, using normal jQuery coding 
    	$(".expose").click(function() { 
 
			// perform exposing for the clicked element 
			$(this).expose({api: true}).load(); 
 
    	}); 
		
	$('ul.sf-menu').superfish({autoArrows:  false, delay: 200, speed: 'fast'});

	$('#random_posts').cycle({
		fx:			'fade',
		speed:		1000,
		timeout:	3500,
		delay:		3500,
		pause:		1
	 });


});
