/**
	==================================================
	==================How To Install==================
	==================================================

	1) Inside your <head> tag (usually, right after the <title> tag), insert the following code:
				<script type="text/javascript" src="/walkout/walkout.settings.js"></script>
				<script type="text/javascript" src="/walkout/walkout.functions.js"></script>
				
	2) Edit this file (walkout.settings.js) to change the default configuration for the walkout video
	
	3) Change the 'play.jpg' image in the 'walkout' folder to match the site
	
	Optional:
	
	4) If doing a site with multiple videos, you'll need multiple configuration files for each page that a 
		different video will be on. To do this, simply copy this file with a different name and reference 
		inside the html (from step 2). Please make sure you set the 'cookieName' to a different value than
		the other configuration files.
	
**/

/** Define video file **/
/** ================= **/
var videoFile = "JedaHomesWalkout.flv"; //Flash Setting for Walkout Video

/** Optional settings, uncomment to edit from default **/
/** ================================================= **/

var videoTop 			= '300px'; //CSS Positioning for Walkout Video
var videoLeft 			= pageWidth() / 2 - 500 + 'px'; //CSS Positioning for Walkout Video
var videoWidthDiv		= '600px'; //DIV Setting for Walkout Video
var videoHeightDiv		= '600px'; //DIV Setting for Walkout Video

var videoWidth 			= '600px'; //DIV Setting for Walkout Video
var videoHeight 		= '420px'; //DIV Setting for Walkout Video

var playTop				= '0px'; //CSS Positioning for Play Button
var playLeft			= pageWidth() / 2 - 60 + 'px'; //CSS Positioning for Play Button

var flvOnClick			= 'ContactUs.asp'; //URL to go to when video is clicked on
var flvTarget			= '_self'; //Target window to open the flvOnClick URL

var flvSkin 			= 'ClearOverAll.swf'; //Flash Setting for Walkout Video
//var flvMode			= 'transparent'; //Flash Setting for Walkout Video
//var flvVolume 		= '100'; //Flash Setting for Walkout Video
//var flvBuggerTime		= '4'; //Flash Setting for Walkout Video
//var flvAutoPlay 		= 'true'; //Flash Setting for Walkout Video
//var flvAutoSize		= 'true'; //Flash Setting for Walkout Video
//var flvAspectRatio	= 'ture'; //Flash Setting for Walkout Video
//var flvAutoHide		= 'true'; //Flash Setting for Walkout Video

//var cookieName		= 'DoWalkout'; //Javascript Setting for Cookies
//var cookieDays		= '7'; //Javascript Setting for Cookies

/** ================================================= **/
/** Copyright (c) MediaMarketers.com **/
function pageWidth() {return window.innerWidth != null? window.innerWidth : document.documentElement && document.documentElement.clientWidth ?       document.documentElement.clientWidth : document.body != null ? document.body.clientWidth : null;} function pageHeight() {return  window.innerHeight != null? window.innerHeight : document.documentElement && document.documentElement.clientHeight ?  document.documentElement.clientHeight : document.body != null? document.body.clientHeight : null;} function posLeft() {return typeof window.pageXOffset != 'undefined' ? window.pageXOffset :document.documentElement && document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ? document.body.scrollLeft : 0;} function posTop() {return typeof window.pageYOffset != 'undefined' ?  window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ? document.body.scrollTop : 0;} function posRight() {return posLeft()+pageWidth();} function posBottom() {return posTop()+pageHeight();}