/****************************************************
 *Keywords found whithin timeLine
 ****************************************************/
var kw = new Array() ;
kw[0] = "key3|formation";
kw[1] = "key2|casual games";
kw[2] = "key0|serious game";
kw[3] = "key1|média";
kw[4] = "key4|studio de création";
//End of Data

function loadKeywords() {
	document.quotesSearch.quotesSearchCombo.options.length = kw.length+1;
	document.quotesSearch.quotesSearchCombo.options[0].Value = 0;
	document.quotesSearch.quotesSearchCombo.options[0].text = "-----";
	for(i=0,j=1;i<kw.length;i++,j++) {
		document.quotesSearch.quotesSearchCombo.options[j].Value = kw[i].split("|")[0];
		document.quotesSearch.quotesSearchCombo.options[j].text = kw[i].split("|")[1];
	}
}

function loadQuotes() {
	var cmb = document.quotesSearch.quotesSearchCombo;
	if(cmb.selectedIndex==0) {
		quotesResult.location.href="../_libraries/_quoteKeywords/_blank.html";
	} else {
		quotesResult.location.href="../_libraries/_quoteKeywords/"+cmb.options[cmb.selectedIndex].Value+".html";
	}
}

var oDiv;

function rollOn(arg) {
	arg.className = 'blcCitationOver';
	oDiv = arg;
}

function rollOut() {
	if(typeof(oDiv)!='undefined') {
		oDiv.className = 'blcCitation';
	}
}

function goToECU() {
	a = goToECU.arguments;
	top.document.location.href = "../../FR/ECU/index.html?"+a[0]+"|"+a[1]+"||||"+a[2]+"|"+a[3]+"||||"+a[4];
}

var oSelected = '';

function selectRes(arg, tc, tcOut) {
	if(oSelected!=''&&arg!=oSelected)	{	document.getElementById(oSelected).className = 'blcCitation'; }
	document.getElementById(arg).className = 'blcCitationOn';
	oSelected = arg;
	parent.goTc(tc);
	parent.outline.location.hash = "#a"+tcOut;
}

