// JavaScript Document


function limpar (objeto, msg) {
    if (objeto.value == msg)objeto.value = '';
}

function mostrar (objeto, msg) {
    if (objeto.value == '')objeto.value = msg;
}


function altura(number) { //v2.0
  // replace <object> with:
 // alert("oi")
	document.getElementById("filmeB").style.height=number+"px";
}

function fora(){
 window.document.menud.SetVariable("cursorCanvas","fora");
 
 }
 function dentro(){
 window.document.menud.SetVariable("cursorCanvas","dentro");
// altura(200);

 }

var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function menud_DoFSCommand(command, args) {
	var menudObj = isInternetExplorer ? document.all.menud : document.menud;
	//
	// Place your code here.
	//
	//alert(command+" --"+args);
	if (command=="abrebase"){
	 altura(args);
	 }
	
}

// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');

	document.write('On Error Resume Next\n');
	document.write('Sub menud_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call menud_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</SCR' + 'IPT\> \n');
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
