// JavaScript Document
// copyright 2008 Instant Effects

////////////////////////////////////////////
var themes = new Array();
themes[0] = "Panels";
themes[1] = "Gears";
themes[2] = "Moving Planes";	
themes[3] = "The Core";
themes[4] = "Light Pools";
themes[5] = "Monitor Ball";
themes[6] = "File Folder";
themes[7] = "Seafloor";
themes[8] = "The Flip Side";
themes[9] = "Boxburst";
themes[10] = "Concentrics";
themes[11] = "Revolutions";
themes[12] = "Rolling Hills";
themes[13] = "Waves";
themes[14] = "Hall of Monitors";
themes[15] = "Rotating Arcs";
themes[16] = "Spirals";
themes[17] = "Posts";
themes[18] = "World Hue";
themes[19] = "Glass Wedges";
themes[20] = "Rotating Blocks";
themes[20] = "Leaning Tower";

var packs = new Array();
packs[0] = "Pack: Instant Effects";
packs[1] = "Pack: Instant Effects";
packs[2] = "Pack: Aspect Pairs";	
packs[3] = "Pack: Core 2 Duo";
packs[4] = "Pack: Instant Effects";
packs[5] = "Pack: Instant Effects";
packs[6] = "Pack: Instant Effects";
packs[7] = "Pack: Instant Effects";
packs[8] = "Pack: Instant Effects II";
packs[9] = "Pack: Instant Effects II";
packs[10] = "Pack: Instant Effects II";
packs[11] = "Pack: Instant Effects II";
packs[12] = "Pack: Instant Effects II";
packs[13] = "Pack: Instant Effects II";
packs[14] = "Pack: Instant Effects";
packs[15] = "Pack: Aspect Pairs";
packs[16] = "Pack: Aspect Pairs";
packs[17] = "Pack: Power Users";
packs[18] = "Pack: Power Users";
packs[19] = "Pack: Brandable";
packs[20] = "Pack: Brandable";
packs[21] = "Pack: Brandable";

var desc = new Array();
desc[0] = "Perfect for corporate presentations, this theme utilizes dynamic movement in a professional way. Includes red, blue, and color adjustable backgrounds, along with title and content variations. ";
desc[1] = "Slowly rotating gears in background with multiple color variations. Transitions are a variety of wipes with gears rolling across the frame. ";
desc[2] = "Moving Planes consists of different sized rounded transparent rectangles moving horizontally at different speed and depths. It includes Title, Content, and Default variations. Specific transitions are provided for Title to Content, Content to Title, and Content to Content. A separate Wide version of the theme is provided for 16:9 presentations.";
desc[3] = "The epicenter of technology is surrounded by orbiting packets of light. Glass frames transition your content on and off the screen. The Core 2 is color adjustable by the user.  A \"wide\" version is provided for 16:9 format.";

desc[4] = "A colored background with slowly moving pools of light provides a conservative backdrop for your presentation. Transition from slide to slide with a light beam wipe.";
desc[5] = "A hi-tech reflective ball provides entertaining transitions between each slide, while creating a simple frame for your information. Longer transitions provide an excellent way to build audience anticipation.";
desc[6] = "A manila folder opens up to reveal pages for each PowerPoint slide. Transitions show the file folder open and close, and pages fly off.";
desc[7] = "Shimmering sunlight illuminates a shallow ocean floor to provide a stunning background for your presentation. An optional friendly dolphin swims around your content to add visual interest.";
desc[8] = "A series of subtly lit panels slowly rotates in the background. Content is professionally set inside a beveled glass frame. Color adjustable by the user and works at both 4:3 and 16:9. Offers a set of transitions that function well with insert scenes. It's text treatment picks up the nuances of user selected theme color.";

desc[9] = "Consists of layered and graded rectangular shapes that move horizontally at different speeds. Varying transparencies and depths create a subtle dynamic that is visually interesting without being distracting. Custom wipe transitions work with all variations.  Use theme design elements to sweep content away and reveal the next slide.";
desc[10] = "Obliquely oriented and slowly orbiting rings provide a subtle backdrop.  Color adjustable and designed to work at any aspect ratio up to 3:1.  Title and 2 different Content variations are provided.";
desc[11] = "A futuristic orbiting assembly gives ESPN-look to the background.  Title and content variations simplify use while wipe transitions enable use at standard and wide aspect ratios.  User specified color mixes with subtle gray tones.";
desc[12] = "Background camera moves continuously past a softly shaded ridgeline that can be color tinted by the user.  Title and Content variations streamline layout.  Wipe transitions provide compatibility with wide and standard aspect ratios.";
desc[13] = "A purely abstract background of subtle waves in light and dark rolls by.  User selects primary color.  That's picked up in design elements of Title and Content variations, and wipe elements.  Waves is compatible with standard and wide presentations.";

desc[14] = "A robotic monitor factory creates the backdrop for your presentation.Individual slides transition on and off on monitors.";

desc[15] = "Rotating Arcs incorporates a color adjustable background of slowly revolving concentric arcs that move around a transparent core cylinder that shows internal vertical fluid flow. The theme includes Content, Title, and Default variations. Specific transitions are provided for Title to Content, Content to Title, and Content to Content. A separate Wide version of the theme is provided for 16:9 presentations.";
desc[16] = "Spirals consists of a color tunable background scene of billowing transparent 3D shapes that move and rotate slowly. Interesting shapes and lighting are created randomly as they overlap in different configurations. Specific transitions are provided for Title to Content, Content to Title, and Content to Content. A separate Wide version of the theme is provided for 16:9 presentations.";

desc[17] = "An advanced-user theme - Posts has no Title or Content layouts.  Just a constantly rising set of transparent posts along the left margin.  Light and dark variations pick up user-specified coloring.  A set of wipe transitions employ the same design elements in a variety of ways.  A specific version for 16:9 shows is provided.";
desc[18] = "World Hue incorporates a transparent globe which allows color control of continent fronts and backs as well as background and latitude / longitude lines.  A wide selection of content layouts is provided along with an assortment of wipe transitions that allow seamless use of any variation at any time.  A separate version for 16:9 shows is provided.";

desc[19] = "Glass Wedges is a “brandable” theme.  Logo images (with alpha) that you create are optionally added to motion backgrounds and transitions.  User colored piping and geometric shaped wipe transitions pick up key design elements.  A separate video insert scene based on those same design elements is provided.   A separate “wide” version of Glass Wedges handles 16:9 shows.";

desc[20] = "Rotating Blocks is another “brandable” theme.   User specified logo images are added to the slowly translating and rotating background blocks.   A branded wipe made of those same blocks is included along with a set of more general purpose lit bar wipes.   User specifiable primary and secondary colors control scene lighting from upper left and lower right respectively.   Rotating Blocks works at both 4:3 and 16:9 aspect ratios.";

desc[21] = "Leaning Tower is a brandable theme that allows user specified logo images to be added to a slowly circling set of background plates.   Those plates become wipe elements in them transitions.  The theme can optionally be used without specific branding as well.   Primary color is controlled by user input.   Both 4:3 and 16:9 versions of Leaning Tower are included.";


////////////////////////////////////////////
var currentImg = null;
function populateList()
{
	
	var thumbstr = "";
	for (var i = 0; i < themes.length; i++) {
		thumbstr += '<a href="javascript:setTheme(' + i + ')">';
		thumbstr += '<img class="galleryThumb" id="img' + i + '" src="http://www.officefxonline.com/gallery_assets/' + themes[i] + '.jpg" title="'+themes[i]+'"/>';
	}
	//thumbstr += "</tr></table>";
	var thumbs = document.getElementById('themethumbs');
	thumbs.innerHTML = thumbstr;
}
function setTheme( n )
{
	if (currentImg) {
			currentImg.className="galleryThumb"
	}
	document.getElementById('img'+n).className = "galleryThumbActive";
	currentImg = document.getElementById('img'+n);
	var swfwrap = document.getElementById('swfmovie');
    swfwrap.innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="swfobj" align="middle" border=0><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="http://www.officefxonline.com/gallery_assets/' + themes[n] + '.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed id="emb" src="http://www.officefxonline.com/gallery_assets/' + themes[n] + '.swf" quality="high" bgcolor="#000000" width="320" height="240" name="thecore" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';

	document.getElementById('themeTitle').innerHTML =  themes[n];
	document.getElementById('themePack').innerHTML =  packs[n];
	document.getElementById('themeDesc').innerHTML = desc[n];
}
// ON LOAD

populateList();
setTheme(0);// JavaScript Document





