var w2;var h2;
var w=(screen.width-648);var h=w/1.50;
var z=screen.width/screen.height
if(z>(4/3)){h=(4*h)/(3*z);w=(4*w)/(3*z);}

function a(f)
{
if(w2>0){w=w2;h=h2;}
var s="" + f + "";
document.write('<object id="mov" codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 classid=CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000 width="648" height="480" id="movie" ><param name="allownetworking" value="internal"><param name="movie" value="' + s +  '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><param name="bgcolor" value="#dbfed8"><embed name="mov" src="' + s +  '" width="648" height="480" quality="high"  swLiveConnect="false" scale="exactfit" menu="true" type="application/x-shockwave-flash" allownetworking="internal" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>');
} 

function b(f)
{
if(w2>0){w=w2;h=h2;}
var s="" + f + "";
document.write('<object id="mov" codeBase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0" classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" width="648" height="480" id="movie" ><param name="allownetworking" value="internal"><param name="src" value="' + s +  '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><embed name="mov" src="' + s +  '" width="648" height="480" quality="high"  swLiveConnect="false" scale="exactfit" menu="true" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" allownetworking="internal"></embed></object>');
}

	function refreshProgress()
{var l=location.href.split('/')[2];

var bar1 = document.getElementById("bar1");var bar = document.getElementById("bar");
var movie = getFlashMovieObject("mov");	
	
if(movie){
	if(movie.PercentLoaded()<100){bar1.innerHTML=""}
  else{bar1.innerHTML="";}

 bar.style.width=6*(movie.PercentLoaded())+"px";
 }
}

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);
  } 
}	
setInterval("refreshProgress()",1)
