// Combine JavaScript Document


// Config Search
function configSearch() {
  formElement = document.busca.country;
  if (formElement) {
    if (formElement.options[formElement.selectedIndex].value == 11 && 0 == 3) {
      document.busca.action = "/adsearch/search_german.jsp";
    } else {
      if (formElement.options[formElement.selectedIndex].value == 3 && 0 == 5) {
        document.busca.action = "/adsearch/search_french.jsp";
      } else {
        document.busca.action = "/servlet/Busca";
      }
    }
  }
  return true;
}

// Opec Banner

function OAS_VARS(OAS_page, OAS_pos) {
OAS_site = 'www.combine.com.br';
OAS_sitepage = OAS_site + OAS_page;
OAS_listpos = OAS_pos;}
OAS_url = 'http://adserver.ig.com.br/RealMedia/ads/';
OAS_query = '';
OAS_target = '_blank';
OAS_version = 10;
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String(Math.random()); OAS_rns = OAS_rn.substring(2, 11);
function OAS_NORMAL (pos) {
 document.write('<a href="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" target="'+ OAS_target + '">');
 document.write('<img src="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" border="0"></a>');}


function OAS_START() {
OAS_version = 11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1 || navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1)
 OAS_version = 10;
if (OAS_version >= 11)
 document.write('<SCRIP' + 'T LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"><\/SCRIP' + 'T>');}

document.write('');
function OAS_AD(pos){
 if (OAS_version >= 11)
  OAS_RICH(pos);
 else
  OAS_NORMAL(pos);}
  
// Random Imagem Home

  
// Outros - Combine Antigo
  
isIE = false;
navVer = navigator.appVersion;
ver = parseFloat(navVer);
IEPos = navVer.indexOf('MSIE');
if (IEPos !=-1) {
  isIE = true;
  ver = parseFloat(navVer.substring(IEPos+5,navVer.indexOf(';',IEPos)));
}

isIE5up = (isIE && ver >= 5);

function setNSHomepage(URL) {  // this HAS to be signed if it is to run on the web
  var Text = '';
  Text += 'Devido à restrições de ordem de segurança do browser Netscape,\n';
  Text += 'funções como esta são precedidas por uma caixa de alerta.\n';
  Text += 'Se você não deseja permitir acesso à configurações do seu browser,\n';
  Text += 'copie esta URL e a cole no campo contido em Edit / Preferences / Navigator.';
  if (confirm(Text)) {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite");
    navigator.preference('browser.startup.homepage',URL);
  }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


