function addSWF(URL, WIDTH, HEIGHT, TRANSPARENT) {
	document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
	document.write (' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
	document.write (' width="'+ WIDTH +'" height="'+ HEIGHT +'">');
	document.write (' <param name="movie" value="'+ URL +'" />');
	document.write (' <param name="menu" value="false" />');
	document.write (' <param name="quality" value="high" />');

	if ( TRANSPARENT ) {
  		document.write (' <param name="Wmode" value="Transparent" />'); 
	}
	document.write (' <embed src="'+ URL +'" quality="high" ');
	if ( TRANSPARENT ) {
		document.write (' Wmode = "transparent" ');
	}
	document.write (' pluginspage="http://www.macromedia.com/go/getflashplayer" ');
	document.write (' type="application/x-shockwave-flash" width="'+ WIDTH +'" height="'+ HEIGHT +'"></embed> ');
	document.write (' </object>');
}

function GET_Request(str_request){
	try {
		var head = document.getElementsByTagName('head')[0];
		var scriptElement = document.createElement('script');
		scriptElement.type = 'text/javascript';
		scriptElement.src = str_request;
		head.appendChild(scriptElement);
		return true;
	}
	catch(e){
		alert('ERRO!!!\n\n Erro durante a comunição para enviar seus dados. Por favor, tente novamente.\n\n');
		return false;
	}
}

function Contato(n,e,f,a,m) {
	try {
		GET_Request('enviaContato.php?n='+n+'&e='+e+'&f='+f+'&a='+a+'&m='+m); 
	}
	catch(e){}
}
/*

function alertSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  window.alert( 'Width = ' + myWidth );
  window.alert( 'Height = ' + myHeight );
}

alertSize();

*/   
