﻿//<![CDATA[
function buildFlash(swfLocation,x,y,swfMode, variaveis){
var swfLocation, x, y, swfMode, variaveis;
if(variaveis == undefined || variaveis.length < 1) variaveis = '';
	document.write(' <object id="rev" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 	codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+x+'" height="'+y+'">');
	document.write('  <param name="movie" value="'+swfLocation+'.swf'+variaveis+'" />');
	document.write('  <param name="quality" value="best" />');
	document.write('  <param name="wmode" value="'+swfMode+'" />');
	document.write('  <param name="salign" value="c" />');
	document.write('  <embed src="'+swfLocation+'.swf'+variaveis+'" wmode="'+swfMode+'" quality="best" salign="c" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+x+'" height="'+y+'"></embed>');
	document.write(' </object>');
}

function resizeAndCenter(x,y){
var x, y, w, h;
top.resizeTo(x,y);
h = top.outerHeight || parent.document.documentElement.offsetHeight;
w = top.outerWidth || parent.document.documentElement.offsetWidth;
var wint = (screen.height - h) / 2;
var winl = (screen.width - w) / 2;
win = top.moveTo(wint,winl);
top.window.focus();
}
function MM_jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//]]>