// JavaScript Document
/*
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.js"></script>
<script type="text/javascript" src="js/custom.js"></script>



$(function(){$("h3#about-me-title").hide();$("h3#about-me-title").css({marginLeft:"-30px",marginTop:"30px"});});var intTime=0;var intTime2=0;function qualityAnimation1(){$("h3#about-me-title").delay(120).fadeIn(900);$("h3#about-me-title").delay(120).animate({marginLeft:"0px",marginTop:"0px"},750,"easeOutCirc");}$(window).bind("load",function(){qualityAnimation1();});

$(function(){$("h3#interactive-project-title").hide();$("h3#interactive-project-title").css({marginLeft:"-30px",marginTop:"30px"});});var intTime=0;var intTime2=0;function qualityAnimation2(){$("h3#interactive-project-title").delay(320).fadeIn(900);$("h3#interactive-project-title").delay(320).animate({marginLeft:"0px",marginTop:"0px"},750,"easeOutCirc");}$(window).bind("load",function(){qualityAnimation2();});

$(function(){$("h3#design-works-title").hide();$("h3#design-works-title").css({marginLeft:"-30px",marginTop:"30px"});});var intTime=0;var intTime2=0;function qualityAnimation3(){$("h3#design-works-title").delay(620).fadeIn(900);$("h3#design-works-title").delay(620).animate({marginLeft:"0px",marginTop:"0px"},750,"easeOutCirc");}$(window).bind("load",function(){qualityAnimation3();});

$(function(){$("h3#photo-title").hide();$("h3#photo-title").css({marginLeft:"-30px",marginTop:"30px"});});var intTime=0;var intTime2=0;function qualityAnimation4(){$("h3#photo-title").delay(920).fadeIn(900);$("h3#photo-title").delay(920).animate({marginLeft:"0px",marginTop:"0px"},750,"easeOutCirc");}$(window).bind("load",function(){qualityAnimation4();});
*/




// Apply the Highslide settings
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
hs.allowSizeReduction = false;
// always use this with flash, else the movie will be stopped on close:
hs.preserveContent = false;
hs.wrapperClassName = 'draggable-header no-footer';


// create a shorthand function so we don't need to put all this in the opener's onclick
function openYouTube(opener) {
	var returnValue;
	
	// Safari Mobile doesn't have Flash, so we just let the device use the built-in 
	// YouTube viewer.		
	if (/(iPhone|iPod|iPad)/.test(navigator.userAgent)) {
		opener.href = opener.href.replace('/v/', '/watch?v=');
		returnValue = true;		
	}

	else returnValue = hs.htmlExpand(opener, { 
		objectType: 'swf', 
		objectWidth: 480, 
		objectHeight: 385, 
		width: 480, 
		swfOptions: { 
			params: { 
				allowfullscreen: 'true' 
			}
		}, 
		maincontentText: 'You need to upgrade your Flash player' 
	});
	
	return returnValue;
}  

