
var playerRef;var fileRef;function setMediaMov(anObj,filePath)
{if(navigator.vendor=="Apple Computer, Inc.")
{fileRef=filePath;window.open("safari.html?movie="+filePath,'quickTime','width=322,height=242,status=no,scrollbars=no,toolbar=no,menubar=no,location=no');firePlayList();}
else
{fileRef=filePath;var myHref;myHref=document.getElementById("movieHolder");myHref.style.display="";var sDivTag="<div id='divflash' name='divflash' style='position: absolute; visibility: visible; top:0px; left: 0px; z-index: 5; height: auto; width: 1px;padding: 5px; overflow: none;'>"
var sReplace="<object><embed src=\""+fileRef+"\"  style=\"position:absolute;top:10px;left:10px;width:320px;height:240px;z-index:50;\" id=\"movie1\" name=\"movie1\" autoplay=\"true\" controller=\""
sReplace+="\"  scale=\"tofit\" pluginspage=\"http://www.apple.com/quicktime/download/\"  enablejavascript=\"true\"></embed></object>";var sDivTagClose="</div>"
myHref.innerHTML=sDivTag+sReplace+sDivTagClose;}}
function setDisplayClosed()
{slideOutFlash(false);}
function setDisplayOpen()
{slideOutFlash(true);}
function slideOutFlash(slide)
{var embedFlash=document.getElementById('swf1');var myHref4=document.getElementById('movieHolder');var embedTag=document.getElementById('movie1');if(slide==true)
{embedFlash.style.width='160px';myHref4.style.width='320px';myHref4.style.height='240px';if(embedTag!=null)
{embedTag.style.width='320px';embedTag.style.height='240px';if(navigator.vendor=="Apple Computer, Inc.")
{myHref4.style.display='';}}}
else
{myHref4.style.width='1px';myHref4.style.height='1px';if(embedTag!=null)
{embedTag.style.width='1px';embedTag.style.height='1px';}
embedFlash.style.width='526px';if(navigator.vendor=="Apple Computer, Inc.")
{myHref4.style.display='none';}}}
function setDisplayKill()
{var myHref2;myHref2=document.getElementById("movieHolder");myHref2.style.display='none';myHref2.innerHTML="<object class=\"hiddenObjectForIE\" type=\"video/quicktime\" data=\""+fileRef+"\"  width=\"320\" height=\"240\">\r\n<param name=\"controller\" value=\"false\" >\r\n<param name=\"autoplay\" value=\"false\">\r\n</object>";}

