// JavaScript Document
function IncludeJavaScript(jsFile)
{
  document.write('<script type="text/javascript" src="'
    + jsFile + '"></script>'); 
}

IncludeJavaScript('http://www.peopleonyourpage.com/testswf/AC_RunActiveContent.js');
IncludeJavaScript('http://www.peopleonyourpage.com/javascripts/float.js');
function hideDiv(id)
{
        
	document.getElementById(id).style.display = 'none';
}

function loadURL(str){
	window.open(str,'_self')
}
//
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 24;
///
AC_FL_RunContent = 0;
DetectFlashVer = 0;
/////
function initiatePlayer(xmlPath){
	if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
		if(hasRightVersion) {  // if we've detected an acceptable version
			// embed the flash movie
			AC_FL_RunContent(
				'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
				'width', '320',
				'height', '240',
				'src', 'http://www.peopleonyourpage.com/testswf/divZvideo.swf?PlaylistXMLPath='+xmlPath, 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'left', 'play', 'true', 'loop', 'true', 'scale', 'noscale', 'wmode', 'transparent', 'devicefont', 'false', 'id', 'divZvideo', 'bgcolor', '#333333', 'name', 'divZvideo', 'menu', 'false', 'allowScriptAccess','always', 'allowFullScreen','false', 'movie', 'http://www.peopleonyourpage.com/testswf/divZvideo?PlaylistXMLPath='+xmlPath, 'salign', ''
				); 
		} else {  // flash is too old or we can't detect the plugin
			var alternateContent = 'Alternate HTML content should be placed here.'
				+ 'This content requires the Adobe Flash Player.'
				+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
			document.write(alternateContent);  // insert non-flash content
		}
	}
	JSFX_FloatDiv("poypVideoHolder", -320, -240).floatIt();
}
