
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function head_DoFSCommand(command, args) {
	if (args) {
		eval(command+"('"+args+"')");
	} else {
		eval(command+"()");
	}

}

function isInnerPage(){
	var headObj = isInternetExplorer ? document.all.head : document.head;
	if ((self.location.href.indexOf("index") == -1) && (self.location.href.indexOf("testes") == -1)) {
		headObj.GotoFrame(111);
	}
}

// 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('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub head_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call head_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
//
//
