// JavaScript Document /scripts/js/fx.js 

function open_privacy() {window.open("/includes/privacy.html", "privacy", "toolbar=no,directories=no,menubar=no,scrollbars,resizable=no,width=350,height=450")}
function open_phases() {window.open("/includes/phases.html", "phases", "toolbar=no,directories=no,menubar=no,scrollbars,resizable=no,width=350,height=600")}


$(document).ready(function() {

// select all desired input fields and attach tooltips to them
$("#ac_ideas :input").tooltip({

	// place tooltip on the right edge
	position: "bottom center",

	// a little tweaking of the position
	offset: [30, 20],

	// use the built-in fadeIn/fadeOut effect
	effect: "fade",

	// custom opacity setting
	opacity: 0.7

});


// select all desired input fields and attach tooltips to them
$("#contact :input").tooltip({

	// place tooltip on the right edge
	position: "center right",

	// a little tweaking of the position
	offset: [-2, 10],

	// use the built-in fadeIn/fadeOut effect
	effect: "fade",

	// custom opacity setting
	opacity: 0.7

});




// Slideshow
$(".slidetabs").tabs(".images > div", {
	clickable: false, // disable 'next' link on the current image (I link to 'work' page instead)
	effect: 'fade',	// enable "cross-fading" effect
	fadeOutSpeed: "slow",
	rotate: true	// start from the beginning after the last tab
}).slideshow({	// use the slideshow plugin. It accepts its own configuration
	autoplay: true,	// enable autoplay
	autopause: true,
	interval: 5000
});


});

