
								function searchtype(obj) {
									if (document.maxsearchform.selectsearch.selectedIndex == 0 ) {
										document.maxsearchform.q.value=document.maxsearchform.terms.value;
										document.maxsearchform.action='/search/search.php';
									}
									else if (document.maxsearchform.selectsearch.selectedIndex == 1 ) {
										document.maxsearchform.action='/sitesearch/index.php';
								  		document.maxsearchform.query.value=document.maxsearchform.terms.value;
									}
									else if (document.maxsearchform.selectsearch.selectedIndex == 2 ) {
				                         document.maxsearchform.action='/novidades/index.php';
									}
									else if (document.maxsearchform.selectsearch.selectedIndex == 3 ) {
										document.maxsearchform.search.value=document.maxsearchform.terms.value;										
				                        document.maxsearchform.action='/faq/index.php?action=search';
									}					
								document.maxsearchform.submit();
								}

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 } 
} 
window.onload = externalLinks;
