/*
function _popup_search(Terms)
{
	var Hauteur = 500;
	var Largeur = 620;	
	var Gauche = (screen.width / 2) - (Largeur / 2);
	var Haut = (screen.height / 2) - (Hauteur / 2);
	var Url = "http://localhost/sites_web/Owlfly/wwwroot/www-ioa-ea3g-org/objets/code/_popup_search.php?Terms=" + Terms;

	NewWindow=open(Url,"search","menubar=0,resizable=0,scrollbars=1,status=no,left=" + Gauche + ",top=" + Haut + ",height=" + Hauteur + ",width=" + Largeur + "");
}
*/
function popup_search(Terms)
{
	var Hauteur = 500;
	var Largeur = 620;	
	var Gauche = (screen.width / 2) - (Largeur / 2);
	var Haut = (screen.height / 2) - (Hauteur / 2);
	var Url = "http://www.ioa-ea3g.org/objets/code/popup_search.php?Terms=" + Terms;

	NewWindow=open(Url,"search","menubar=0,resizable=0,scrollbars=1,status=no,left=" + Gauche + ",top=" + Haut + ",height=" + Hauteur + ",width=" + Largeur + "");
}


/* texte défilant */
ejs_box2_message = new Array;
ejs_box2_message[0] = '';
ejs_box2_message[0] += '- IOA World Congress in Tokyo<br>';
ejs_box2_message[0] += '- Masschelein Prize 2009<br>';
ejs_box2_message[0] += '- Conference in Geneva, April 2010<br>';
ejs_box2_message[0] += '<a class="ejs_box2_box_lien" href="http://www.ioa-ea3g.org/news_events/index.php">More information >></a>';

ejs_box2_actual = 0;
ejs_box2_html_flag = 0;

function ejs_box2_go()
{
	if(document.getElementById)
	{
		ejs_box2_char = 1;
		ejs_box2_affich(ejs_box2_actual)
		ejs_box2_actual++;
		if(ejs_box2_actual >= ejs_box2_message.length)
			ejs_box2_actual = 0;
	}        
}
 
function ejs_box2_affich(lactual)
{
	var pix = ejs_box2_message[lactual].charAt(ejs_box2_char);
	if(pix == "<")
		ejs_box2_html_flag = 1;
	if(pix == ">")
		ejs_box2_html_flag = 0;
	var texte = ejs_box2_message[lactual].substring(0,ejs_box2_char);
	document.getElementById("ejs_box2_box").innerHTML = texte;
	if(ejs_box2_char < ejs_box2_message[lactual].length)
	{
		ejs_box2_char++;
		if(ejs_box2_html_flag == 1)    
			ejs_box2_affich(lactual);
		else
			setTimeout("ejs_box2_affich("+lactual+")",50)
	}
	else
		setTimeout("ejs_box2_go()",3000)
}
/* texte défilant */

/* texte défilant */
ejs_box3_message = new Array;
ejs_box3_message[0] = '';
ejs_box3_message[0] += 'Do not miss IOA Conference in Geneva, Switzerland (April 2010)';

ejs_box3_actual = 0;
ejs_box3_html_flag = 0;

function ejs_box3_go()
{
	if(document.getElementById)
	{
		ejs_box3_char = 1;
		ejs_box3_affich(ejs_box3_actual)
		ejs_box3_actual++;
		if(ejs_box3_actual >= ejs_box3_message.length)
			ejs_box3_actual = 0;
	}        
}
 
function ejs_box3_affich(lactual)
{
	var pix = ejs_box3_message[lactual].charAt(ejs_box3_char);
	if(pix == "<")
		ejs_box3_html_flag = 1;
	if(pix == ">")
		ejs_box3_html_flag = 0;
	var texte = ejs_box3_message[lactual].substring(0,ejs_box3_char);
	document.getElementById("ejs_box3_box").innerHTML = texte;
	if(ejs_box3_char < ejs_box3_message[lactual].length)
	{
		ejs_box3_char++;
		if(ejs_box3_html_flag == 1)    
			ejs_box3_affich(lactual);
		else
			setTimeout("ejs_box3_affich("+lactual+")",50)
	}
	else
		setTimeout("ejs_box3_go()",3000)
}
/* texte défilant */