512
| <![CDATA[<body scroll="no" onresize="posicionamentoVertical();" onload="posicionamentoVertical();inicializarMenu();loadMenu();">
<input type="hidden" name="caminhoRelatorioErro" id="caminhoRelatorioErro" value="0"/>
<script>atualizaHidenRelatorio();</script>
<div id="barra-brasil">
<div class="barra">
<ul style="list-style-type: none; padding: 0px; margin: 0px;">
<li><a href="http://www.acessoainformacao.gov.br" class="ai" title="Acesso à informação">www.sic.gov.br</a></li>
<li><a href="http://www.brasil.gov.br" class="brasilgov" title="Portal de Estado do Brasil">www.brasil.gov.br</a></li>
</ul>
</div>
</div>
<!-- HEAD - INICIO -------------------------------------------------------------------------------------->
<div id="headanatel">
<img src="imagens_internet/topo_01.gif" alt="Acesse a página inicial do portal " usemap="#Map" border="0" tabindex="103">
<map name="Map">
<area shape="rect" coords="20,6,169,51" href="javascript:menu(1);" alt="Página inicial"
onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');"
onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
</map>
</div>
<!-- div id="headanatel">
<a href="/Portal/exibirPortalInternet.do">
<img src="imagens_internet/topo_01.gif" alt="Acesse a página inicial do portal " border="0" tabindex="103">
</a>
</div-->
<div id="usuario">
<br>
<br tabindex="104">
</div>
<!-- FUNCIONALIDADES - INICIO -------------------------------------------------------------------------------------->
<div id="funcionalidade">
<script type="text/javascript" language="Javascript1.1">
<!-- Begin
var bCancel = false;
function validatePesquisaForm(form) {
if (bCancel)
return true;
else
var formValidationResult;
formValidationResult = validateRequired(form);
return (formValidationResult == 1);
}
function PesquisaForm_required () {
this.a0 = new Array("tipoPesquisa", " obrigatório(a)!", new Function ("varName", " return this[varName];"));
}
/*$RCSfile: validateMinLength.js,v $ $Revision: 1.11 $ $Date: 2004/03/28 16:53:21 $ */
/**
* A field is considered valid if greater than the specified minimum.
* Fields are not checked if they are disabled.
* <p>
* <strong>Caution:</strong> Using <code>validateMinLength</code> on a password field in a
* login page gives unnecessary information away to hackers. While it only slightly
* weakens security, we suggest using it only when modifying a password.</p>
* @param form The form validation is taking place on.
*/
function validateMinLength(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMinLength = eval('new ' + formName.value + '_minlength()');
for (x in oMinLength) {
var field = form[oMinLength[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'password' ||
field.type == 'textarea') &&
field.disabled == false) {
var iMin = parseInt(oMinLength[x][2]("minlength"));
if ((trim(field.value).length > 0) && (field.value.length < iMin)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMinLength[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateUtilities.js,v $ $Revision: 1.2 $ $Date: 2004/03/28 16:53:21 $ */
/**
* This is a place holder for common utilities used across the javascript validation
*
**/
/*$RCSfile: validateFloatRange.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are in a valid float range.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateFloatRange(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRange = eval('new ' + formName.value + '_floatRange()');
for (x in oRange) {
var field = form[oRange[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' || field.type == 'textarea') &&
(field.value.length > 0) &&
field.disabled == false) {
var fMin = parseFloat(oRange[x][2]("min"));
var fMax = parseFloat(oRange[x][2]("max"));
var fValue = parseFloat(field.value);
if (!(fValue >= fMin && fValue <= fMax)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRange[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateIntRange.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields is in a valid integer range.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateIntRange(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRange = eval('new ' + formName.value + '_intRange()');
for (x in oRange) {
var field = form[oRange[x][0]];
if (field.disabled == false) {
var value = '';
if (field.type == 'hidden' ||
field.type == 'text' || field.type == 'textarea' ||
field.type == 'radio' ) {
value = field.value;
}
if (field.type == 'select-one') {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
}
if (value.length > 0) {
var iMin = parseInt(oRange[x][2]("min"));
var iMax = parseInt(oRange[x][2]("max"));
var iValue = parseInt(value);
if (!(iValue >= iMin && iValue <= iMax)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRange[x][1];
isValid = false;
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateInteger.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid integer.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateInteger(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oInteger = eval('new ' + formName.value + '_IntegerValidations()');
for (x in oInteger) {
var field = form[oInteger[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oInteger[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -2147483648 && iValue <= 2147483647)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oInteger[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
function isAllDigits(argvalue) {
argvalue = argvalue.toString();
var validChars = "0123456789";
var startFrom = 0;
if (argvalue.substring(0, 2) == "0x") {
validChars = "0123456789abcdefABCDEF";
startFrom = 2;
} else if (argvalue.charAt(0) == "0") {
validChars = "01234567";
startFrom = 1;
} else if (argvalue.charAt(0) == "-") {
startFrom = 1;
}
for (var n = startFrom; n < argvalue.length; n++) {
if (validChars.indexOf(argvalue.substring(n, n+1)) == -1) return false;
}
return true;
}
/*$RCSfile: validateMask.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid using a regular expression.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateMask(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMasked = eval('new ' + formName.value + '_mask()');
for (x in oMasked) {
var field = form[oMasked[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'file') &&
(field.value.length > 0) &&
field.disabled == false) {
if (!matchPattern(field.value, oMasked[x][2]("mask"))) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMasked[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
function matchPattern(value, mask) {
return mask.exec(value);
}
/*$RCSfile: validateDate.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid date.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateDate(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oDate = eval('new ' + formName.value + '_DateValidations()');
for (x in oDate) {
var field = form[oDate[x][0]];
var value = field.value;
var datePattern = oDate[x][2]("datePatternStrict");
// try loose pattern
if (datePattern == null)
datePattern = oDate[x][2]("datePattern");
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea') &&
(value.length > 0) && (datePattern.length > 0) &&
field.disabled == false) {
var MONTH = "MM";
var DAY = "dd";
var YEAR = "yyyy";
var orderMonth = datePattern.indexOf(MONTH);
var orderDay = datePattern.indexOf(DAY);
var orderYear = datePattern.indexOf(YEAR);
if ((orderDay < orderYear && orderDay > orderMonth)) {
var iDelim1 = orderMonth + MONTH.length;
var iDelim2 = orderDay + DAY.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderDay && iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
} else if (iDelim1 == orderDay) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
} else if (iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
} else {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[2], matched[1], matched[3])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else if ((orderMonth < orderYear && orderMonth > orderDay)) {
var iDelim1 = orderDay + DAY.length;
var iDelim2 = orderMonth + MONTH.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderMonth && iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
} else if (iDelim1 == orderMonth) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
} else if (iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
} else {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[1], matched[2], matched[3])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else if ((orderMonth > orderYear && orderMonth < orderDay)) {
var iDelim1 = orderYear + YEAR.length;
var iDelim2 = orderMonth + MONTH.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderMonth && iDelim2 == orderDay) {
dateRegexp = new RegExp("^(\\d{4})(\\d{2})(\\d{2})$");
} else if (iDelim1 == orderMonth) {
dateRegexp = new RegExp("^(\\d{4})(\\d{2})[" + delim2 + "](\\d{2})$");
} else if (iDelim2 == orderDay) {
dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})(\\d{2})$");
} else {
dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{2})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[3], matched[2], matched[1])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
function isValidDate(day, month, year) {
if (month < 1 || month > 12) {
return false;
}
if (day < 1 || day > 31) {
return false;
}
if ((month == 4 || month == 6 || month == 9 || month == 11) &&
(day == 31)) {
return false;
}
if (month == 2) {
var leap = (year % 4 == 0 &&
(year % 100 != 0 || year % 400 == 0));
if (day>29 || (day == 29 && !leap)) {
return false;
}
}
return true;
}
/*$RCSfile: validateFloat.js,v $ $Revision: 1.11 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid float.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateFloat(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oFloat = eval('new ' + formName.value + '_FloatValidations()');
for (x in oFloat) {
var field = form[oFloat[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
// remove '.' before checking digits
var tempArray = value.split('.');
//Strip off leading '0'
var zeroIndex = 0;
var joinedString= tempArray.join('');
while (joinedString.charAt(zeroIndex) == '0') {
zeroIndex++;
}
var noZeroString = joinedString.substring(zeroIndex,joinedString.length);
if (!isAllDigits(noZeroString)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oFloat[x][1];
} else {
var iValue = parseFloat(value);
if (isNaN(iValue)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oFloat[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateCreditCard.js,v $ $Revision: 1.8 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid creditcard number based on Luhn checksum.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateCreditCard(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oCreditCard = eval('new ' + formName.value + '_creditCard()');
for (x in oCreditCard) {
if ((form[oCreditCard[x][0]].type == 'text' ||
form[oCreditCard[x][0]].type == 'textarea') &&
(form[oCreditCard[x][0]].value.length > 0) &&
form[oCreditCard[x][0]].disabled == false) {
if (!luhnCheck(form[oCreditCard[x][0]].value)) {
if (i == 0) {
focusField = form[oCreditCard[x][0]];
}
fields[i++] = oCreditCard[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/**
* Checks whether a given credit card number has a valid Luhn checksum.
* This allows you to spot most randomly made-up or garbled credit card numbers immediately.
* Reference: http://www.speech.cs.cmu.edu/~sburke/pub/luhn_lib.html
*/
function luhnCheck(cardNumber) {
if (isLuhnNum(cardNumber)) {
var no_digit = cardNumber.length;
var oddoeven = no_digit & 1;
var sum = 0;
for (var count = 0; count < no_digit; count++) {
var digit = parseInt(cardNumber.charAt(count));
if (!((count & 1) ^ oddoeven)) {
digit *= 2;
if (digit > 9) digit -= 9;
};
sum += digit;
};
if (sum == 0) return false;
if (sum % 10 == 0) return true;
};
return false;
}
function isLuhnNum(argvalue) {
argvalue = argvalue.toString();
if (argvalue.length == 0) {
return false;
}
for (var n = 0; n < argvalue.length; n++) {
if ((argvalue.substring(n, n+1) < "0") ||
(argvalue.substring(n,n+1) > "9")) {
return false;
}
}
return true;
}
/*$RCSfile: validateShort.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid short.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateShort(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oShort = eval('new ' + formName.value + '_ShortValidations()');
for (x in oShort) {
var field = form[oShort[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oShort[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -32768 && iValue <= 32767)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oShort[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateMaxLength.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* A field is considered valid if less than the specified maximum.
* Fields are not checked if they are disabled.
* <p>
* <strong>Caution:</strong> Using <code>validateMaxLength</code> on a password field in a
* login page gives unnecessary information away to hackers. While it only slightly
* weakens security, we suggest using it only when modifying a password.</p>
* @param form The form validation is taking place on.
*/
function validateMaxLength(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMaxLength = eval('new ' + formName.value + '_maxlength()');
for (x in oMaxLength) {
var field = form[oMaxLength[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'password' ||
field.type == 'textarea') &&
field.disabled == false) {
var iMax = parseInt(oMaxLength[x][2]("maxlength"));
if (field.value.length > iMax) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMaxLength[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateEmail.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid email address.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateEmail(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oEmail = eval('new ' + formName.value + '_email()');
for (x in oEmail) {
var field = form[oEmail[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea') &&
(field.value.length > 0) &&
field.disabled == false) {
if (!checkEmail(field.value)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oEmail[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/**
* Reference: Sandeep V. Tamhankar (stamhankar@hotmail.com),
* http://javascript.internet.com
*/
function checkEmail(emailStr) {
if (emailStr.length == 0) {
return true;
}
var emailPat=/^(.+)@(.+)$/;
var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";
var validChars="\[^\\s" + specialChars + "\]";
var quotedUser="(\"[^\"]*\")";
var ipDomainPat=/^(\d{1,3})[.](\d{1,3})[.](\d{1,3})[.](\d{1,3})$/;
var atom=validChars + '+';
var word="(" + atom + "|" + quotedUser + ")";
var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
var domainPat=new RegExp("^" + atom + "(\\." + atom + ")*$");
var matchArray=emailStr.match(emailPat);
if (matchArray == null) {
return false;
}
var user=matchArray[1];
var domain=matchArray[2];
if (user.match(userPat) == null) {
return false;
}
var IPArray = domain.match(ipDomainPat);
if (IPArray != null) {
for (var i = 1; i <= 4; i++) {
if (IPArray[i] > 255) {
return false;
}
}
return true;
}
var domainArray=domain.match(domainPat);
if (domainArray == null) {
return false;
}
var atomPat=new RegExp(atom,"g");
var domArr=domain.match(atomPat);
var len=domArr.length;
if ((domArr[domArr.length-1].length < 2) ||
(domArr[domArr.length-1].length > 3)) {
return false;
}
if (len < 2) {
return false;
}
return true;
}
/*$RCSfile: validateByte.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid byte.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateByte(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oByte = eval('new ' + formName.value + '_ByteValidations()');
for (x in oByte) {
var field = form[oByte[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oByte[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -128 && iValue <= 127)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oByte[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateRequired.js,v $ $Revision: 1.13 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields must contain a value.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateRequired(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRequired = eval('new ' + formName.value + '_required()');
for (x in oRequired) {
var field = form[oRequired[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'file' ||
field.type == 'checkbox' ||
field.type == 'select-one' ||
field.type == 'password') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else if (field.type == 'checkbox') {
if (field.checked) {
value = field.value;
}
} else {
value = field.value;
}
if (trim(value).length == 0) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRequired[x][1];
isValid = false;
}
} else if (field.type == "select-multiple") {
var numOptions = field.options.length;
lastSelected=-1;
for(loop=numOptions-1;loop>=0;loop--) {
if(field.options[loop].selected) {
lastSelected = loop;
value = field.options[loop].value;
break;
}
}
if(lastSelected < 0 || trim(value).length == 0) {
if(i == 0) {
focusField = field;
}
fields[i++] = oRequired[x][1];
isValid=false;
}
} else if ((field.length > 0) && (field[0].type == 'radio' || field[0].type == 'checkbox')) {
isChecked=-1;
for (loop=0;loop < field.length;loop++) {
if (field[loop].checked) {
isChecked=loop;
break; // only one needs to be checked
}
}
if (isChecked < 0) {
if (i == 0) {
focusField = field[0];
}
fields[i++] = oRequired[x][1];
isValid=false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
// Trim whitespace from left and right sides of s.
function trim(s) {
return s.replace( /^\s*/, "" ).replace( /\s*$/, "" );
}
//End -->
</script>
<form name="PesquisaForm" method="post" action="/Portal/pesquisaInternet.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353" onsubmit="if(pesquisaValida()){mapearRefresh('pesquisaInternet.do?acao=abrePesquisaAvancada');setaCookiePesquisa();}return false;" target="iFrameConteudo"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="tipoSite" value="1">
<input type="hidden" name="tipoArquivo" value="2">
<input type="hidden" name="tipoPesquisa" value="0">
; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ;
<input type="text" name="palavraChave" maxlength="50" tabindex="200" value=" Pesquisar..." onkeypress="return habilitaEnter(event);" onfocus="this.value='';" id="palavraChave">
<!-- Alteração para funcionar no Mozilla -->
<!-- <a href="#" onclick="javascript:if(pesquisaValida() && validatePesquisaForm(document.PesquisaForm)){;setaCookiePesquisa(); executaForm('pesquisar',0);}" onkeypress="javascript:if(pesquisaValida() && validatePesquisaForm(document.PesquisaForm)){;setaCookiePesquisa(); executaForm('pesquisar',0);}">-->
<a href="#" onclick="javascript:pesquisarOk()">
<img src="imagens_internet/pesquisar_ok.gif" alt="Selecione efetuar pesquisa." title="Selecione efetuar pesquisa." longdesc="Selecione efetuar pesquisa." width="20" height="19" border="0" usemap="#Map4" tabindex="207" alt="Pesquisar" title="Pesquisar" longdesc="Pesquisar">
</a>
<!-- fim da alteração -->
; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ;
<a href="javascript:Bigger();"><img src="imagens_internet/func_aumentar.gif" alt="Selecione para aumentar fonte" border="0" tabindex="207"></a>
<a href="javascript:Smaller();"><img src="imagens_internet/func_diminuir.gif" alt="Selecione para diminuir fonte" border="0" tabindex="208"></a>
<a href="#"><img src="imagens_internet/func_imprimir.gif" alt="Selecione para imprimir a página" border="0" tabindex="209"
onClick="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"
onkeypress="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"></a> ;
<a href="#" onClick="abrePopUpAtalho2('constroiLink','width=335,height=312','335','312');" onKeyPress="abrePopUpAtalho2('constroiLink','width=335,height=312','335','312')">
<img src="imagens_intranet/func_adicionar.gif" alt="Adicionar ou enviar link" border="0"></a> ;
</form>
</div>
<!-- ABAS INICIO -->
<div id="abas">
<img src="imagens_internet/aba_inicio.gif" border="0" usemap="#Map2" id="imagemAba" alt="Menu principal" title="Menu principal" longdesc="Menu principal" tabindex="200">
<map name="Map2" style="border: 0px solid #000;">
<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
<area shape="rect" coords="125,2,217,38" href="javascript:menu(2);" alt="Perfil Cidadão" title="Perfil Cidadão" longdesc="Perfil Cidadão" tabindex="202" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');">
<area shape="rect" coords="232,2,323,38" href="javascript:menu(3);" alt="Anatel Dados" title="Anatel Dados" longdesc="Anatel Dados" tabindex="203" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');">
<area shape="rect" coords="337,2,429,38" href="javascript:menu(4);" alt="Perfil Empresas" title="Perfil Empresas" longdesc="Perfil Empresas" tabindex="204" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');">
</map>
</div>
</div>
<!-- ABAS FIM -->
<!-- PESQUISA - INICIO -------------------------------------------------------------------------------------->
<div id="pesquisa">
<form name="ExibirPortalForm" method="GET" action="/Portal/exibirPortalInternet.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="selecionaAtalho" value="0">
<span class="link_combo">
;<select name="areaSelecionada" tabindex="204" onchange="comboChangeAreaInteresse(this);" id="palavraChave"><option value="exibirPortalInternet.do?acao=inicioConteudo_0" style="background-color:#FFFFFF">Tenho interesse em...</option></select>
</span>
</form>
</div>
<!-- ABA VISOES - INICIO -------------------------------------------------------------------------------------->
<!-- <div id="aba">
<a href="javascript:menu(0)"><img id="imagemSetaMenu" src="imagens_internet/seta_1.gif" border="0" alt="Recolher menu" title="Recolher menu" longdesc="Recolher menu"></a>
</div>-->
<div id="aba">
<a href="javascript:menu(0)">
<img id="imagemSetaMenu" src="imagens_intranet/seta_1.gif" border="0" alt="Recolher/Expandir menu" title="Recolher/Expandir menu" longdesc="Recolher/Expandir menu">
</a>
</div>
The requested resource (/Portal/jsp/includesDinamicos/navegacao_4.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_5.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_6.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_7.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_8.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_12.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_13.html) is not available
<!-- CONTEUDO - INICIO -------------------------------------------------------------------------------------->
<div id="conteudo" tabindex="6000">
<iframe title="Conteúdo do Portal" name="iFrameConteudo" id="iFrameConteudo" alt="Frame Conteúdo"
width="100%" height="100%" src="" frameborder="0" scrolling="yes"
onload="loadIframe(); loadNoticia(''); loadAgenda('');"
longdesc="http://anatelportal/Portal/exibirPortalInternet.do?acao=inicioConteudo">
Frame Conteúdo
</iframe>
</div>
<input type="hidden" id="urlImpressaoErro" name="urlImpressaoErro">
<!-- RODAPÉ - INICIO -------------------------------------------------------------------------------------->
<form name="ExibirPortalForm" method="GET" action="/Portal/exibirPortalInternetRodape.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353" target="iFrameConteudo"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="visao" value="0">
<input type="hidden" name="site" value="1">
<div class="rodape" id="rodape">
<a href="http://www.anatel.gov.br/consumidor/atendimento/canais-de-atendimento?nomeCanal=Fale%20Conosco&codigoVisao=13" target="_blank" tabindex="5000">Fale Conosco </a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<a href="#" onkeypress="redirecionaPagina('consultaLinksUteis');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaLinksUteis');" onclick="redirecionaPagina('consultaLinksUteis');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaLinksUteis');" tabindex="5001">Links</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<!-- <a href="#" onkeypress="redirecionaPagina('consultaAjuda');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaAjuda');" onclick="redirecionaPagina('consultaAjuda');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaAjuda');" tabindex="5004">Ajuda</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;-->
<a href="exibirPortalNivelDois.do?acao=&codItemCanal=1019&codigoVisao=4&nomeVisao=Cidadão&nomeCanal=Informações e consultas&nomeItemCanal=Acessibilidade" target="iFrameConteudo" tabindex="5000">Acessibilidade</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<a href="#" onkeypress="redirecionaPagina('consultaMapaSiteInternet');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaMapaSiteInternet');" onclick="redirecionaPagina('consultaMapaSiteInternet');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaMapaSiteInternet');" tabindex="5006">Mapa</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<span>©2023 Anatel</span>
</div>
</form>
<!-- alteração para incluir o gerador de link -->
<form action="criarAtalhos.do" method="post" id="geraLink" >
<input type="hidden" name="acao" value="constroiLinkInternet">
<input type="hidden" name="link" value="0">
<input type="hidden" name="visao" value="0">
<form>
<!-- Fim da alteração -->
<script>
function redirecionaPagina(endereco){
//fTodos();
document.forms[2].acao.value = endereco;
document.forms[2].visao.value = cookieVal('cookieVisaoInternet');
document.forms[2].submit();
}
function setaCookiePesquisa(){
document.cookie = "site_Pesquisa=Internet";
}
loadMenu();
</script>
<!-- FIM -------------------------------------------------------------------------------------->
</body>]]>
|
512
| <![CDATA[<body scroll="no" onresize="posicionamentoVertical();" onload="posicionamentoVertical();inicializarMenu();loadMenu();">
<input type="hidden" name="caminhoRelatorioErro" id="caminhoRelatorioErro" value="0"/>
<script>atualizaHidenRelatorio();</script>
<div id="barra-brasil">
<div class="barra">
<ul style="list-style-type: none; padding: 0px; margin: 0px;">
<li><a href="http://www.acessoainformacao.gov.br" class="ai" title="Acesso à informação">www.sic.gov.br</a></li>
<li><a href="http://www.brasil.gov.br" class="brasilgov" title="Portal de Estado do Brasil">www.brasil.gov.br</a></li>
</ul>
</div>
</div>
<!-- HEAD - INICIO -------------------------------------------------------------------------------------->
<div id="headanatel">
<img src="imagens_internet/topo_01.gif" alt="Acesse a página inicial do portal " usemap="#Map" border="0" tabindex="103">
<map name="Map">
<area shape="rect" coords="20,6,169,51" href="javascript:menu(1);" alt="Página inicial"
onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');"
onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
</map>
</div>
<!-- div id="headanatel">
<a href="/Portal/exibirPortalInternet.do">
<img src="imagens_internet/topo_01.gif" alt="Acesse a página inicial do portal " border="0" tabindex="103">
</a>
</div-->
<div id="usuario">
<br>
<br tabindex="104">
</div>
<!-- FUNCIONALIDADES - INICIO -------------------------------------------------------------------------------------->
<div id="funcionalidade">
<script type="text/javascript" language="Javascript1.1">
<!-- Begin
var bCancel = false;
function validatePesquisaForm(form) {
if (bCancel)
return true;
else
var formValidationResult;
formValidationResult = validateRequired(form);
return (formValidationResult == 1);
}
function PesquisaForm_required () {
this.a0 = new Array("tipoPesquisa", " obrigatório(a)!", new Function ("varName", " return this[varName];"));
}
/*$RCSfile: validateMinLength.js,v $ $Revision: 1.11 $ $Date: 2004/03/28 16:53:21 $ */
/**
* A field is considered valid if greater than the specified minimum.
* Fields are not checked if they are disabled.
* <p>
* <strong>Caution:</strong> Using <code>validateMinLength</code> on a password field in a
* login page gives unnecessary information away to hackers. While it only slightly
* weakens security, we suggest using it only when modifying a password.</p>
* @param form The form validation is taking place on.
*/
function validateMinLength(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMinLength = eval('new ' + formName.value + '_minlength()');
for (x in oMinLength) {
var field = form[oMinLength[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'password' ||
field.type == 'textarea') &&
field.disabled == false) {
var iMin = parseInt(oMinLength[x][2]("minlength"));
if ((trim(field.value).length > 0) && (field.value.length < iMin)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMinLength[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateUtilities.js,v $ $Revision: 1.2 $ $Date: 2004/03/28 16:53:21 $ */
/**
* This is a place holder for common utilities used across the javascript validation
*
**/
/*$RCSfile: validateFloatRange.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are in a valid float range.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateFloatRange(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRange = eval('new ' + formName.value + '_floatRange()');
for (x in oRange) {
var field = form[oRange[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' || field.type == 'textarea') &&
(field.value.length > 0) &&
field.disabled == false) {
var fMin = parseFloat(oRange[x][2]("min"));
var fMax = parseFloat(oRange[x][2]("max"));
var fValue = parseFloat(field.value);
if (!(fValue >= fMin && fValue <= fMax)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRange[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateIntRange.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields is in a valid integer range.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateIntRange(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRange = eval('new ' + formName.value + '_intRange()');
for (x in oRange) {
var field = form[oRange[x][0]];
if (field.disabled == false) {
var value = '';
if (field.type == 'hidden' ||
field.type == 'text' || field.type == 'textarea' ||
field.type == 'radio' ) {
value = field.value;
}
if (field.type == 'select-one') {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
}
if (value.length > 0) {
var iMin = parseInt(oRange[x][2]("min"));
var iMax = parseInt(oRange[x][2]("max"));
var iValue = parseInt(value);
if (!(iValue >= iMin && iValue <= iMax)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRange[x][1];
isValid = false;
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateInteger.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid integer.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateInteger(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oInteger = eval('new ' + formName.value + '_IntegerValidations()');
for (x in oInteger) {
var field = form[oInteger[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oInteger[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -2147483648 && iValue <= 2147483647)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oInteger[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
function isAllDigits(argvalue) {
argvalue = argvalue.toString();
var validChars = "0123456789";
var startFrom = 0;
if (argvalue.substring(0, 2) == "0x") {
validChars = "0123456789abcdefABCDEF";
startFrom = 2;
} else if (argvalue.charAt(0) == "0") {
validChars = "01234567";
startFrom = 1;
} else if (argvalue.charAt(0) == "-") {
startFrom = 1;
}
for (var n = startFrom; n < argvalue.length; n++) {
if (validChars.indexOf(argvalue.substring(n, n+1)) == -1) return false;
}
return true;
}
/*$RCSfile: validateMask.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid using a regular expression.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateMask(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMasked = eval('new ' + formName.value + '_mask()');
for (x in oMasked) {
var field = form[oMasked[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'file') &&
(field.value.length > 0) &&
field.disabled == false) {
if (!matchPattern(field.value, oMasked[x][2]("mask"))) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMasked[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
function matchPattern(value, mask) {
return mask.exec(value);
}
/*$RCSfile: validateDate.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid date.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateDate(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oDate = eval('new ' + formName.value + '_DateValidations()');
for (x in oDate) {
var field = form[oDate[x][0]];
var value = field.value;
var datePattern = oDate[x][2]("datePatternStrict");
// try loose pattern
if (datePattern == null)
datePattern = oDate[x][2]("datePattern");
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea') &&
(value.length > 0) && (datePattern.length > 0) &&
field.disabled == false) {
var MONTH = "MM";
var DAY = "dd";
var YEAR = "yyyy";
var orderMonth = datePattern.indexOf(MONTH);
var orderDay = datePattern.indexOf(DAY);
var orderYear = datePattern.indexOf(YEAR);
if ((orderDay < orderYear && orderDay > orderMonth)) {
var iDelim1 = orderMonth + MONTH.length;
var iDelim2 = orderDay + DAY.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderDay && iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
} else if (iDelim1 == orderDay) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
} else if (iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
} else {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[2], matched[1], matched[3])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else if ((orderMonth < orderYear && orderMonth > orderDay)) {
var iDelim1 = orderDay + DAY.length;
var iDelim2 = orderMonth + MONTH.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderMonth && iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$");
} else if (iDelim1 == orderMonth) {
dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$");
} else if (iDelim2 == orderYear) {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$");
} else {
dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[1], matched[2], matched[3])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else if ((orderMonth > orderYear && orderMonth < orderDay)) {
var iDelim1 = orderYear + YEAR.length;
var iDelim2 = orderMonth + MONTH.length;
var delim1 = datePattern.substring(iDelim1, iDelim1 + 1);
var delim2 = datePattern.substring(iDelim2, iDelim2 + 1);
if (iDelim1 == orderMonth && iDelim2 == orderDay) {
dateRegexp = new RegExp("^(\\d{4})(\\d{2})(\\d{2})$");
} else if (iDelim1 == orderMonth) {
dateRegexp = new RegExp("^(\\d{4})(\\d{2})[" + delim2 + "](\\d{2})$");
} else if (iDelim2 == orderDay) {
dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})(\\d{2})$");
} else {
dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{2})$");
}
var matched = dateRegexp.exec(value);
if(matched != null) {
if (!isValidDate(matched[3], matched[2], matched[1])) {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
} else {
if (i == 0) {
focusField = field;
}
fields[i++] = oDate[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
function isValidDate(day, month, year) {
if (month < 1 || month > 12) {
return false;
}
if (day < 1 || day > 31) {
return false;
}
if ((month == 4 || month == 6 || month == 9 || month == 11) &&
(day == 31)) {
return false;
}
if (month == 2) {
var leap = (year % 4 == 0 &&
(year % 100 != 0 || year % 400 == 0));
if (day>29 || (day == 29 && !leap)) {
return false;
}
}
return true;
}
/*$RCSfile: validateFloat.js,v $ $Revision: 1.11 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid float.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateFloat(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oFloat = eval('new ' + formName.value + '_FloatValidations()');
for (x in oFloat) {
var field = form[oFloat[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
// remove '.' before checking digits
var tempArray = value.split('.');
//Strip off leading '0'
var zeroIndex = 0;
var joinedString= tempArray.join('');
while (joinedString.charAt(zeroIndex) == '0') {
zeroIndex++;
}
var noZeroString = joinedString.substring(zeroIndex,joinedString.length);
if (!isAllDigits(noZeroString)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oFloat[x][1];
} else {
var iValue = parseFloat(value);
if (isNaN(iValue)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oFloat[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateCreditCard.js,v $ $Revision: 1.8 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid creditcard number based on Luhn checksum.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateCreditCard(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oCreditCard = eval('new ' + formName.value + '_creditCard()');
for (x in oCreditCard) {
if ((form[oCreditCard[x][0]].type == 'text' ||
form[oCreditCard[x][0]].type == 'textarea') &&
(form[oCreditCard[x][0]].value.length > 0) &&
form[oCreditCard[x][0]].disabled == false) {
if (!luhnCheck(form[oCreditCard[x][0]].value)) {
if (i == 0) {
focusField = form[oCreditCard[x][0]];
}
fields[i++] = oCreditCard[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/**
* Checks whether a given credit card number has a valid Luhn checksum.
* This allows you to spot most randomly made-up or garbled credit card numbers immediately.
* Reference: http://www.speech.cs.cmu.edu/~sburke/pub/luhn_lib.html
*/
function luhnCheck(cardNumber) {
if (isLuhnNum(cardNumber)) {
var no_digit = cardNumber.length;
var oddoeven = no_digit & 1;
var sum = 0;
for (var count = 0; count < no_digit; count++) {
var digit = parseInt(cardNumber.charAt(count));
if (!((count & 1) ^ oddoeven)) {
digit *= 2;
if (digit > 9) digit -= 9;
};
sum += digit;
};
if (sum == 0) return false;
if (sum % 10 == 0) return true;
};
return false;
}
function isLuhnNum(argvalue) {
argvalue = argvalue.toString();
if (argvalue.length == 0) {
return false;
}
for (var n = 0; n < argvalue.length; n++) {
if ((argvalue.substring(n, n+1) < "0") ||
(argvalue.substring(n,n+1) > "9")) {
return false;
}
}
return true;
}
/*$RCSfile: validateShort.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid short.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateShort(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oShort = eval('new ' + formName.value + '_ShortValidations()');
for (x in oShort) {
var field = form[oShort[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oShort[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -32768 && iValue <= 32767)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oShort[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateMaxLength.js,v $ $Revision: 1.10 $ $Date: 2004/03/28 16:53:21 $ */
/**
* A field is considered valid if less than the specified maximum.
* Fields are not checked if they are disabled.
* <p>
* <strong>Caution:</strong> Using <code>validateMaxLength</code> on a password field in a
* login page gives unnecessary information away to hackers. While it only slightly
* weakens security, we suggest using it only when modifying a password.</p>
* @param form The form validation is taking place on.
*/
function validateMaxLength(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oMaxLength = eval('new ' + formName.value + '_maxlength()');
for (x in oMaxLength) {
var field = form[oMaxLength[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'password' ||
field.type == 'textarea') &&
field.disabled == false) {
var iMax = parseInt(oMaxLength[x][2]("maxlength"));
if (field.value.length > iMax) {
if (i == 0) {
focusField = field;
}
fields[i++] = oMaxLength[x][1];
isValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
/*$RCSfile: validateEmail.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid email address.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateEmail(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oEmail = eval('new ' + formName.value + '_email()');
for (x in oEmail) {
var field = form[oEmail[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea') &&
(field.value.length > 0) &&
field.disabled == false) {
if (!checkEmail(field.value)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oEmail[x][1];
bValid = false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/**
* Reference: Sandeep V. Tamhankar (stamhankar@hotmail.com),
* http://javascript.internet.com
*/
function checkEmail(emailStr) {
if (emailStr.length == 0) {
return true;
}
var emailPat=/^(.+)@(.+)$/;
var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]";
var validChars="\[^\\s" + specialChars + "\]";
var quotedUser="(\"[^\"]*\")";
var ipDomainPat=/^(\d{1,3})[.](\d{1,3})[.](\d{1,3})[.](\d{1,3})$/;
var atom=validChars + '+';
var word="(" + atom + "|" + quotedUser + ")";
var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
var domainPat=new RegExp("^" + atom + "(\\." + atom + ")*$");
var matchArray=emailStr.match(emailPat);
if (matchArray == null) {
return false;
}
var user=matchArray[1];
var domain=matchArray[2];
if (user.match(userPat) == null) {
return false;
}
var IPArray = domain.match(ipDomainPat);
if (IPArray != null) {
for (var i = 1; i <= 4; i++) {
if (IPArray[i] > 255) {
return false;
}
}
return true;
}
var domainArray=domain.match(domainPat);
if (domainArray == null) {
return false;
}
var atomPat=new RegExp(atom,"g");
var domArr=domain.match(atomPat);
var len=domArr.length;
if ((domArr[domArr.length-1].length < 2) ||
(domArr[domArr.length-1].length > 3)) {
return false;
}
if (len < 2) {
return false;
}
return true;
}
/*$RCSfile: validateByte.js,v $ $Revision: 1.9 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields are a valid byte.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateByte(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oByte = eval('new ' + formName.value + '_ByteValidations()');
for (x in oByte) {
var field = form[oByte[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'select-one' ||
field.type == 'radio') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else {
value = field.value;
}
if (value.length > 0) {
if (!isAllDigits(value)) {
bValid = false;
if (i == 0) {
focusField = field;
}
fields[i++] = oByte[x][1];
} else {
var iValue = parseInt(value);
if (isNaN(iValue) || !(iValue >= -128 && iValue <= 127)) {
if (i == 0) {
focusField = field;
}
fields[i++] = oByte[x][1];
bValid = false;
}
}
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return bValid;
}
/*$RCSfile: validateRequired.js,v $ $Revision: 1.13 $ $Date: 2004/03/28 16:53:21 $ */
/**
* Check to see if fields must contain a value.
* Fields are not checked if they are disabled.
* <p>
* @param form The form validation is taking place on.
*/
function validateRequired(form) {
var isValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
var formName = form.getAttributeNode("name");
oRequired = eval('new ' + formName.value + '_required()');
for (x in oRequired) {
var field = form[oRequired[x][0]];
if ((field.type == 'hidden' ||
field.type == 'text' ||
field.type == 'textarea' ||
field.type == 'file' ||
field.type == 'checkbox' ||
field.type == 'select-one' ||
field.type == 'password') &&
field.disabled == false) {
var value = '';
// get field's value
if (field.type == "select-one") {
var si = field.selectedIndex;
if (si >= 0) {
value = field.options[si].value;
}
} else if (field.type == 'checkbox') {
if (field.checked) {
value = field.value;
}
} else {
value = field.value;
}
if (trim(value).length == 0) {
if (i == 0) {
focusField = field;
}
fields[i++] = oRequired[x][1];
isValid = false;
}
} else if (field.type == "select-multiple") {
var numOptions = field.options.length;
lastSelected=-1;
for(loop=numOptions-1;loop>=0;loop--) {
if(field.options[loop].selected) {
lastSelected = loop;
value = field.options[loop].value;
break;
}
}
if(lastSelected < 0 || trim(value).length == 0) {
if(i == 0) {
focusField = field;
}
fields[i++] = oRequired[x][1];
isValid=false;
}
} else if ((field.length > 0) && (field[0].type == 'radio' || field[0].type == 'checkbox')) {
isChecked=-1;
for (loop=0;loop < field.length;loop++) {
if (field[loop].checked) {
isChecked=loop;
break; // only one needs to be checked
}
}
if (isChecked < 0) {
if (i == 0) {
focusField = field[0];
}
fields[i++] = oRequired[x][1];
isValid=false;
}
}
}
if (fields.length > 0) {
focusField.focus();
alert(fields.join('\n'));
}
return isValid;
}
// Trim whitespace from left and right sides of s.
function trim(s) {
return s.replace( /^\s*/, "" ).replace( /\s*$/, "" );
}
//End -->
</script>
<form name="PesquisaForm" method="post" action="/Portal/pesquisaInternet.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353" onsubmit="if(pesquisaValida()){mapearRefresh('pesquisaInternet.do?acao=abrePesquisaAvancada');setaCookiePesquisa();}return false;" target="iFrameConteudo"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="tipoSite" value="1">
<input type="hidden" name="tipoArquivo" value="2">
<input type="hidden" name="tipoPesquisa" value="0">
; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ;
<input type="text" name="palavraChave" maxlength="50" tabindex="200" value=" Pesquisar..." onkeypress="return habilitaEnter(event);" onfocus="this.value='';" id="palavraChave">
<!-- Alteração para funcionar no Mozilla -->
<!-- <a href="#" onclick="javascript:if(pesquisaValida() && validatePesquisaForm(document.PesquisaForm)){;setaCookiePesquisa(); executaForm('pesquisar',0);}" onkeypress="javascript:if(pesquisaValida() && validatePesquisaForm(document.PesquisaForm)){;setaCookiePesquisa(); executaForm('pesquisar',0);}">-->
<a href="#" onclick="javascript:pesquisarOk()">
<img src="imagens_internet/pesquisar_ok.gif" alt="Selecione efetuar pesquisa." title="Selecione efetuar pesquisa." longdesc="Selecione efetuar pesquisa." width="20" height="19" border="0" usemap="#Map4" tabindex="207" alt="Pesquisar" title="Pesquisar" longdesc="Pesquisar">
</a>
<!-- fim da alteração -->
; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ;
<a href="javascript:Bigger();"><img src="imagens_internet/func_aumentar.gif" alt="Selecione para aumentar fonte" border="0" tabindex="207"></a>
<a href="javascript:Smaller();"><img src="imagens_internet/func_diminuir.gif" alt="Selecione para diminuir fonte" border="0" tabindex="208"></a>
<a href="#"><img src="imagens_internet/func_imprimir.gif" alt="Selecione para imprimir a página" border="0" tabindex="209"
onClick="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"
onkeypress="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"></a> ;
<a href="#" onClick="abrePopUpAtalho2('constroiLink','width=335,height=312','335','312');" onKeyPress="abrePopUpAtalho2('constroiLink','width=335,height=312','335','312')">
<img src="imagens_intranet/func_adicionar.gif" alt="Adicionar ou enviar link" border="0"></a> ;
</form>
</div>
<!-- ABAS INICIO -->
<div id="abas">
<img src="imagens_internet/aba_inicio.gif" border="0" usemap="#Map2" id="imagemAba" alt="Menu principal" title="Menu principal" longdesc="Menu principal" tabindex="200">
<map name="Map2" style="border: 0px solid #000;">
<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">
<area shape="rect" coords="125,2,217,38" href="javascript:menu(2);" alt="Perfil Cidadão" title="Perfil Cidadão" longdesc="Perfil Cidadão" tabindex="202" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');">
<area shape="rect" coords="232,2,323,38" href="javascript:menu(3);" alt="Anatel Dados" title="Anatel Dados" longdesc="Anatel Dados" tabindex="203" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');">
<area shape="rect" coords="337,2,429,38" href="javascript:menu(4);" alt="Perfil Empresas" title="Perfil Empresas" longdesc="Perfil Empresas" tabindex="204" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');">
</map>
</div>
</div>
<!-- ABAS FIM -->
<!-- PESQUISA - INICIO -------------------------------------------------------------------------------------->
<div id="pesquisa">
<form name="ExibirPortalForm" method="GET" action="/Portal/exibirPortalInternet.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="selecionaAtalho" value="0">
<span class="link_combo">
;<select name="areaSelecionada" tabindex="204" onchange="comboChangeAreaInteresse(this);" id="palavraChave"><option value="exibirPortalInternet.do?acao=inicioConteudo_0" style="background-color:#FFFFFF">Tenho interesse em...</option></select>
</span>
</form>
</div>
<!-- ABA VISOES - INICIO -------------------------------------------------------------------------------------->
<!-- <div id="aba">
<a href="javascript:menu(0)"><img id="imagemSetaMenu" src="imagens_internet/seta_1.gif" border="0" alt="Recolher menu" title="Recolher menu" longdesc="Recolher menu"></a>
</div>-->
<div id="aba">
<a href="javascript:menu(0)">
<img id="imagemSetaMenu" src="imagens_intranet/seta_1.gif" border="0" alt="Recolher/Expandir menu" title="Recolher/Expandir menu" longdesc="Recolher/Expandir menu">
</a>
</div>
The requested resource (/Portal/jsp/includesDinamicos/navegacao_4.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_5.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_6.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_7.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_8.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_12.html) is not available
The requested resource (/Portal/jsp/includesDinamicos/navegacao_13.html) is not available
<!-- CONTEUDO - INICIO -------------------------------------------------------------------------------------->
<div id="conteudo" tabindex="6000">
<iframe title="Conteúdo do Portal" name="iFrameConteudo" id="iFrameConteudo" alt="Frame Conteúdo"
width="100%" height="100%" src="" frameborder="0" scrolling="yes"
onload="loadIframe(); loadNoticia(''); loadAgenda('');"
longdesc="http://anatelportal/Portal/exibirPortalInternet.do?acao=inicioConteudo">
Frame Conteúdo
</iframe>
</div>
<input type="hidden" id="urlImpressaoErro" name="urlImpressaoErro">
<!-- RODAPÉ - INICIO -------------------------------------------------------------------------------------->
<form name="ExibirPortalForm" method="GET" action="/Portal/exibirPortalInternetRodape.do;jsessionid=BA8643952A5ABDB25D8A99BA717A0353" target="iFrameConteudo"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="339d5eb5882d93977cd218ebfbe46c25">
<input type="hidden" name="acao" value="0">
<input type="hidden" name="visao" value="0">
<input type="hidden" name="site" value="1">
<div class="rodape" id="rodape">
<a href="http://www.anatel.gov.br/consumidor/atendimento/canais-de-atendimento?nomeCanal=Fale%20Conosco&codigoVisao=13" target="_blank" tabindex="5000">Fale Conosco </a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<a href="#" onkeypress="redirecionaPagina('consultaLinksUteis');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaLinksUteis');" onclick="redirecionaPagina('consultaLinksUteis');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaLinksUteis');" tabindex="5001">Links</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<!-- <a href="#" onkeypress="redirecionaPagina('consultaAjuda');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaAjuda');" onclick="redirecionaPagina('consultaAjuda');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaAjuda');" tabindex="5004">Ajuda</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;-->
<a href="exibirPortalNivelDois.do?acao=&codItemCanal=1019&codigoVisao=4&nomeVisao=Cidadão&nomeCanal=Informações e consultas&nomeItemCanal=Acessibilidade" target="iFrameConteudo" tabindex="5000">Acessibilidade</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<a href="#" onkeypress="redirecionaPagina('consultaMapaSiteInternet');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaMapaSiteInternet');" onclick="redirecionaPagina('consultaMapaSiteInternet');frameConteudoFoco();mapearRefresh('exibirPortalInternetRodape.do?acao=consultaMapaSiteInternet');" tabindex="5006">Mapa</a> ; ; ;<img src="imagens_intranet/separador_barra.gif" alt="separador"/> ; ; ;
<span>©2023 Anatel</span>
</div>
</form>
<!-- alteração para incluir o gerador de link -->
<form action="criarAtalhos.do" method="post" id="geraLink" >
<input type="hidden" name="acao" value="constroiLinkInternet">
<input type="hidden" name="link" value="0">
<input type="hidden" name="visao" value="0">
<form>
<!-- Fim da alteração -->
<script>
function redirecionaPagina(endereco){
//fTodos();
document.forms[2].acao.value = endereco;
document.forms[2].visao.value = cookieVal('cookieVisaoInternet');
document.forms[2].submit();
}
function setaCookiePesquisa(){
document.cookie = "site_Pesquisa=Internet";
}
loadMenu();
</script>
<!-- FIM -------------------------------------------------------------------------------------->
</body>]]>
|
529
| <![CDATA[<area shape="rect" coords="20,6,169,51" href="javascript:menu(1);" alt="Página inicial"
onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');"
onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
529
| <![CDATA[<area shape="rect" coords="20,6,169,51" href="javascript:menu(1);" alt="Página inicial"
onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');"
onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
1563
| <![CDATA[<img src="imagens_internet/func_imprimir.gif" alt="Selecione para imprimir a página" border="0" tabindex="209"
onClick="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"
onkeypress="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')">]]>
|
1563
| <![CDATA[<img src="imagens_internet/func_imprimir.gif" alt="Selecione para imprimir a página" border="0" tabindex="209"
onClick="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')"
onkeypress="prepararImpressao();MM_openBrWindow('jsp/exibirPortalInternet/modelo_print.jsp','Visualizar','scrollbars=yes,resizable=yes,width=780,height=500')">]]>
|
1577
| <![CDATA[<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
1577
| <![CDATA[<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
1579
| <![CDATA[<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
1579
| <![CDATA[<area shape="rect" coords="25,2,117,38" href="javascript:menu(1);" alt="Início" title="Início" longdesc="Início" tabindex="201" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=13');">]]>
|
1580
| <![CDATA[<area shape="rect" coords="125,2,217,38" href="javascript:menu(2);" alt="Perfil Cidadão" title="Perfil Cidadão" longdesc="Perfil Cidadão" tabindex="202" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');">]]>
|
1580
| <![CDATA[<area shape="rect" coords="125,2,217,38" href="javascript:menu(2);" alt="Perfil Cidadão" title="Perfil Cidadão" longdesc="Perfil Cidadão" tabindex="202" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=4');">]]>
|
1581
| <![CDATA[<area shape="rect" coords="232,2,323,38" href="javascript:menu(3);" alt="Anatel Dados" title="Anatel Dados" longdesc="Anatel Dados" tabindex="203" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');">]]>
|
1581
| <![CDATA[<area shape="rect" coords="232,2,323,38" href="javascript:menu(3);" alt="Anatel Dados" title="Anatel Dados" longdesc="Anatel Dados" tabindex="203" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=12');">]]>
|
1582
| <![CDATA[<area shape="rect" coords="337,2,429,38" href="javascript:menu(4);" alt="Perfil Empresas" title="Perfil Empresas" longdesc="Perfil Empresas" tabindex="204" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');">]]>
|
1582
| <![CDATA[<area shape="rect" coords="337,2,429,38" href="javascript:menu(4);" alt="Perfil Empresas" title="Perfil Empresas" longdesc="Perfil Empresas" tabindex="204" onclick="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');" onkeypress="mapearRefresh('exibirPortalInternet.do?acao=inicioConteudo&site=1&visao=5');">]]>
|
1643
| <![CDATA[<iframe title="Conteúdo do Portal" name="iFrameConteudo" id="iFrameConteudo" alt="Frame Conteúdo"
width="100%" height="100%" src="" frameborder="0" scrolling="yes"
onload="loadIframe(); loadNoticia(''); loadAgenda('');"
longdesc="http://anatelportal/Portal/exibirPortalInternet.do?acao=inicioConteudo">
Frame Conteúdo
</iframe>]]>
|