/********************************************************
*  EXTERNAL LINK
********************************************************/
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";
	 }
} 

Event.observe(window, 'load', externalLinks, false);

/********************************************************
*  NAVHOVER
********************************************************/

navHover = function() {
	var lis = document.getElementById("navigation").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}

if(navigator.userAgent.indexOf("MSIE 6") != -1)
	Event.observe(window, 'load', navHover, false);
	


/********************************************************
*  AJAX CONN
********************************************************/
function createAC(url_, target_, pars_, method_, onCompl_){
	
	var url 	= url_.unescapeHTML();
	var pars 	= pars_;
	var target 	= target_;
	var meth 	= method_;
	var onCompl = onCompl_;
		
	var myAjax = new Ajax.Updater(
		target, 
		url, 
		{
			method: meth, 
			parameters: pars,
			evalScripts: true,
			onComplete: onCompl
		});
		
}

/********************************************************
*  LOADCONTENT
********************************************************/

function loadContent(link, divv, cibleId){	
	createAC(link, divv, '', 'get');
}

function checkIt(htmlTr, htmlRadio,idList,eval_){}

