/******************************************************
JS for Pixelplume -- included in all pages
author:  Grace Pok
version 1.0
******************************************************/

//Pixelplume namespace
var PPG = {};
/* Little object that will pre-load navigation menu images
 * so that we don't see images flicker
 */
PPG.NavMenu_Preloader = function(){
	this.images = [];
	this.images.push("reel_default.gif");
	this.images.push("reel_hover.gif");
	this.images.push("reel_active.gif");
	this.images.push("proj_default.gif");
	this.images.push("proj_hover.gif");
	this.images.push("proj_active.gif");
	this.images.push("archive_default.gif");
	this.images.push("archive_hover.gif");
	this.images.push("archive_active.gif");
	
	var imgObj = new Image();
	
	for (var i=0; i < this.images.length; i++ ){
		imgObj.src = this.images[i];
	}
}

