$(document).ready( 
	function(){ 
		$('#fader').innerfade(	{ 
			animationtype: 'fade', 
			speed: 'slow',
			timeout: 8000, 
			type: 'random', 
			containerheight: '290px',
			runningclass: 'factsList'
		}); 
		
		$('#fader2').innerfade( {
			animationtype: 'fade', 
			speed: 'slow',
			timeout: 10000, 
			type: 'random', 
			containerheight: '290px',
			runningclass: 'factsList'
		}); 
		
		$('#portfolio').innerfade({ 
			speed: 'slow', 
			timeout: 4000, 
			type: 'sequence', 
			containerheight: '220px' 
		});
		
	} 
	
);

function OpenWindow(url, w, h) {
	    var options = "width=" + w + ",height=" + h + ",";
	    options += "resizable=yes,scrollbars=auto,status=yes,";
	    options += "menubar=no,toolbar=no,location=no,directories=no";
	    var newWin = window.open(url, 'newWin', options);
	    newWin.focus();
}