// JavaScript Document
// copyright 2008 Instant Effects

////////////////////////////////////////////
var themes = new Array();
themes[0] = "Clouds1";
themes[1] = "Clouds2";
themes[2] = "Water";
themes[3] = "Panels 1";
themes[4] = "Panels 2";
themes[5] = "Multi";
themes[6] = "Live";
themes[7] = "The Grid 2";
themes[8] = "Info Center 2";
themes[9] = "Golden Globe 2";
themes[10] = "Paper Stars 2";
themes[11] = "Dotted Line 2";

var packs = new Array();
packs[0] = "Download Pack: Skyscapes";
packs[1] = "Download Pack: Skyscapes";
packs[2] = "Download Pack: Skyscapes";
packs[3] = "Download Pack: Video Backgrounds";
packs[4] = "Download Pack: Video Backgrounds";
packs[5] = "Download Pack: Video Backgrounds";
packs[6] = "Download Pack: Video Backgrounds";
packs[7] = "Download Pack: Aspect Pairs 2";
packs[8] = "Download Pack: Aspect Pairs 2";
packs[9] = "Download Pack: Aspect Pairs 2";
packs[10] = "Download Pack: Aspect Pairs 2";
packs[11] = "Download Pack: Aspect Pairs 2";

var desc = new Array();
desc[0] = "Clouds 1 presents a richly colored sunrise from above a dark cloud deck. The background scene slides continuously from right to left as if the viewer is flying. Custom transitions burn in the margins of either the Title or Content Variation planes and wipe to next slide. Clouds1 is compatible with both 4:3 and 16:9 formats.";
desc[1] = "Clouds 2 starts with a background scene that's a continuous camera zoom into a blue sky with puffy blue clouds. It offers both light on dark and dark on light versions of its Content and Title Variations. Custom transitions flare the entire scene to white then back as they wipe to next slide.  Clouds2 is compatible with both 4:3 and 16:9 formats.";
desc[2] = "The Water FXTheme's background scene is a continuous camera dolly over a lightly rippled ocean surface and towards a distant horizon lit with early stage sunset colors.  Water is compatible with both 4:3 and 16:9 formats.";
desc[3] = "Panels 1 allows a single user-specified video in the background. It provides Title, Content, and Default Variations as well as custom transitions between each.  A separate Wide version of Panels 1 is included.  It functions identically, but assumes a 16:9 PowerPoint file setup.  It will stretch user-specified background video to 16:9.  When HD format (16:9) video is specified, it will display without distortion.";
desc[4] = "Panels 2 also allows a single user specified video in the background. It provides Title, Content, and Default Variations as well as custom transitions between each.  A separate Wide version of Panels 2 is included.  It functions identically, but assumes a 16:9 PowerPoint file setup.  It will stretch user-specified background video to 16:9.  When HD format (16:9) video is specified, it will display without distortion.";
desc[5] = "The Multi theme allows up to 4 different videos to be specified. Each has its own Variation. No Content or Title layouts (Variations) are provided. The user is responsible for creating contrast between their content and the video background by using standard PowerPoint elements such as the semi-transparent AutoShapes depicted above. A Wide aspect version of the Multi theme is also provided.";
desc[6] = "The Live theme allows for a live video feed to be displayed real time. No Title or Content Variations are provided.  The user is responsible for creating contrast between their content and video background by using standard PowerPoint elements such as the semi-transparent AutoShapes depicted above.  A Wide aspect version of the Live theme is also provided.";
desc[7] = "The Grid 2 features a slowly rotating background grid of translucent cubes.  Content and Title variations are provided along with theme specific transtitions between all states.  It takes well to subtle color adjustments and generates constantly shifting combinations of light, transparency, and shadow.  <br><br>As with all Aspect Pairs themes, a separate version is provided for widescreen (16:9) format presentations.</br></br>";
desc[8] = "Info Center 2 presents an abstract Matrix like 'information waterfall' as a background.  Content and Title variations are provided along with theme specific transtitions between all those states.  <br><br>As with all Aspect Pairs themes, a separate version is provided for widescreen (16:9) format presentations.</br></br>";
desc[9] = "Golden Globe 2 provides an abstract color adjustable globe over black background.  Content and Title variations are included along with theme specific transtitions between all those states.  <br><br>As with all Aspect Pairs themes, a separate version is provided for widescreen (16:9) format presentations.</br></br>";
desc[10] = "Paper Stars 2 provides a motion background of color adjustable transparent stars.  Title and two Content variations are included along with a variety of star based wipe transitions.  <br><br>As with all Aspect Pairs themes, a separate version is provided for widescreen (16:9) format presentations.</br></br>";
desc[11] = "Dotted Line 2 gives a static 2D look for its layouts but adds dynamic 3D transtion options.  Title and two Content variations are included along with a variety of motion and dissolve transitions.  <br><br>As with all Aspect Pairs themes, a separate version is provided for widescreen (16:9) format presentations.</br></br>";
////////////////////////////////////////////
function populateList()
{
	
	var thumbstr = "";
	for (var i = 0; i < themes.length; i++) {
		thumbstr += '<a href="javascript:setTheme(' + i + ')">';
		thumbstr += '<img class="galleryThumb" src="http://www.instanteffects.us/gallery_assets/' + themes[i] + '.jpg" title="'+themes[i]+'"/>';
	}
	//thumbstr += "</tr></table>";
	var thumbs = document.getElementById('themethumbs');
	thumbs.innerHTML = thumbstr;
}
function setTheme( 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.instanteffects.us/gallery_assets/' + themes[n] + '.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed id="emb" src="http://www.instanteffects.us/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 =  '<a href=downloads_addons.html>' + packs[n] + '</a>';
	document.getElementById('themeDesc').innerHTML = desc[n];
}
// ON LOAD

populateList();
setTheme(0);// JavaScript Document





