// portfolioSettings.js ©2007 SugarHill Works LLC
//
//
// --------------------------  DO NOT EDIT ABOVE THIS LINE  --------------------------




// SET THE NAME OF THIS PORTFOLIO ON THE LINE BELOW.
var portfolioTitle = "FILMS";  

//
// DO NOT EDIT THESE varS. 
// 
var rootPth = "../../"; // relative path from this portfolio to the website"s root directory




//var picsFolder = "img/photos/medium"; // (set failsafe here) path relative to specific portfolio dir

//var thmsFolder = "img/thumbs"; // path relative to specific portfolio dir

// these vars control the color of the thumbnail borders ( or other thumbnail behaviors)
//
//
//

//----




var player;
function playerReady(obj) {
	var id = obj['id'];
	var version = obj['version'];
	var client = obj['client'];
	player = d.getElementById(id);
	//player.padding-top = "60px";
};

function films_init() {
	// set up the thumbnails
	d.getElementById('film_thm_1').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_1').onmouseout = function() { this.style.cursor = "default"; };
	d.getElementById('film_thm_2').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_2').onmouseout = function() { this.style.cursor = "default"; };
	d.getElementById('film_thm_3').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_3').onmouseout = function() { this.style.cursor = "default"; };
    d.getElementById('film_thm_4').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_4').onmouseout = function() { this.style.cursor = "default"; };
    d.getElementById('film_thm_5').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_5').onmouseout = function() { this.style.cursor = "default"; };
    d.getElementById('film_thm_6').onmouseover = function() { this.style.cursor = "pointer"; };
	d.getElementById('film_thm_6').onmouseout = function() { this.style.cursor = "default"; };

    d.getElementById('film_thm_1').onclick = function() {
		 player.sendEvent('LOAD','vid/"UNTITLED.00.003".flv');
		 player.sendEvent("PLAY");
	}
	
	d.getElementById('film_thm_2').onclick = function() {
		 player.sendEvent('LOAD','vid/film_2.flv');
		 player.sendEvent("PLAY");
	}
	
	d.getElementById('film_thm_3').onclick = function() {
		 player.sendEvent('LOAD','vid/megg-film.flv');
		 player.sendEvent("PLAY");
	}
	
	d.getElementById('film_thm_4').onclick = function() {
		 player.sendEvent('LOAD','vid/"UNTITLED.00.002".flv');
		 player.sendEvent("PLAY");
	}
	
    d.getElementById('film_thm_5').onclick = function() {
		 player.sendEvent('LOAD','vid/FW-09(chadoralphrucci).flv');
		 player.sendEvent("PLAY");
	}
   
    d.getElementById('film_thm_6').onclick = function() {
		 player.sendEvent('LOAD','vid/"UNTITLED.00.001".flv');
		 player.sendEvent("PLAY");
	}
//
	// set up the player
	var s1 = new SWFObject("player.swf","mPlayer","600","445","8","#111111");
	s1.addParam("allowfullscreen","true");
	s1.addParam("allowscriptaccess","always");
	s1.write("container");
}


















