// JavaScript Document
	



function getMovieCode(movie,img,width,height){
	
	var outCode = "";
	outCode = outCode + '			<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->';
	outCode = outCode + '					<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="720" height="405">';
	outCode = outCode + '					<param name="movie" value="player.swf" />';
	outCode = outCode + '					<param name="allowfullscreen" value="true" />';
	outCode = outCode + '					<param name="allowscriptaccess" value="always" />';
	outCode = outCode + '			';
	outCode = outCode + '					<param name="flashvars" value="file=' + movie + '&image=' + img +'" />';
	outCode = outCode + '					<embed';
	outCode = outCode + '						type="application/x-shockwave-flash"';
	outCode = outCode + '						id="player2"';
	outCode = outCode + '						name="player2"';
	outCode = outCode + '						src="player.swf"'; 
	outCode = outCode + '						width="' + width + '"';
	outCode = outCode + '						height="' + height + '"';
	outCode = outCode + '						allowscriptaccess="always"'; 
	outCode = outCode + '						allowfullscreen="true"';
	outCode = outCode + '						flashvars="file=' + movie + '&image=' + img +'&skin=/modieus.swf&autostart=true"/>';
	outCode = outCode + '				</object>';
	outCode = outCode + '				<!-- END OF THE PLAYER EMBEDDING -->';
	
	return(outCode);
}




function getMovieInfo(movie){
	
	var text = "";
	if(movie == "C10"){
		text = "<p>CHICAGO 10</p>" + "<p></p>" + "<p>This is Chicago 10. Bret Moran Directed. Film was accepted into the Sundance Film Festival. Pretty Awesome. We all went skiing. Good times.</p>";
	} else if(movie == "COMEDYCENTRAL"){
		text = "<p>COMEDY IS DANGEROUS</p>" + "<p></p>" + "<p>We created these series of spots for Comedy Central during thier 'Comedy is Dangerous' campange. Kennen Moran directed the spots. I got to play VFX sup and lead compositor. We created 7 spots in total. Two were inducted into MOMA as part of thier...well I have no idea how they display them honestly:) This was an awesome job!</p>";
	} else if(movie == "LOVEGURU"){
		text = "<p>LOVE GURU</p>" + "<p></p>" +  "<p>Film work! We fixed up the opening shot to the Mike Myers movie Love Guru! Marci Ichimura created the matte painting / set extention, and I wes tracking and compositing. The stablizing rig I whipped together on Ronzonni came in handy once again! Hazza!</p>";
	} else if(movie == "NURSEJACKIE"){
		text = "<p>NURSE JACKIE</p>" + "<p></p>" +   "<p>Curious had the oppertunity to create this set of three loverly shots for the piolet episode of Nurse Jackie. We spent a a full day on set shooting macro highspeed film, but went with the CG in the end. Anton Tokar rigged up the simulation, and I was once again VFX sup. I got to shade, light, render and composite though:) I do love to get my hands dirty!</p>";
	}  else if (movie == "MILLER"){
		text = "<p>MILLER</p>" + "<p></p>" +  "<p>Funny little spot the studio whipped up in a jiffy. From conception to airing was less than 24hours! Ian Hutchinson was the lead compositor. I like this spot. It marks the first time I used flexwarp in a production. A milestone for Curious Pictures. Look how that glass is now filled! what's that? 40min to air? I got that!</p>";
	} else if (movie == "NICKTVLAND"){
		text = "<p>TV LAND</p>" + "<p></p>" +   "<p>Nick TV Land. Directed by Nobel Jones, and VFX supervised by Lewis Kofsky. This was an epic VFX job. So many cool rigs to remove, greenscreen, matchmoving, set extentions. You name it we used it.</p>";
	} else if (movie == "RONZONI"){
		text = "<p>MR.RONZONI</p>" + "<p></p>" +   "<p>These two spots for Ronzoni were fun. Steve Oakes directed. I got to fly out to LA to play VFX Sup. Super pro crews out there. From budget to compositing I got to be really involved in this one. Don't think I worked on a job that's laid off to a tape since then.</p>";
	} else if (movie == "AUGUST"){
		text = "<p>AUGUST</p>" + "<p></p>" +   "<p>Crowd enhancement for theatre on this shot. Quick turn around, and no massive artists at the time, so we completed the shot old. Set up a quick green, got 10 of our closest friends, some costumes, wigs, and shot all the aditional people on green. Two about 3 days to complete the shot. We added over 100+ new audience members!</p>";
	} else {
		text = "No description availible. Sorry!";	
	}
	
	html = text;
	
	
	
	
	return(html)	
}

