<!-- 
	if (parent.location.href == self.location.href) {
		// scegliere tra le due opzioni:
		// 1) crea link di riferimento da cliccare per ricaricare la pagina col frameset
		/*var alertFrameset = '<p style="margin:0;padding:0.15em 0.25em;border:none;border-top:1px solid #999;border-bottom:1px solid #999;height:4%;display:block;font-size:0.9em;line-height:1.4;font-family:Arial, Helvetica, sans-serif;color:#000;text-align:center;background-color:#FFC;">Questo &egrave; un <em>frame</em>. La pagina&nbsp;potrebbe non&nbsp;essere nel suo&nbsp;<a href="index.htm?' + location.pathname + '" target="_top" title="carica la pagina completa" lang="en">frameset</a>.<br /><span lang="en">This is a <em>frame</em>. The page&nbsp;might not&nbsp;be within its&nbsp;<a href="index.htm?' + location.pathname + '" target="_top" title="load the whole page">frameset</a>.</span></p>';
  		document.write(alertFrameset);
		document.close();*/
		
		// 2) ricarica la pagina col frameset automaticamente
		window.location.href = 'index.htm?' + location.pathname + '';
	}
//-->

<!--
	function preCarica() {
		var args = preCarica.arguments;
		document.imageArray = new Array(args.length);
		for(var i=0; i<args.length; i++) {
			document.imageArray[i] = new Image;
			document.imageArray[i].src = args[i];
		}
	}
	preCarica('immagini/bk_h2cn.gif');
//-->

<!--
window.onload = function () {
		cambiaLinkEsterni('cestim'); // 'http://','cestim.' ('cestim_' temporaneo)
	}
	
	function cambiaLinkEsterni(tranneQuestoHTTP) {
		var totLink = document.links.length; //alert("totLink: "+totLink); // totale link da controllare
		// controllo ogni link
		for (var i=0;i<totLink;i++) { 
			document.links[i].setAttribute("title",document.links[i].href); // aggiungo tooltip
			// procedo solo se contiene "HTTP://"
			if(document.links[i].getAttribute("href").lastIndexOf("http://") != -1 || document.links[i].getAttribute("href").lastIndexOf("www.") != -1) {
				var ifIP = document.links[i].getAttribute("href"); // l'URL completo da controllare
				ifIP = ifIP.replace("http://", "") // tolgo "HTTP://"
				ifIP = ifIP.replace(ifIP.slice(ifIP.indexOf("/")), ""); // tengo solo fino al primo "/"
				ifIP = ifIP.split(".", 10); // elimino i "." e metto le sottostringhe in un array
				var ifIPOk= "";
				for (u=0;u<ifIP.length;u++) {
					ifIPOk = ifIPOk+ifIP[u]; // concateno i singoli pezzi in un'unica stringa (senza i punti)
				}
				var IPRegExpObj = /\d{4,}/; // pattern per controllare se ci sono piu' di 4 numeri... (num IP)
				// se ci sono pił di 4 numeri e se 
				// nella stringa non compare il dominio di questo sito
				if (ifIPOk.match(IPRegExpObj) || document.links[i].getAttribute("href").lastIndexOf(tranneQuestoHTTP) == -1) {
					// e se non e' un link 'javascript' o un'ancora "#"
					// allora cambio lo stile al link
					if (document.links[i].getAttribute("href").lastIndexOf("javascript:") == -1 || document.links[i].getAttribute("href") != "#") {
						//document.links[i].style.fontWeight = "bolder";  grassetto
						//document.links[i].style.fontSize = "97%"; // smaller
						//document.links[i].style.color = "#04306F";  colore
						//document.links[i].style.textDecoration = "underline"; // sottolineato
						document.links[i].setAttribute("title","Link esterno: \""+document.links[i].href+"\""); // aggiungo tooltip (link esterno)
						document.links[i].setAttribute("target","_blank"); // apri in una nuova finestra
					}
				}
			}
		} 
		linkLeggeri("pagina", "c-cn", "link-leggero");
	}
//-->

<!--
	function linkLeggeri(idParent, classEl, nuovoStile) {
		if (idParent==null) { idParent = "pagina"; }
		if (classEl==null) { classEl = "c-cn"; }
		if (nuovoStile==null) { nuovoStile = "link-leggero"; }
		// se il browser supporta gli oggetti DOM
		if (document.getElementById) {
			// tutti i figli dell''idParent'
			var pagChilds = document.getElementById(idParent).childNodes;
			// per ogni figlio
			for (var nPC=0;nPC<pagChilds.length;nPC++) { if (pagChilds[nPC].nodeType != 1) { continue; } // per Netscape e moz
				// se ha classe 'classEl'
				if (pagChilds[nPC].className == classEl) {
					// tutti i tag 'P' contenuti
					var parA = pagChilds[nPC].getElementsByTagName('p');
					// per ogni tag 'P'
					for (var numP=0;numP<parA.length;numP++) {
						// tutti i tag 'A' contenuti
						var linkA = parA[numP].getElementsByTagName('a');
						// per ogni tag 'A'
						for (var numL=0;numL<linkA.length;numL++) {
							// se non e' il primo
							if(numL>0) { 
								// assegna stile 'nuovoStile'
								linkA[numL].className = nuovoStile; // OK: IE, Moz, FF, NN, Op
								//linkA[numL].setAttribute("class", nuovoStile); // NO: IE
							}
						}
						
					}
					break; // fermo il ciclo
				}
			}
		}
	}
//-->

<!--
	/* carica pagina da menu select */
	function caricaPagina(qualeMenu) {
		percorsoMenu = document.getElementById(qualeMenu);
		paginaURL = percorsoMenu.options[percorsoMenu.selectedIndex].value;
		if (paginaURL) location.href = paginaURL;
	}

//-->

<!--
function goSection1() { { var myindex=document.go.section1.selectedIndex; 
if (myindex==0){ 
     alert("scegli una sezione"); 

}else if (myindex==1) { 
     top.parent.document.location='dossiers/dossier-albania.htm'

}else if (myindex==2) { 
     top.self.document.location='dossiers/dossier angola.htm' 

}else if (myindex==3){ 
     top.document.location='dossiers/dossier bangladesh.htm' 

}else if (myindex==4){ 
     top.document.location='dossiers/dossier_bosnia-erzegovina.htm' 

}else if (myindex==5){ 
     top.document.location='dossiers/dossier brasile.htm' 

}else if (myindex==6){ 
     top.document.location='dossiers/dossier_bulgaria.htm' 

}else if (myindex==7){ 
     top.document.location='dossiers/dossier-camerun.htm' 

}else if (myindex==8){ 
     top.document.location='dossiers/dossier cina.htm' 

}else if (myindex==9){ 
     top.document.location='dossiers/dossier colombia.htm' 

}else if (myindex==10){      
     top.document.location='dossiers/dossier congo.htm'

}else if (myindex==11){
     top.document.location='dossiers/dossier costadavorio.htm'

}else if (myindex==12){
     top.document.location='dossiers/dossier_croazia.htm' 

}else if (myindex==13){
     top.document.location='dossiers/dossier cuba.htm'

}else if (myindex==14){ 
     top.document.location='dossiers/dossier egitto.htm' 

}else if (myindex==15){ 
     top.content.document.location='dossiers/dossier filippine.htm' 

}else if (myindex==16){ 
     top.document.location='dossiers/dossier ghana.htm' 

}else if (myindex==17){ 
     top.document.location='dossiers/dossier giappone.htm' 

}else if (myindex==18){ 
     top.document.location='dossiers/dossier giordania.htm' 

}else if (myindex==19){ 
     top.document.location='dossiers/dossier guineabissau.htm' 

}else if (myindex==20){ 
     top.document.location='dossiers/dossier india.htm' 

}else if (myindex==21){ 
     top.document.location='dossiers/dossier iran.htm' 

}else if (myindex==22){ 
     top.document.location='dossiers/dossier israele.htm' 

}else if (myindex==23){ 
     top.document.location='dossiers/dossier jugoslavia.htm' 

}else if (myindex==24){ 
     top.document.location='dossiers/dossier libano.htm' 

}else if (myindex==25){ 
     top.document.location='dossiers/dossier_macedonia.htm' 

}else if (myindex==26){ 
     top.document.location='dossiers/dossier marocco.htm' 

}else if (myindex==27){ 
     top.document.location='dossiers/dossier_x-urss.htm' 

}else if (myindex==28){ 
     top.document.location='dossiers/dossier nigeria.htm'

}else if (myindex==29){ 
     top.document.location='dossiers/dossier pakistan.htm' 

}else if (myindex==30){ 
     top.document.location='dossiers/dossier peru.htm'

}else if (myindex==31){ 
     top.document.location='dossiers/dossier polonia.htm'  

}else if (myindex==32){ 
     top.document.location='dossiers/dossier_repubblica-ceca.htm'  

}else if (myindex==33){ 
     top.document.location='dossiers/dossier repubblicacentraficana.htm'  

}else if (myindex==34){ 
     top.document.location='dossiers/dossier repubblicadominicana.htm'  

}else if (myindex==35){ 
     top.document.location='dossiers/dossier_repubblica-slovacca.htm'

}else if (myindex==36){ 
     top.document.location='dossiers/dossier romania.htm'

}else if (myindex==37){ 
     top.document.location='dossiers/dossier_russia.htm' 

}else if (myindex==38){ 
     top.document.location='dossiers/dossier senegal.htm'

}else if (myindex==39){ 
     top.document.location='dossiers/dossier_slovenia.htm'

}else if (myindex==40){ 
     top.document.location='dossiers/dossier srilanka.htm'  

}else if (myindex==41){ 
     top.document.location='dossiers/dossier thailandia.htm'  

}else if (myindex==42){ 
     top.document.location='dossiers/dossier_tunisia.htm'

}else if (myindex==43){ 
     top.document.location='dossiers/dossier turchia.htm' 

}else if (myindex==44){ 
     top.document.location='dossiers/dossier_ungheria.htm'    

}else{ 
     alert("Choose from links below."); } } }
//-->

<!--
var l_object = new Object();
function checkDefaultValue(obj, val) {
	var value = obj.value;
	if(val == undefined){
		if(value == ''){
			obj.value = l_object.value;
		}
	} else{
		if(value == val){
			obj.value = '';
		}
		l_object.value = val;
	}
}
//-->
