var w2;var h2;
var w=(screen.width-(260+screen.width*.08));
var sh=screen.height-290;
var flashvars = {
scale:"exactfit"
};		
var params = {
  menu: "false",quality:"high"
};
var attributes = {
  id: "mov",
  name: "mov"
};


function out(f){

document.write('<object codeBase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 classid=CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000 width="' + w + '" height="' + h + '" id="movie" ><param name="movie" value="' + f + '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><embed src="' + f + '" width="' + w + '" height="' + h + '" quality="high"  swLiveConnect="false" scale="exactfit" menu="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>');}
function out2(f){document.write('<iframe src="' + f + '" width="' + w + '" height="' + h + '" frameborder="0"  scrolling="no"></iframe>');}

	


	function refreshProgress()
{
	
	var bar = document.getElementById("bar");

	
var movie = getFlashMovieObject("mov");	
	

if(movie){

 bar.style.width=200-2*(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 
  {
    return document.getElementById(movieName);

  } 
}	
setInterval("refreshProgress()",50);

var loc="http://www.games2girls.com/";
function parts() {document.write('<ifr' + 'ame src="' + loc + 'iparts.php" frameborder="0" scrolling="no" height="200" width="90" ></ifr' + 'ame>');}
function tops() {document.write('<ifr' + 'ame src="' + loc + 'itop.php" frameborder="0" scrolling="no" height="90" width="728" ></ifr' + 'ame>');}
function rights() {document.write('<ifr' + 'ame src="' + loc + 'iright.php" frameborder="0" scrolling="no" height="600" width="160" ></ifr' + 'ame>');}
function recs() {document.write('<ifr' + 'ame src="' + loc + 'irec.php" frameborder="0" scrolling="no" height="210" width="105" style="margin-top:20px"></ifr' + 'ame>');}
function rects() {document.write('<ifr' + 'ame src="' + loc + 'irect.php" frameborder="0" scrolling="no" height="250" width="300" ></ifr' + 'ame>');}


