<!--// Begin JavaScript Document

// *****************************************************************************
// *****************************************************************************
//
//    Flash FLV Movie Player Helper Module
//
//       Language: JavaScript 1.1
//         Source: http://edwardsdavid.com
//         Author: David Edwards
//          Email: david@edwardsdavid.com
//
//    Description: The Flash FLV movie player can be embedded in web/blog
//                 pages or opened in a pop-up window. This script provides
//                 a toolset that significantly reduces the amount of 
//                 coding necessary to use the FLV movie player.
//
//
// *****************************************************************************
// *****************************************************************************

// Sri03022006 : thanks to David Edwards for this script... got it from surfing bradblog.com

// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Begin of user definable parameters
// -----------------------------------------------------------------------------

//
// Get/Set FLV values
//   Some vars will be created by the user before calling this script
//   Values can also be passed to directly functions in this script
//

//
// Define the full path to the http folder containing the FLV player
//   - URL should end with '/'
//   - Leave blank for testing from local drive
//
//        EXAMPLE:  var vFlvPlayerBaseUrl='http://veredictum.com/flvplayer/';
//
//var vFlvPlayerBaseUrl='http://bradblog.com/video/flvplayer/';
var vFlvPlayerBaseUrl='http://www.yocar.com/store/flash/';

//
// Define the file name for the page that contains the full page version of the FLV player 
//
//        EXAMPLE:  var vFlvPlayerPageName='FlvPlayer.html';
//
// TIP: If your full FLV Player page is named as the default document for the FLV Player folder
//      then this value can be left blank. If you don't understand this tip then just ignore it.
//
var vFlvPlayerPageName='FlvPlayer.html';

//
// Define the file name for the page that will be loaded in the popup FLV player window
//
//        EXAMPLE:  var vFlvPopPlayerPageName='FlvPlayerPop.html';
//
var vFlvPopPlayerPageName='FlvPlayerPop.html';


//
// Define the file name of the SWF FLV video player
//
//        EXAMPLE:  var vFlvPlayerSwfName = 'flvplayer.swf';
//
var vFlvPlayerSwfName = 'FLVPlayer.swf';  


//
// Toggle the display of error messages
//
//    Error messages are displayed in place of (or along with) the embedded player.
//    Serious errors are displayed in an alert(); dialog
//
// Warning messages are never displayed to the user.
//
// Set the following value to '1' to prevent the display of all error messages
// Set the following value to '0' to allow the display of all error messages.
//
var dFlvErrMsgDisabled = '1';


// Default FLV Player values
//   These values will be used if no corresponding JS valaue exists or if there is no value in URL query
//   Notice that the default values begin with the letter 'd' instead of 'v'
var dFlvMovieName = 'syntaxError_206_240x180.flv'; // Replace this with the path to a movie that alerts the viewer that no movie path was specified
var dFlvWidth = '240';
var dFlvHeight = '180';
var dFlvLinkText = 'Play Video';
var dFlv_showFs = 'true';
var dFlv_autoStart = '0';

// -----------------------------------------------------------------------------
// End of user definable parameters
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------






// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Begin of global variable definitions
// -----------------------------------------------------------------------------


//
// Build full URL paths to necessary files
//
//
//
// Build full path to FLV Pop Player 
var vFlvPopPlayerUrl = vFlvPlayerBaseUrl + vFlvPopPlayerPageName;

// Build full path to FLV Player 
var vFlvPlayerUrl = vFlvPlayerBaseUrl + vFlvPlayerPageName;

// These vars are necessary for the SWF FLV Player object
var vFlvPlayerSwfUrl = vFlvPlayerBaseUrl + vFlvPlayerSwfName;  // This should be set to the full URL of the SWF FLV player

// Build value default for default movie URL
// A movie URL should always provided either by URL query, by setting a JavaScript variable or a value passed to function.
// This movie is played if a movie is not specified which is considered an error condition.
//
// If your default movie is not in the same folder as the FLV Player then you can change this to any URL
//     External Default Movie Example:  var dFlvUrl = 'http://myserver.com/movies/MovieNotFound.flv';
//
// If your default movie is in the same folder as the FLV player then just use the dFlvMovieName value.
//     Default Movie in FLV Player folder: var dFlvUrl = vFlvPlayerBaseUrl + dFlvMovieName;
//
var dFlvUrl = vFlvPlayerBaseUrl + dFlvMovieName; 


//
// Force vars to have global scope
//
// Use staging vars to preserve any existing values
//
//
var sFlvUrl = vFlvUrl; 
var sFlvWidth = vFlvWidth;
var sFlvHeight = vFlvHeight;
var sFlvLinkText = vFlvLinkText;
var sFlv_showFs = vFlv_showFs;
var sFlv_autoStart = vFlv_autoStart;
var sFlvErrMsgDisabled = vFlvErrMsgDisabled;

// Force global scope and re-assign staging values
var vFlvUrl = sFlvUrl; 
var vFlvWidth = sFlvWidth;
var vFlvHeight = sFlvHeight;
var vFlvLinkText = sFlvLinkText;
var vFlv_showFs = sFlv_showFs;
var vFlv_autoStart = sFlv_autoStart;

// Always load script with error messages disabled
var vFlvErrMsgDisabled = '1';

// Give Error Messages Global scope
var vFlvErrMsg = '';
var vFlvUrl_ErrMsg = '';
var vFlvWidth_ErrMsg = '';
var vFlvHeight_ErrMsg = '';
var vFlvLinkText_ErrMsg = '';
var vFlv_showFs_ErrMsg = '';
var vFlv_autoStart_ErrMsg = '';


// 
// vFlvErrLvl - number between 0 and 6 (or more). Value return by this function.
//		define var outside of function to give global 
//
// 0 == no error
// 1 == warning: silent
// 2 == warning: notify
// 3 ==    halt: clear all vars
// 4 ==    halt: notify and clear all vars
// 5 ==   abend: silent
// 6 ==   abend: alert dialog
//
var vFlvErrLvl = 0;


// define global vars for parameter source count 
var vFlvScriptVars = 0;
var vFlvQueryVars = 0;
var vFlvDefaultVars = 0;
var vFlvErrCnt = 0;
var vFlvCallInCnt = 0;

// Global var for state of function call-in
var vFlvCallInActive = 0;


// Global values that will be available to blogger
var vFlvPopUrl = '';
var vFlvPopParams = '';
var vFlvPopLinkBegin = '';
var vFlvPopLinkEnd = '';
var vFlvPopLink = '';
var vFlvEmbeddedPlayer = ''


// -----------------------------------------------------------------------------
// End of global variable definitions
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------







// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin Flash detection variables and functions
// -----------------------------------------------------------------------------

//
// Script to test for required version of Flash
//
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -----------------------------------------------------------------------------
// 


/* 
// This function needs to be defined in an external vbs script.
// Visual basic helper required to detect Flash Player ActiveX control version information
Function VBGetSwfVer(i)
  on error resume next
  Dim swControl, swVersion
  swVersion = 0
  
  set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
  if (IsObject(swControl)) then
    swVersion = swControl.GetVariable("$version")
  end if
  VBGetSwfVer = swVersion
End Function
//
*/


// Detect Client Browser type
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
jsVersion = 1.1;

// JavaScript helper required to detect Flash Player PlugIn version information
function JSGetSwfVer(i){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
      		var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			descArray = flashDescription.split(" ");
			tempArrayMajor = descArray[2].split(".");
			versionMajor = tempArrayMajor[0];
			versionMinor = tempArrayMajor[1];
			if ( descArray[3] != "" ) {
				tempArrayMinor = descArray[3].split("r");
			} else {
				tempArrayMinor = descArray[4].split("r");
			}
      		versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
            flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
      	} else {
			flashVer = -1;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	// Can't detect in all other cases
	else {
		
		flashVer = -1;
	}
	return flashVer;
} 


// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 
{
 	reqVer = parseFloat(reqMajorVer + "." + reqRevision);
   	// loop backwards through the versions until we find the newest version	
	for (i=25;i>0;i--) {	
		if (isIE && isWin && !isOpera) {
			versionStr = VBGetSwfVer(i);
		} else {
			versionStr = JSGetSwfVer(i);		
		}
		if (versionStr == -1 ) { 
			return false;
		} else if (versionStr != 0) {
			if(isIE && isWin && !isOpera) {
				tempArray         = versionStr.split(" ");
				tempString        = tempArray[1];
				versionArray      = tempString .split(",");				
			} else {
				versionArray      = versionStr.split(".");
			}
			versionMajor      = versionArray[0];
			versionMinor      = versionArray[1];
			versionRevision   = versionArray[2];
			
			versionString     = versionMajor + "." + versionRevision;   // 7.0r24 == 7.24
			versionNum        = parseFloat(versionString);
        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
			if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) {
				return true;
			} else {
				return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : false );	
			}
		}
	}	
}



//
// Check status of Flash Player
//
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);

// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Location visited after installation is complete if installation is required
var MMredirectURL = window.location;

// Stored value of document title used by the installation process to close the window that started the installation process
// This is necessary to remove browser windows that will still be utilizing the older version of the player after installation is complete
// DO NOT MODIFY THE FOLLOWING TWO LINES
//document.title = document.title.slice(0, 47) + " - Flash Player Installation";

//document.title = "YoCar";
var MMdoctitle = document.title;


// -----------------------------------------------------------------------------
//    End Flash detection variables and functions
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------




// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin URL query detection
// -----------------------------------------------------------------------------

/*
Webmonkey GET Parsing Module
Language: JavaScript 1.0
The parsing of GET queries is fundamental
to the basic functionality of HTTP/1.0.
This module parses GET with JavaScript 1.0.
Source: Webmonkey Code Library
(http://www.hotwired.com/webmonkey/javascript/code_library/)
Author: Patrick Corcoran
Author Email: patrick@taylor.org
*/

function createRequestObject() {
  FORM_DATA = new Object();
    // The Object ("Array") where our data will be stored.
  separator = ',';
    // The token used to separate data from multi-select inputs
  query = '' + this.location;
  qu = query
    // Get the current URL so we can parse out the data.
    // Adding a null-string '' forces an implicit type cast
    // from property to string, for NS2 compatibility.
  query = query.substring((query.indexOf('?')) + 1);
    // Keep everything after the question mark '?'.
  if (query.length < 1) { return false; }  // Perhaps we got some bad data?
  keypairs = new Object();
  numKP = 1;
    // Local vars used to store and keep track of name/value pairs
    // as we parse them back into a usable form.
  while (query.indexOf('&') > -1) {
    keypairs[numKP] = query.substring(0,query.indexOf('&'));
    query = query.substring((query.indexOf('&')) + 1);
    numKP++;
      // Split the query string at each '&', storing the left-hand side
      // of the split in a new keypairs[] holder, and chopping the query
      // so that it gets the value of the right-hand string.
  }
  keypairs[numKP] = query;
    // Store what's left in the query string as the final keypairs[] data.<
  for (i in keypairs) {
    keyName = keypairs[i].substring(0,keypairs[i].indexOf('='));
      // Left of '=' is name.
    keyValue = keypairs[i].substring((keypairs[i].indexOf('=')) + 1);
      // Right of '=' is value.
    while (keyValue.indexOf('+') > -1) {
      keyValue = keyValue.substring(0,keyValue.indexOf('+')) + ' ' + keyValue.substring(keyValue.indexOf('+') + 1);
        // Replace each '+' in data string with a space.
    }
    keyValue = unescape(keyValue);
      // Unescape non-alphanumerics
    if (FORM_DATA[keyName]) {
      FORM_DATA[keyName] = FORM_DATA[keyName] + separator + keyValue;
        // Object already exists, it is probably a multi-select input,
        // and we need to generate a separator-delimited string
        // by appending to what we already have stored.
    } else {
      FORM_DATA[keyName] = keyValue;
        // Normal case: name gets value.
    }
  }
  return FORM_DATA;
}
FORM_DATA = createRequestObject();
  // This is the array/object containing the GET data.
  // Retrieve information with 'FORM_DATA [ key ] = value'.


function FlvIsNaN(tmpFlvNum) { 
	return (tmpFlvNum != ((tmpFlvNum - 0) + '')); 
}



// -----------------------------------------------------------------------------
//    End URL query detection
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------



// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin Variable Detection
// -----------------------------------------------------------------------------

function FlvDetectVars() {


	//   Defined outside of function for global scope
	//
	// var vFlvErrMsg = '';
	// var vFlvUrl_ErrMsg = '';
	// var vFlvWidth_ErrMsg = '';
	// var vFlvHeight_ErrMsg = '';
	// var vFlvLinkText_ErrMsg = '';
	// var vFlv_showFs_ErrMsg = '';
	// var vFlv_autoStart_ErrMsg = '';
	//
	// vFlvErrLvl - number between 0 and 6 (or more). Value return by this function.
	// 0 == no error
	// 1 == warning: silent
	// 2 == warning: notify
	// 3 ==    halt: clear all vars
	// 4 ==    halt: notify and clear all vars
	// 5 ==   abend: silent
	// 6 ==   abend: alert dialog
	// var vFlvErrLvl = 0;
	//
	// define global vars for parameter source count 
	// var vFlvScriptVars = 0;
	// var vFlvQueryVars = 0;
	// var vFlvDefaultVars = 0;
	// var vFlvErrCnt = 0;
	
	//
	// Test for vFlvUrl
	//
	if ( (typeof vFlvUrl=='undefined') || (vFlvUrl == null) || (vFlvUrl == '') ) {  //|| (vFlvUrl.toLowerCase().substring(0,7) != 'http://') ) {
		if ( ( typeof FORM_DATA['file']=='undefined') || (FORM_DATA['file']=='') ) {
			//vFlvUrl = '';
			vFlvUrl_ErrMsg += ' ** A movie URL was not specified. <br>\n';
			if ( (typeof dFlvUrl=='undefined') || (dFlvUrl == '') || (dFlvUrl.toLowerCase().substring(0,7) == 'http://') ) {
				vFlvUrl_ErrMsg += ' ** No default movie value found. <br>\n';
				if (vFlvErrLvl < 5) { vFlvErrLvl = 4; }
				++vFlvErrCnt;
			}
			else {
				vFlvUrl = dFlvUrl;
				vFlvUrl_ErrMsg += ' ** Using default movie. <br>\n';
				if (vFlvErrLvl < 3) { vFlvErrLvl = 2; }
				++vFlvErrCnt;
				++vFlvDefaultVars;
			}
		}
		else {
			vFlvUrl=FORM_DATA['file'];
			++vFlvQueryVars
		}
	}
	else {
		++vFlvScriptVars
	}

		
	//
	// Test for vFlvWidth
	//
	if ( (typeof vFlvWidth=='undefined') || (vFlvWidth == null) || (vFlvWidth == '') || (parseFloat(vFlvWidth) < 50 ) ) {
		if ( (typeof FORM_DATA['width']=='undefined') || (FORM_DATA['width']=='') || (parseFloat(FORM_DATA['width']) < 50 ) ) {
			//vFlvWidth = '';
			vFlvWidth_ErrMsg += ' ** The movie width was not specified. <br>\n';
			if ( (typeof dFlvWidth=='undefined') || (dFlvWidth == '') || (parseFloat(dFlvWidth) < 50 ) ) {
				vFlvWidth_ErrMsg += ' ** No default movie width found. <br>\n';
				if (vFlvErrLvl < 5) { vFlvErrLvl = 4; }
				++vFlvErrCnt;
		   }
			else {
				vFlvWidth = dFlvWidth;
				vFlvWidth_ErrMsg += ' ** Using default movie width. <br>\n';
				if (vFlvErrLvl < 3) { vFlvErrLvl = 2; }
				++vFlvErrCnt;
				++vFlvDefaultVars;
			}
		} 
		else {
			vFlvWidth=FORM_DATA['width'];
			++vFlvQueryVars
		}
	}
	else {
		++vFlvScriptVars
	}

		
	//
	// Test for vFlvHeight
	//
	if ( (typeof vFlvHeight=='undefined') || (vFlvHeight == null) || (vFlvHeight == '') || (parseFloat(vFlvHeight) < 70 ) ) {
		if ( (typeof FORM_DATA['height']=='undefined') || (FORM_DATA['height']=='') || (parseFloat(FORM_DATA['height']) < 70 ) ) {
			//vFlvHeight = '';
			vFlvHeight_ErrMsg += ' ** The movie height was not specified. <br>\n';
			if ( (typeof dFlvHeight == 'undefined') || (dFlvHeight == '') || (parseFloat(dFlvHeight) < 70 ) ) {
				vFlvHeight_ErrMsg += ' ** No default movie height found. <br>\n';
				if (vFlvErrLvl < 5) { vFlvErrLvl = 4; }
				++vFlvErrCnt;
			}
			else {
				vFlvHeight = dFlvHeight;
				vFlvHeight_ErrMsg += ' ** Using default movie height. <br>\n';
				if (vFlvErrLvl < 3) { vFlvErrLvl = 2; }
				++vFlvErrCnt;
				++vFlvDefaultVars;
			}
		} 
		else {
			vFlvHeight=FORM_DATA['height'];
			++vFlvQueryVars
		}
	}
	else {
		++vFlvScriptVars
	}


	//
	// Test for vFlvLinkText
	//
	if ( (typeof vFlvLinkText=='undefined') || (vFlvLinkText == null) || (vFlvLinkText == '') ) {
		if ( (typeof FORM_DATA['linktext']=='undefined') || (FORM_DATA['linktext']=='') ) {
			//vFlvLinkText = '';
			vFlvLinkText_ErrMsg += ' ** Text for movie link not specified. <br>\n';
			if ( (typeof dFlvLinkText == 'undefined') || (dFlvLinkText == '') ) {
				vFlvLinkText_ErrMsg += ' ** No default link text found. <br>\n';
				vFlvLinkText_ErrMsg += ' ** The \'vFlvPopLink\' will not be available. <br>\n';
				if (vFlvErrLvl < 3) { vFlvErrLvl = 2; }
				++vFlvErrCnt;
			}
			else {
				vFlvLinkText = dFlvLinkText;
				vFlvLinkText_ErrMsg += ' ** Using default text for movie link. <br>\n';
				if (vFlvErrLvl < 2) { vFlvErrLvl = 1; }
				++vFlvErrCnt;
				++vFlvDefaultVars;
			}
		} 
		else {
			vFlvLinkText=FORM_DATA['linktext'];
			++vFlvQueryVars
		}
	}
	else {
		++vFlvScriptVars
	}


	//
	// Test for vFlv_autoStart
	//
	if ( (typeof vFlv_autoStart=='undefined') || (vFlv_autoStart == null) || (vFlv_autoStart == '') ) {
		if ( (typeof FORM_DATA['autoStart']=='undefined') || (FORM_DATA['vFlv_autoStart']=='') ) {
			//vFlv_autoStart = '';
			vFlv_autoStart_ErrMsg += ' ** Movie autostart not specified. <br>\n';
			if ( (typeof dFlvLinkText == 'undefined') || (dFlvLinkText == '') ) {
				vFlv_autoStart_ErrMsg += ' ** No default value for movie autostart found. <br>\n';
				// If there is no default value for autostart then assume '0'
				if (vFlvErrLvl < 2) { vFlvErrLvl = 1; }
				vFlv_autoStart =  '0';  
				++vFlvErrCnt;
			}
			else {
				vFlv_autoStart =  dFlv_autoStart;
				vFlv_autoStart_ErrMsg += ' ** Using default value for movie autostart. <br>\n';
				if (vFlvErrLvl < 2) { vFlvErrLvl = 1; }
				++vFlvErrCnt;
				++vFlvDefaultVars;
			}
		} 
		else {
			vFlv_autoStart=FORM_DATA['autoStart'];
			++vFlvQueryVars
		}
	}
	else {
		++vFlvScriptVars
	}

	// Not sure what this parameter does so we will always set it to true
	vFlv_showFs = 'true';
	
	// Combine all error messages
	vFlvErrMsg += vFlvUrl_ErrMsg + vFlvWidth_ErrMsg + vFlvHeight_ErrMsg + vFlvLinkText_ErrMsg + vFlv_autoStart_ErrMsg + vFlv_showFs_ErrMsg;

	return vFlvErrLvl;
}
// -----------------------------------------------------------------------------
//    End Variable Detection
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------





// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin Display Errors
// -----------------------------------------------------------------------------
function FlvDisplayErrors(tmpFlvErrLvl,tmpFlvErrMsg) {
	
	// vFlvErrLvl - number between 0 and 6 (or more). Value return by this function.
	// 0 == no error
	// 1 == warning: silent
	// 2 == warning: notify
	// 3 ==    halt: clear all vars
	// 4 ==    halt: notify and clear all vars
	// 5 ==   abend: silent
	// 6 ==   abend: alert dialog

	var tmpFlvErrMsgDisplay = ''

	if (vFlvErrMsgDisabled != '1') {

		var tmpFlvWarnMsg = 'The movie may not display properly. <br>\n';
		var tmpFlvHaltMsg = 'The movie is not available. <br>\n';
		var tmpFlvAbendMsg = 'A serious error occurred while loading movie parameters. <br>\n The movie is not available. <br>\n';
	
	
		if ( tmpFlvErrLvl == 2 ) tmpFlvErrMsgDisplay += '<p>' + tmpFlvWarnMsg + tmpFlvErrMsg + '</p>'; 
		if ( tmpFlvErrLvl == 4 ) tmpFlvErrMsgDisplay += '<p>' + tmpFlvHaltMsg + tmpFlvErrMsg + '</p>'; 
		if ( tmpFlvErrLvl == 6 ) { 
			alert('ABEND: Abnormal termination while configuring movie.\n\n' + tmpFlvAbendMsg + tmpFlvErrMsg);
			tmpFlvErrMsgDisplay += '<p>' + tmpFlvAbendMsg + tmpFlvErrMsg + '</p>'; 
		}
	}
	
	return tmpFlvErrMsgDisplay;
	
}
// -----------------------------------------------------------------------------
//    End Display Errors
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------



// -----------------------------------------------------------------------------
//    Begin Loading standard function inputs
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//
//
function FlvLoadFunctionInputs(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {
	
		var tmpFlvValueChange = 0;
	
		function FlvNewValue(tmpFlvTestValue,tmpFlvOldValue) {
			var tmpFlvNewValue = 0;
			var tmpFlvNewValueExists = ( (typeof tmpFlvTestValue != 'undefined') && (tmpFlvTestValue != null) && (tmpFlvTestValue != '') ) ;
			if ( (tmpFlvNewValueExists) && (tmpFlvTestValue != tmpFlvOldValue) ) tmpFlvNewValue = 1;
			return tmpFlvNewValue;
			
		}

		if ( FlvNewValue(tmpFlv_autoStart,vFlv_autoStart) ) vFlv_autoStart = tmpFlv_autoStart;
		if ( FlvNewValue(tmpFlvUrl,vFlvUrl) ) vFlvUrl = tmpFlvUrl;
		if ( FlvNewValue(tmpFlvWidth,vFlvWidth) ) vFlvWidth = tmpFlvWidth;
		if ( FlvNewValue(tmpFlvHeight,vFlvHeight) ) vFlvHeight = tmpFlvHeight;
		if ( FlvNewValue(tmpFlvLinkText,vFlvLinkText) ) vFlvLinkText = tmpFlvLinkText;
		if ( FlvNewValue(tmpFlvErrMsgDisabled,vFlvErrMsgDisabled) ) vFlvErrMsgDisabled = tmpFlvErrMsgDisabled;

		// The FlvDetectVars() function loads and tests required vars
		//if ( tmpFlvValueChange ) 
		var tmpErrLvl = FlvDetectVars();

}

//
//
// -----------------------------------------------------------------------------
//    End Loading standard function inputs
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------





// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin Functions that create values for use on content/blog page
// -----------------------------------------------------------------------------
//
// 
	//   Defined outside of function for global scope
	//
	// var vFlvErrMsg = '';
	// var vFlvUrl_ErrMsg = '';
	// var vFlvWidth_ErrMsg = '';
	// var vFlvHeight_ErrMsg = '';
	// var vFlvLinkText_ErrMsg = '';
	// var vFlv_showFs_ErrMsg = '';
	// var vFlv_autoStart_ErrMsg = '';
	// vFlvErrLvl - number between 0 and 6 (or more). Value return by this function.
	// 0 == no error
	// 1 == warning: silent
	// 2 == warning: notify
	// 3 ==    halt: clear all vars
	// 4 ==    halt: notify and clear all vars
	// 5 ==   abend: silent
	// 6 ==   abend: alert dialog
	// var vFlvErrLvl = 0;

// Function to create width value for Popup window
function FlvWinWidth_Core(tmpFlvWidth) {
	var tmpFlvWinWidth = parseFloat(tmpFlvWidth)+84;
	return tmpFlvWinWidth;
};


// Function to create height value for Popup window
function FlvWinHeight_Core(tmpFlvHeight) {
	var tmpFlvWinHeight = parseFloat(tmpFlvHeight)+20+90;
	return tmpFlvWinHeight;
};


// Function to create actual width of SWF FLV player
function FlvAdjWidth_Core(tmpFlvWidth) {
	var tmpFlvAdjWidth = parseFloat(tmpFlvWidth);
	return tmpFlvAdjWidth;
};


// Function to create height value for Popup window
function FlvAdjHeight_Core(tmpFlvHeight) {
	var tmpFlvAdjHeight = parseFloat(tmpFlvHeight)+20;
	return tmpFlvAdjHeight;
};


// 
// Function to create basic Popup URL
//   This URL can be used in a normal link
//   EXAMPLE USAGE: FlvPop
function FlvPopUrl_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight) {
	var tmpFlvAdjWidth = FlvAdjWidth_Core(tmpFlvWidth);
	var tmpFlvAdjHeight = FlvAdjHeight_Core(tmpFlvHeight);
	var tmpFlvPopUrl = '';
	tmpFlvPopUrl += vFlvPopPlayerUrl + '?';  // vFlvPopPlayerUrl should already be defined
	//tmpFlvPopUrl += 'file=' + tmpFlvUrl + '&width=' + tmpFlvAdjWidth + '&height=' +  tmpFlvAdjHeight + '"';
	tmpFlvPopUrl += 'file=' + tmpFlvUrl + '&width=' + tmpFlvWidth + '&height=' +  tmpFlvHeight + '"';
	return tmpFlvPopUrl;
};


// 
// Function to create basic Popup URL
//   This URL can be used in a normal link
//   EXAMPLE USAGE: FlvPop
function FlvLinkUrl_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight) {
	var tmpFlvAdjWidth = FlvAdjWidth_Core(tmpFlvWidth);
	var tmpFlvAdjHeight = FlvAdjHeight_Core(tmpFlvHeight);
	var tmpFlvLinkUrl = '';
	tmpFlvLinkUrl += vFlvPlayerUrl + '?';  // vFlvPlayerUrl should already be defined
	//tmpFlvLinkUrl += 'file=' + tmpFlvUrl + '&width=' + tmpFlvAdjWidth + '&height=' +  tmpFlvAdjHeight + '"';
	tmpFlvLinkUrl += 'file=' + tmpFlvUrl + '&width=' + tmpFlvWidth + '&height=' +  tmpFlvHeight + '"';
	return tmpFlvLinkUrl;
};


// 
// Function to create onclick Popup parameters
//   used with the onclick event to create popup window
//   EXAMPLE USAGE: onclick="FlvPopParams_Core('360','240');"
function FlvPopParams_Core(tmpFlvWidth,tmpFlvHeight) {
	// Define onclick commands for FLV player popup
	var tmpFlvWinWidth = FlvWinWidth_Core(tmpFlvWidth);
	var tmpFlvWinHeight = FlvWinHeight_Core(tmpFlvHeight);
	var tmpFlvPopParams = '';
	tmpFlvPopParams += 'window.open(this.href,\'vFlvPlayer\',\'left=20,top=20,width=';
	tmpFlvPopParams += tmpFlvWinWidth + ',height=';
	tmpFlvPopParams += tmpFlvWinHeight + ',toolbar=0,location=0,resizable=1,scrollbars=1,status=0,menubar=0,directories=0\');return false;';
	return tmpFlvPopParams;
};


// The vFlvLinkBegin and vFlvLinkEnd vars are commonly used to create links around images or text
function FlvLinkBegin_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight) {
	var tmpFlvLinkUrl = FlvLinkUrl_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight);
	//var tmpFlvPopParams = FlvPopParams_Core(tmpFlvWidth,tmpFlvHeight);
	var tmpFlvLinkBegin = '';
	//tmpFlvPopLinkBegin += FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg)
	tmpFlvLinkBegin += '<a href="' + tmpFlvLinkUrl + '" target="_blank">';
	return tmpFlvLinkBegin;
};


// Define the opening link tag
// This tag along with the vFlvPopLinkEnd tag are useful for applying links to custom objects
// The vFlvPopLinkBegin and vFlvPopLinkBegin vars are commonly used to create links around images
function FlvPopLinkBegin_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight) {
	var tmpFlvPopUrl = FlvPopUrl_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight);
	var tmpFlvPopParams = FlvPopParams_Core(tmpFlvWidth,tmpFlvHeight);
	var tmpFlvPopLinkBegin = '';
	//tmpFlvPopLinkBegin += FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg)
	tmpFlvPopLinkBegin += '<a href="' + tmpFlvPopUrl + '" onclick="' + tmpFlvPopParams + '" target="_blank">';
	return tmpFlvPopLinkBegin;
};

function FlvPopLinkEnd_Core() {
	var tmpFlvPopLinkEnd = '';
	tmpFlvPopLinkEnd += '</a>';
	return tmpFlvPopLinkEnd;
};

function FlvLinkEnd_Core() {
	var tmpFlvLinkEnd = '';
	tmpFlvLinkEnd += '</a>';
	return tmpFlvLinkEnd;
};


function FlvPopLink_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText) {
	var tmpFlvPopLinkBegin = FlvPopLinkBegin_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight);
	var tmpFlvPopLinkEnd = FlvPopLinkEnd_Core();
	var tmpFlvPopLink = '';
	tmpFlvPopLink += tmpFlvPopLinkBegin + tmpFlvLinkText + tmpFlvPopLinkEnd;
	return tmpFlvPopLink;
};


function FlvLink_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText) {
	var tmpFlvLinkBegin = FlvLinkBegin_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight);
	var tmpFlvLinkEnd = FlvLinkEnd_Core();
	var tmpFlvLink = '';
	tmpFlvLink += tmpFlvLinkBegin + tmpFlvLinkText + tmpFlvLinkEnd;
	return tmpFlvLink;
};


function FlvPopImgLink_Core(tmpFlvImgUrl,tmpFlvImgBorder,tmpFlvImgParams) {
	var tmpFlvImgTag = ''
	tmpFlvImgBorder = Math.round(parseFloat(tmpFlvImgBorder));
	if (FlvIsNaN(tmpFlvImgBorder)) tmpFlvImgBorder = 0;
	if (tmpFlvImgParams.length) {
		if (tmpFlvImgParams.charAt(0) != ' ') tmpFlvImgParams = ' ' + tmpFlvImgParams;
		//if (tmpFlvImgParams.charAt(tmpFlvImgParams.length - 1) != ' ') tmpFlvImgParams += ' ';
	} else { 
		tmpFlvImgParams = '';
	}
	tmpFlvImgTag += '<img src="' + tmpFlvImgUrl + '" border="' + tmpFlvImgBorder + tmpFlvImgParams + '>';
	tmpFlvPopImgLink = FlvPopLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,tmpFlvImgTag)
	return tmpFlvPopImgLink;
};


function FlvImgLink_Core(tmpFlvImgUrl,tmpFlvImgBorder,tmpFlvImgParams) {
	var tmpFlvImgTag = ''
	tmpFlvImgBorder = Math.round(parseFloat(tmpFlvImgBorder));
	if (FlvIsNaN(tmpFlvImgBorder)) tmpFlvImgBorder = 0;
	if (tmpFlvImgParams.length) {
		if (tmpFlvImgParams.charAt(0) != ' ') tmpFlvImgParams = ' ' + tmpFlvImgParams;
		//if (tmpFlvImgParams.charAt(tmpFlvImgParams.length - 1) != ' ') tmpFlvImgParams += ' ';
	} else { 
		tmpFlvImgParams = '';
	}
	tmpFlvImgTag += '<img src="' + tmpFlvImgUrl + '" border="' + tmpFlvImgBorder + tmpFlvImgParams + '>';
	tmpFlvImgLink = FlvLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,tmpFlvImgTag)
	return tmpFlvImgLink;
};



//
//
// -----------------------------------------------------------------------------
//    End Functions that create values for use on content/blog page
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------





// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin function that returns embedded FLV player
// -----------------------------------------------------------------------------
//
//
// Populate the FlvEmbeddedPlayer with player object
//

function FlvEmbeddedPlayer_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {
	
	//FlvLoadFunctionInputs((tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);

	// This code was replaced by FlvLoadFunctionInputs();
	//
	//if ( (typeof tmpFlv_autoStart != 'undefined') && (tmpFlv_autoStart != null) && (tmpFlv_autoStart != '') ) vFlv_autoStart = tmpFlv_autoStart;
	//if ( (typeof tmpFlvUrl != 'undefined') && (tmpFlvUrl != null) && (tmpFlvUrl != '') ) vFlvUrl = tmpFlvUrl;
	//if ( (typeof tmpFlvWidth != 'undefined') && (tmpFlvWidth != null) && (tmpFlvWidth != '') ) vFlvWidth = tmpFlvWidth;
	//if ( (typeof tmpFlvHeight != 'undefined') && (tmpFlvHeight != null) && (tmpFlvHeight != '') ) vFlvHeight = tmpFlvHeight;

	//
	// vFlvLinkText = 'Play Video'
	// vFlv_showFs = FORM_DATA['showFs'];

	// The FlvDetectVars() function loads and tests required vars
	var tmpErrLvl = FlvDetectVars();

	var tmpFlvEmbeddedPlayer = '';

	// stop if error level is 5 or higher
	if (tmpErrLvl < 5) {

		// Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
		if ( hasProductInstall && !hasReqestedVersion ) {
	
		    tmpFlvEmbeddedPlayer = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    			+ 'width="550" height="200"'
		    	+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
		    + '<param name="movie" value="playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=ActiveX&MMdoctitle='+MMdoctitle+'" />'
		    + '<param name="quality" value="high" /><param name="bgcolor" value="#3A6EA5" />'
	    	+ '<embed src="playerProductInstall.swf?MMredirectURL='+MMredirectURL+'&MMplayerType=PlugIn" quality="high" bgcolor="#3A6EA5" '
		    + 'width="550" height="300" name="detectiontest" aligh="middle"'
		    + 'play="true"'
		    + 'loop="false"'
		    + 'quality="high"'
			+ 'allowScriptAccess="sameDomain"'
		    + 'type="application/x-shockwave-flash"'
		    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
		    + '<\/embed>'
		    + '<\/object>';
	    	//document.write(productInstallOETags);   // embed the Flash Product Installation SWF


		} else if (hasReqestedVersion) {  // if we've detected an acceptable version
			if (tmpErrLvl < 3) {
				tmpFlvEmbeddedPlayer = '';
				tmpFlvEmbeddedPlayer += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '
					+ 'width="' + vFlvAdjWidth + '" '
					+ 'height="' + vFlvAdjHeight + '" '
					+ 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">'
					+ '<param name="movie" '
						+ 'value="' + vFlvPlayerSwfUrl 
						+ '?file=' + vFlvUrl 
						+ '&showFs=' + vFlv_showFs 
						+ '&autoStart=' + vFlv_autoStart + '" />'
					+ '<param name="quality" value="high" />'
					+ '<param name="wmode" value="transparent">'
					+ '<embed '
						+ 'src="' + vFlvPlayerSwfUrl 
						+ '?file=' + vFlvUrl 
						+ '&showFs=' + vFlv_showFs 
						+ '&autoStart=' + vFlv_autoStart + '" '
						+ 'quality="high" width="' + vFlvAdjWidth + '" '
						+ 'height="' + vFlvAdjHeight + '" '
						+ 'wmode="transparent" '
						+ 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
				+ '<\/object>'
			}
		} else {  // flash is too old or we can't detect the plugin
			tmpFlvEmbeddedPlayer = ''
			tmpFlvEmbeddedPlayer += 'This content requires the Macromedia Flash Player version 8 or later. '
				+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
			//document.write(alternateContent);  // insert non-flash content
		}

	}

	tmpFlvEmbeddedPlayer += FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg);
	
	return tmpFlvEmbeddedPlayer;

}

//
//
// -----------------------------------------------------------------------------
//    End function that returns embedded FLV player
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------




// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin populating variables for use in content/blog 
// -----------------------------------------------------------------------------
//
//

function FlvLoadVars_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	//FlvLoadFunctionInputs((tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);

	// This code was replaced by FlvLoadFunctionInputs();
	//
	//if ( (typeof tmpFlv_autoStart != 'undefined') && (tmpFlv_autoStart != null) && (tmpFlv_autoStart != '') ) vFlv_autoStart = tmpFlv_autoStart;
	//if ( (typeof tmpFlvUrl != 'undefined') && (tmpFlvUrl != null) && (tmpFlvUrl != '') ) vFlvUrl = tmpFlvUrl;
	//if ( (typeof tmpFlvWidth != 'undefined') && (tmpFlvWidth != null) && (tmpFlvWidth != '') ) vFlvWidth = tmpFlvWidth;
	//if ( (typeof tmpFlvHeight != 'undefined') && (tmpFlvHeight != null) && (tmpFlvHeight != '') ) vFlvHeight = tmpFlvHeight;
	
	//vFlvErrLvl = FlvDetectVars();
	
	vFlvPopUrl = '';
	vFlvPopParams = '';
	vFlvPopLinkBegin = '';
	vFlvPopLinkEnd = '';
	vFlvPopLink = '';
	vFlvEmbeddedPlayer = ''

	if (vFlvErrLvl < 3) {
		vFlvWinWidth = FlvWinWidth_Core(vFlvWidth); // Width of popup window
		vFlvWinHeight = FlvWinHeight_Core(vFlvHeight); // Height of popup window
		vFlvAdjWidth = FlvAdjWidth_Core(vFlvWidth); // Width of player object
		vFlvAdjHeight = FlvAdjHeight_Core(vFlvHeight); // Height of player object

		// URL to FLV Player (w/necessary parameters)
		// can be used via document.write(); in blog post
		vFlvPopUrl = FlvPopUrl_Core(vFlvUrl,vFlvWidth,vFlvHeight);

		// Define variable that can be used in the onclick event to create popup window
		vFlvPopParams = FlvPopParams_Core(vFlvWinWidth,vFlvWinHeight);

		// Define opening link tag -- can be used to link images to popup
		vFlvPopLinkBegin = '';
		vFlvPopLinkBegin += FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg); // add error message before link
		vFlvPopLinkBegin += FlvPopLinkBegin_Core(vFlvUrl,vFlvWidth,vFlvHeight);

		// Define closing link tag -- can be used to link images to popup
		vFlvPopLinkEnd = FlvPopLinkEnd_Core();

		// Define simple text link using the LinkText defined in blog post
		vFlvPopLink = FlvPopLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,vFlvLinkText);


		// URL to FLV Player (w/necessary parameters)
		// can be used via document.write(); in blog post
		vFlvLinkUrl = FlvLinkUrl_Core(vFlvUrl,vFlvWidth,vFlvHeight);

		// Define opening link tag -- can be used to link images to popup
		vFlvLinkBegin = '';
		vFlvLinkBegin += FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg); // add error message before link
		vFlvLinkBegin += FlvLinkBegin_Core(vFlvUrl,vFlvWidth,vFlvHeight);

		// Define closing link tag -- can be used to link images to popup
		vFlvLinkEnd = FlvLinkEnd_Core();

		// Define simple text link using the LinkText defined in blog post
		vFlvLink = FlvLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,vFlvLinkText);


		// Define tags for embedded FLV player object
		vFlvEmbeddedPlayer= FlvEmbeddedPlayer_Core(vFlvUrl,vFlvWidth,vFlvHeight,vFlvLinkText,vFlv_autoStart);

	} else {
		vFlvPopLinkBegin = FlvDisplayErrors(vFlvErrLvl,vFlvErrMsg); // add error message before link
		vFlvPopLink = vFlvPopLinkBegin;
	}
}

//
//
// -----------------------------------------------------------------------------
//    End populating variables for use in content/blog 
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------






// -----------------------------------------------------------------------------
//    Begin user function call begin/end
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//
//
function FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvLoadFunctionInputs(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);

	// The FlvDetectVars() function loads and tests required vars
	//var tmpErrLvl = FlvDetectVars();

	if (!vFlvCallInActive) {

		vFlvCallInActive = 1;


	}
}




//
//
function FlvCallInWrapperEnd() {

	if (!vFlvCallInActive) {
		FlvLoadVars(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);


		vFlvCallInActive = 0;
	}
}

//
//
// -----------------------------------------------------------------------------
//    End user function call in/out
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------







// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
//    Begin Functions that document.write(); values to the content/blog page
// -----------------------------------------------------------------------------
//
// 

//
// Function to write values to page
//
function FlvWriteValue(tmpValue) {
		if (vFlvErrLvl < 3) document.write(tmpValue);
}

//
// Function prints embedded FLV player.
//
function FlvEmbeddedPlayer(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvEmbeddedPlayer = FlvEmbeddedPlayer_Core(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	FlvWriteValue(tmpFlvEmbeddedPlayer);
	FlvCallInWrapperEnd();
}

//
// Function prints width value for popup window.
//
function FlvWinWidth(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvWinWidth = FlvWinWidth_Core(vFlvWidth);
	FlvWriteValue(tmpFlvWinWidth);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvWinHeight(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvWinHeight = FlvWinHeight_Core(vFlvHeight);
	FlvWriteValue(tmpFlvWinHeight);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvAdjWidth(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvAdjWidth = FlvAdjWidth_Core(vFlvWidth);
	FlvWriteValue(tmpFlvAdjWidth);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvAdjHeight(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvAdjHeight = FlvAdjHeight_Core(vFlvHeight);
	FlvWriteValue(tmpFlvAdjHeight);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvPopParams(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvPopParams = FlvPopParams_Core(vFlvWidth,vFlvHeight);
	FlvWriteValue(tmpFlvPopParams);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvPopLinkBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvPopLinkBegin = FlvPopLinkBegin_Core(vFlvUrl,vFlvWidth,vFlvHeight);
	FlvWriteValue(tmpFlvPopLinkBegin);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvPopLinkEnd(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvPopLinkEnd = FlvPopLinkEnd_Core();
	FlvWriteValue(tmpFlvPopLinkEnd);
	FlvCallInWrapperEnd();

}

//
// Function prints width value for popup window.
//
function FlvPopLink(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvPopLink = FlvPopLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,vFlvLinkText);
	FlvWriteValue(tmpFlvPopLink);
	FlvCallInWrapperEnd();

}

//
// Function prints link to standard player.
//
function FlvLink(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvLink = FlvLink_Core(vFlvUrl,vFlvWidth,vFlvHeight,vFlvLinkText);
	FlvWriteValue(tmpFlvLink);
	FlvCallInWrapperEnd();

}


//
// Function prints width value for popup window.
//
function FlvLoadVars(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvLoadVars = FlvLoadVars_Core();
	//FlvWriteValue(tmpFlvPopLink); // nothing to output
	FlvCallInWrapperEnd();


}

//
// Function prints width value for popup window.
//
function FlvSetVars(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled) {

	FlvCallInWrapperBegin(tmpFlvUrl,tmpFlvWidth,tmpFlvHeight,tmpFlvLinkText,tmpFlv_autoStart,tmpFlvErrMsgDisabled);
	var tmpFlvLoadVars = FlvLoadVars_Core();
	//FlvWriteValue(tmpFlvPopLink); // nothing to output
	FlvCallInWrapperEnd();


}

function FlvPopImgLink(tmpFlvImgUrl,tmpFlvImgBorder,tmpFlvImgParams) {

	FlvCallInWrapperBegin();
	var tmpFlvPopImgLink = '';
	if (vFlvErrLvl < 3) {
		tmpFlvPopImgLink = FlvPopImgLink_Core(tmpFlvImgUrl,tmpFlvImgBorder,tmpFlvImgParams);
		FlvWriteValue(tmpFlvPopImgLink);
	}
	FlvCallInWrapperEnd();
}

//
// 
// -----------------------------------------------------------------------------
//    End Functions that document.write(); values to the content/blog page
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------








FlvLoadVars();

var vFlvUrl = ''; 
var vFlvWidth = '';
var vFlvHeight = '';
var vFlvLinkText = '';
var vFlv_showFs = '';
var vFlv_autoStart = '';
var vFlvErrMsgDisabled = dFlvErrMsgDisabled;




// End JavaScript Document
-->



