/**
 * 
 *
 */

// variables
var imgList = new Array();
var zInterval = null;
var indice=0;
	


function whiteArrowAll()
{
	var lst_gallerieR = new Array(	'beauty_portraitgirls_arrowR',
									'beauty_portraitboys_arrowR',
									'beauty_closeup_arrowR',
									'beauty_autoportraits_arrowR',
									'fashion_boys_arrowR',
									'fashion_girls_arrowR',
									'fashion_couples_arrowR',
									'lingerie_sexyness_arrowR',
									'lingerie_body_arrowR',
									'artisticnude_nude_arrowR',
									'artisticnude_body_arrowR',
									'musicbands_concerts_arrowR',
									'musicbands_promopicture_arrowR',
									'urbanlife_arrowR',
									'rurallife_arrowR',
									'events_christmas_arrowR',
									'events_fireworks_arrowR',
									'events_technoparade_arrowR',
									'events_nouvelanchinois_arrowR');//,
									//'projects_video_arrowR');
									
	var lst_gallerieL = new Array(	'beauty_portraitgirls_arrowL',
									'beauty_portraitboys_arrowL',
									'beauty_closeup_arrowL',
									'beauty_autoportraits_arrowL',
									'fashion_boys_arrowL',
									'fashion_girls_arrowL',
									'fashion_couples_arrowL',
									'lingerie_sexyness_arrowL',
									'lingerie_body_arrowL',
									'artisticnude_nude_arrowL',
									'artisticnude_body_arrowL',
									'musicbands_concerts_arrowL',
									'musicbands_promopicture_arrowL',
									'urbanlife_arrowL',
									'rurallife_arrowL',
									'events_christmas_arrowL',
									'events_fireworks_arrowL',
									'events_technoparade_arrowL',
									'events_nouvelanchinois_arrowL');//,
									//'projects_video_arrowL');

	var i;
	for (i= 0 ; i < lst_gallerieL.length ; i++){
		document.getElementById(lst_gallerieL[i]).src="./images/Design/brocheOff.png";
		document.getElementById(lst_gallerieR[i]).src="./images/Design/brocheOff.png";
	}
}

var right = '0';

function choiceGalerie(select) 
{
	// Gestion des div resultats
	hide_div('videoProject');
	show_div('flashcontent');
	
	// Construction du nom de la gallerie XML
	var path_xml = "./xml/portfolio/";
	var choice = path_xml+"gallery_"+select+".xml?val=<? echo time(); ?>";

	// Chargement de l'objet flash
	// ("Nom du module flash" , "Id de l'objet flash" , "Version Flash" , "Width" , "height" , "Couleur Fond")
	var fo = new SWFObject("./swf/viewer.swf", "viewer", "100%", "110%", "8", "#ffffff");
	fo.addVariable("xmlDataPath", choice);
	//fo.addVariable("xmlDataPath","decompositions/portfolio2.php?gallerie="+select);
	// Modification image liste
	whiteArrowAll();
	if ( select != 'projects' && select != 'miscelleanous' ) {
		document.getElementById(select+"_arrowL").src="./images/Design/brocheOnL.png";
		document.getElementById(select+"_arrowR").src="./images/Design/brocheOnR.png";
	}	
	
	if ( (select == 'artisticnude_nude' || select == 'artisticnude_body') && right == '0' ) {
		var n = document.getElementById('flashcontent');
		var str0 = '<center><div style="width:70%;"><br><br><br><br><br><br><br><b>WARNING - THIS GALLERY CONTAINS ADULT MATERIAL</b><br><br><br>';
		var str1 = 'If you are not major, or if it is illegal to view adult photographies in your country. <br>Please look another Krystal Forest gallery.<br><br>';
		var str2 = 'We can\'t be held responsible for your actions. We are not acting in any way to send you this information; you are choosing to receive it!<br>';
		var str3 = 'Continuing further means that you understand and accept responsibility for your own actions, thus releasing the creators of this Website and our service provider from any and all liability.<br>'; 
		var str4 = '<br>To continue, click on the link below to verify that you are major and consent to viewing adult material.<br>';
		var str5 = 'Otherwise click on the "I don\'t Agree to these Terms & Conditions" link.<br><br><br>';
		var str6 ='<a href="javascript:rightOnly18(\'1\');choiceGalerie(\''+select+'\');">I Agree to these Terms & Conditions</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
		var str7 = '<a href="javascript:rightOnly18(\'2\');choiceGalerie(\''+select+'\');">I don\'t Agree to these Terms & Conditions</a></div></center>';
		n.innerHTML = str0+str1+str2+str3+str4+str5+str6+str7;
		return;
		
	} else if ( (select == 'artisticnude_nude' || select == 'artisticnude_body') && right == '2' ) {
		//var n = document.getElementById('flashcontent');
		//var str1 = '<br><br><br><br>TU NAS PAS LES DROITS !!!<br>ES-TU SUR ??<br>';
		//var str2 ='<a href="javascript:rightOnly18(\'1\');choiceGalerie(\''+select+'\');">OUI</a><br><br>';
		//var str3 = '<a href="javascript:rightOnly18(\'2\');choiceGalerie(\''+select+'\');">NON</a>'
		//n.innerHTML = str1+str2+str3;
		right = '0';
		jq_ajax_callrpc_old('KFcontent','index.php?task=portfolio'); 
		return;
	} else {
		var test = fo.write("flashcontent");
	}
	
	// Si probleme flash -> proposer le DL de flash
	if (!test)
	{
		var n = document.getElementById('flashcontent');
		n.innerHTML = 'SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a>';
	}
	
} 

var compteurmenuvideo = 0;
function choiceVideo(select) 
{
	// Gestion des div resultats
	hide_div('flashcontent');
	show_div('videoProject');
	
	if ( compteurmenuvideo == 0 || (!document.getElementById('track0') && !document.getElementById('track1') && !document.getElementById('track2') && !document.getElementById('track3')) ) {
		compteurmenuvideo = 1;
		setTimeout( "ScrollLoad ('scrollholder','scroll' ,true)",100);
	}
	
	whiteArrowAll();
	document.getElementById("projects_video_arrowL").src="./images/Design/brocheOnL.png";
	document.getElementById("projects_video_arrowR").src="./images/Design/brocheOnR.png";
	
	
	if ( (select == 'artisticnude_nude' || select == 'artisticnude_body') && right == '0' ) {
		var n = document.getElementById('flashcontent');
		var str0 = '<center><div style="width:70%;"><br><br><br><br><br><br><br><b>WARNING - THIS GALLERY CONTAINS ADULT MATERIAL</b><br><br><br>';
		var str1 = 'If you are not major, or if it is illegal to view adult photographies in your country. <br>Please look another Krystal Forest gallery.<br><br>';
		var str2 = 'We can\'t be held responsible for your actions. We are not acting in any way to send you this information; you are choosing to receive it!<br>';
		var str3 = 'Continuing further means that you understand and accept responsibility for your own actions, thus releasing the creators of this Website and our service provider from any and all liability.<br>'; 
		var str4 = '<br>To continue, click on the link below to verify that you are major and consent to viewing adult material.<br>';
		var str5 = 'Otherwise click on the "I don\'t Agree to these Terms & Conditions" link.<br><br><br>';
		var str6 ='<a href="javascript:rightOnly18(\'1\');choiceGalerie(\''+select+'\');">I Agree to these Terms & Conditions</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
		var str7 = '<a href="javascript:rightOnly18(\'2\');choiceGalerie(\''+select+'\');">I don\'t Agree to these Terms & Conditions</a></div></center>';
		n.innerHTML = str0+str1+str2+str3+str4+str5+str6+str7;
		return;
		
	} else if ( (select == 'artisticnude_nude' || select == 'artisticnude_body') && right == '2' ) {
		//var n = document.getElementById('flashcontent');
		//var str1 = '<br><br><br><br>TU NAS PAS LES DROITS !!!<br>ES-TU SUR ??<br>';
		//var str2 ='<a href="javascript:rightOnly18(\'1\');choiceGalerie(\''+select+'\');">OUI</a><br><br>';
		//var str3 = '<a href="javascript:rightOnly18(\'2\');choiceGalerie(\''+select+'\');">NON</a>'
		//n.innerHTML = str1+str2+str3;
		right = '0';
		jq_ajax_callrpc_old('KFcontent','index.php?task=portfolio'); 
		return;
	} else {
		var autostart = '1';
		if ( select == 'projects_video' ) { autostart = '0'; select='video'; }
		var n = document.getElementById('videoProject_content');
		var str0 = '<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="400" height="315">';
		var str1 = '<param name="movie" value="player.swf" />';
		var str2 = '<param name="allowfullscreen" value="true" />';
		var str3 = '<param name="allowscriptaccess" value="always" />';
		var str4 = '<param name="flashvars" value="file=../videos/'+select+'.flv&image=preview.jpg" />';
		var str5 = '<embed type="application/x-shockwave-flash" id="player2" name="player2" src="swf/player.swf" width="400" height="315"';
		var str6 = ' allowscriptaccess="always" fullscreen="true" flashvars="file=../videos/'+select+'.flv&image=preview.jpg&autostart='+autostart+'&logo.hide=true"/></object>';
		
		var str0 = '<object type="application/x-shockwave-flash" data="swf/player_flv_multi.swf" width="100%" height="80%">';
		var str1 = '<param name="movie" value="swf/player_flv_multi.swf" />';
		var str2 = '<param name="allowFullScreen" value="true" />';
		var str3 = '<param name="FlashVars" value="flv=../videos/'+select+'.flv&amp;autoload='+autostart+'&amp;autoplay='+autostart+'&amp;autonext=0&amp;bgcolor=ffffff&amp;bgcolor1=000000&amp;bgcolor2=000000&amp;showstop=1&amp;showvolume=1&amp;showtime=1&amp;showfullscreen=1&amp;loadingcolor=ff00e5&amp;buttoncolor=ffffff&amp;buttonovercolor=a000ad&amp;slidercolor1=ffffff&amp;slidercolor2=ffffff&amp;sliderovercolor=ffffff&amp;buffer=10" />';
		var str4 = '</object>';
		
		
		
		n.innerHTML = str0+str1+str2+str3+str4; //+str5+str6;
		return;
	}
	
	// Si probleme flash -> proposer le DL de flash
	if (!test)
	{
		var n = document.getElementById('flashcontent');
		n.innerHTML = 'SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a>';
	}
	
} 


function homeFlash () {
	var homepicture = new Array( 	"./images/artisticnude/nude/Noemie01_271008.jpg",
									"./images/beauty/portraitgirls/Clemence02_090109.jpg",
									"./images/beauty/portraitboys/Malphas01_241009.jpg",
									"./images/fashion/girls/Sarah10_181009.jpg",
									"./images/lingerie/sexyness/Sandrines03_180109.jpg",
									"./images/beauty/portraitgirls/Marine03_310509.jpg",
									"./images/beauty/portraitgirls/MysticHeaven02_250209.jpg",
									"./images/fashion/girls/Camelia03_201009.jpg",
									"./images/artisticnude/nude/MissAmal02_311008.jpg",
									"./images/lingerie/sexyness/Mayline01_270209.jpg");
	
	var number = Math.floor(Math.random() * 10);
	document.getElementById("homepicture").src = homepicture[number];
	swfobject.embedSWF("./swf/Flip.swf", "KFhome_flip", "100%", "100%", "10.0.0", false, {xmlfile:"./xml/defaultFlipAutoRot.xml", loaderColor:"0xFFFFFF"}, {wmode: "transparent"});
}


function rightOnly18 (choice) {
	if (choice == '2') right = 2;
 	if (choice == '1') right = 1;
}


function hide_theRest(id){
	
	var lst_gallerie = new Array('subBeauty','subFashion','subLingerie','subNu','subMusic','subUrban','subEvents','projects','miscelleanous');
	
	var i;
	for (i= 0 ; i < lst_gallerie.length ; i++){
		if (lst_gallerie[i] != id) {
			hide_div(lst_gallerie[i]);
		}
	}
}
 
function SetResolution() {

	// Recuperation de la resolution du client
	var OverWidth = screen.width;
	var OverHeight = screen.height;
	var NavName = navigator.appName;
	var NavVers = navigator.appVersion;
	var Nav = NavName + " " + NavVers;
	
	//alert(OverWidth+" "+OverHeight+" "+Nav);
	// ok
	if ( OverWidth > '1440' ) {
		OverWidth = 1340;
		OverHeight= 800;
		
	} else 	if ( (OverWidth=='1440' && OverHeight=='900') || (OverWidth=='1680' && OverHeight=='1050') ) {
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-300;
		}else{
			OverHeight = screen.height-280;
		}
		
	// ok
	} else if ( OverWidth=='1280' && OverHeight=='768') {
		setActiveStyleSheet('main1280_768');
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-300;
		}else{
			OverHeight = screen.height-260;
		}
		
	// 
	} else if ( OverWidth=='1280' && OverHeight=='1024') {
		setActiveStyleSheet('main1280_1024');
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-300;
		}else{
			OverHeight = screen.height-320;
		}
		
	//
	} else if ( OverWidth=='1280' && OverHeight=='800') {
		setActiveStyleSheet('main1280_800');
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-300;
		}else{
			OverHeight = screen.height-260;
		}
		
	//
	} else if ( OverWidth=='25' && OverHeight=='25') {
		setActiveStyleSheet('main1280_768');
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-300;
		}else{
			OverHeight = screen.height-260;
		}
	} else if ( OverWidth=='1024' && OverHeight=='768') {
		setActiveStyleSheet('main1024_768');
		var OverWidth = screen.width-200;
		if ( NavName == 'Microsoft Internet Explorer') {
			OverHeight = screen.height-280;
		}else{
			OverHeight = screen.height-260;
		}
	} else {
		var OverWidth = screen.width-200;
		OverHeight = screen.height-300;
	}
	
	
	// Set de la resolution
	var elem	= document.getElementById('overDiv');
	elem.style.width = OverWidth+"px";
	elem.style.height = OverHeight+"px";
}
 
// choisir la css
function setActiveStyleSheet(title) {
	var i, a, main;
	currentStyle = title;
	for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
		if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
			a.disabled = true;
			if(a.getAttribute("title") == title) a.disabled = false;
		}
	}
}

// Change Opacité de l'image
function setOpacity ( objet ) {
	if(objet.xOpacity>.99) {
		objet.xOpacity = .99;
		return;
	}
	objet.style.opacity = objet.xOpacity;
	objet.style.MozOpacity = objet.xOpacity;
	objet.style.filter = 'alpha(opacity=' + (objet.xOpacity*100) + ')';
}

	
// Fonction de changement des images (rotation)
function rotation () {
	cOpacity = imgList[indice].xOpacity;
	nIndex = imgList[indice + 1]? indice + 1 : 0;
	nOpacity = imgList[nIndex].xOpacity;

	cOpacity-=.05;
	nOpacity+=.05;

	imgList[nIndex].style.display = 'block';
	imgList[indice].xOpacity = cOpacity;
	imgList[nIndex].xOpacity = nOpacity;

	setOpacity(imgList[indice]);
	setOpacity(imgList[nIndex]);

	if( cOpacity <= 0 ) {
		imgList[indice].style.display = 'none';
		indice = nIndex;
		setTimeout(rotation, 3000);
	} else {
		setTimeout(rotation, 50);
	}
}


// Initialisation du rotation
function rotationInit ( elementId ) {
	if(document.getElementById || document.createElement) {
		imgList = document.getElementById( elementId ).getElementsByTagName('div');

		for(i=1;i<imgList.length;i++) { imgList[i].xOpacity = 0; }

		imgList[0].style.display = 'block';
		imgList[0].xOpacity = .99;

		setTimeout(rotation, 3000);
	};
}


function focusPortfolio(div, x) {
	if ( x == 1 ) {
		document.getElementById(div).className='menuPortfolioFocusOut';
		document.getElementById(div+"_title").className='menuPortfolioFocusOutTitle';
	}
	if ( x == 2 ) {
		document.getElementById(div).className='menuPortfolioFocusIn';
		document.getElementById(div+"_title").className='menuPortfolioFocusInTitle';
	}
}


// ne fonctionne pas
function preLoaderImgPortfolio () {

	var i = 0;
    var imageObj = new Image();

    var images = new Array();
	images[0]="./thumbs/beauty/Asian.jpg";
	images[1]="./thumbs/beauty/Avanico.jpg";
	images[2]="./thumbs/beauty/Pensando.jpg";
	images[3]="./thumbs/beauty/Piruleta.jpg";
	images[4]="./thumbs/beauty/Provocation.jpg";
	images[5]="./thumbs/beauty/Skate_I.jpg";
	images[6]="./thumbs/beauty/Skate_II.jpg";
	images[7]="./thumbs/beauty/Stockings.jpg";
	images[8]="./thumbs/beauty/Stockings.jpg";

    for(i=0; i <= 8; i++) {
		imageObj.src=images[i];
    }

}




function choiceParu(select) 
{
	show_div('paruflashcontent');
	
	// Construction du nom de la gallerie XML
	var path_xml = "./xml/";
	var choice = path_xml+"paru.xml?val=<? echo time(); ?>";

	// Chargement de l'objet flash
	var fo = new SWFObject("./swf/viewer.swf", "viewer", "100%", "110%", "8", "#ffffff");
	fo.addVariable("xmlDataPath", choice);
	
	var test = fo.write("paruflashcontent");
	
	// Si probleme flash -> proposer le DL de flash
	if (!test)
	{
		var n = document.getElementById('flashcontent');
		n.innerHTML = 'SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a>';
	}
	
} 







function openbox(url)
{
	ajax_show('infobox');
	var content = document.getElementById('boxcontent');
	content.style.padding="0";

	content.innerHTML = "<img src=" + url + " />";
	
	ajax_hide('infobox');
	
	content.style.display='block';	
}	
	
function closebox()
{
	document.getElementById('boxcontent').style.display='none';
}

function test_callback(){
	ajax_register_callback('hide_div\(\'aboutus_bio\'\)\;hide_div\(\'aboutus_contact\'\)\;hide_div\(\'aboutus_links\'\)\;show_div\(\'aboutus_guestbook\'\)\;','');
	jq_ajax_callrpc_old('KFcontent','index.php?task=contact');
}

var guestSubmitTime=0;
function guestbook() {
	var name = convertAAA(document.getElementById('name_guestbook').value);
	var mail = document.getElementById('mail_guestbook').value;
	var site = convertAAA(document.getElementById('website_guestbook').value);
	var mess = convertAAA(document.getElementById('message_guestbook').value);
	
	var currentTime = new Date()
	var time = currentTime.getTime();
	var diff = time - guestSubmitTime;

	
	if ( diff > 10000 ) {
		guestSubmitTime = time;
	
		if ( validate_email(mail)) {
			mail = convertAAA(mail);
	
			if ( name!='' && mess!='' && mail!='' ) {
				jq_ajax_callrpc_old('','index.php?task=guestbook&name='+name+'&mail='+mail+'&message='+mess+'&site='+site);
				return true;
			} else {
				if ( name == '') {
					alert ('Please, enter your name !');	
				}else if ( mess == '') {
					alert ('Please, enter your message !');
				}else if ( mail == '' ) {
					alert ('Please, enter your email address !');
				}
			}
		}
	}
}
 
 
 var _defineSorter = false;
 function tableSorter(idTable, idPager) {
    if(!_defineSorter) {
        _defineSorter = true;
        $('#'+idTable)
       .tablesorter({widthFixed: true})
       .tablesorterPager({container: $('#'+idPager), pagerPositionSet: false, positionFixed: false});
    }
}

function validate_email(email) {
   var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   if(reg.test(email) == false) {
      alert('Invalid Email Address');
      return false;
   } else {
		return true;
	}
}

function convertAAA(text) {
	var converted_text="";
	var tableau = genarray();
	for (i=0;i < text.length;i++) {
		if(tableau[text.charAt(i)]!=undefined) {
			converted_text+=tableau[text.charAt(i)];
		} else {
			converted_text+=text.charAt(i);
		}
	}
	return converted_text;
}

function genarray() {
	tableau= new Array(); /* tableau global */
	tableau["é"]= "p1l2o3k4eacute;";
	tableau["+"]= "p1l2o3k4#43;";
	tableau["&"]= "p1l2o3k4amp;";
	tableau["<"]= "p1l2o3k4lt;";
	tableau[">"]= "p1l2o3k4gt;";
	tableau["¡"]= "p1l2o3k4iexcl;";
	tableau["¢"]= "p1l2o3k4cent;";
	tableau["£"]= "p1l2o3k4pound;";
	tableau["¤"]= "p1l2o3k4curren;";
	tableau["¥"]= "p1l2o3k4yen";
	tableau["œ"]= "p1l2o3k4oelig;";
	tableau["¦"]= "p1l2o3k4brvbar;";
	tableau["§"]= "p1l2o3k4sect;";
	tableau["¨"]= "p1l2o3k4uml;";
	tableau["©"]= "p1l2o3k4copy;";
	tableau["ª"]= "p1l2o3k4ordf;";
	tableau["«"]= "p1l2o3k4laquo;";
	tableau["¬"]= "p1l2o3k4not;";
	tableau["­"]= "p1l2o3k4shy;";
	tableau["®"]= "p1l2o3k4reg;";
	tableau["¯"]= "p1l2o3k4masr;";
	tableau["°"]= "p1l2o3k4deg;";
	tableau["±"]= "p1l2o3k4plusmn;";
	tableau["²"]= "p1l2o3k4sup2;";
	tableau["³"]= "p1l2o3k4sup3;";
	tableau["´"]= "p1l2o3k4acute;";
	tableau["µ"]= "p1l2o3k4micro;";
	tableau["¶"]= "p1l2o3k4para;";
	tableau["·"]= "p1l2o3k4middot;";
	tableau["¸"]= "p1l2o3k4cedil;";
	tableau["¹"]= "p1l2o3k4sup1;";
	tableau["º"]= "p1l2o3k4ordm;";
	tableau["»"]= "p1l2o3k4raquo;";
	tableau["¼"]= "p1l2o3k4frac14;";
	tableau["½"]= "p1l2o3k4frac12;";
	tableau["¾"]= "p1l2o3k4frac34;";
	tableau["¿"]= "p1l2o3k4iquest;";
	tableau["À"]= "p1l2o3k4Agrave;";
	tableau["Á"]= "p1l2o3k4Aacute;";
	tableau["Â"]= "p1l2o3k4Acirc;";
	tableau["Ã"]= "p1l2o3k4Atilde;";
	tableau["Ä"]= "p1l2o3k4Auml;";
	tableau["Å"]= "p1l2o3k4Aring;";
	tableau["Æ"]= "p1l2o3k4Aelig";
	tableau["Ç"]= "p1l2o3k4Ccedil;";
	tableau["È"]= "p1l2o3k4Egrave;";
	tableau["É"]= "p1l2o3k4Eacute;";
	tableau["Ê"]= "p1l2o3k4Ecirc;";
	tableau["Ë"]= "p1l2o3k4Euml;";
	tableau["Ì"]= "p1l2o3k4Igrave;";
	tableau["Í"]= "p1l2o3k4Iacute;";
	tableau["Î"]= "p1l2o3k4Icirc;";
	tableau["Ï"]= "p1l2o3k4Iuml;";
	tableau["Ð"]= "p1l2o3k4eth;";
	tableau["Ñ"]= "p1l2o3k4Ntilde;";
	tableau["Ò"]= "p1l2o3k4Ograve;";
	tableau["Ó"]= "p1l2o3k4Oacute;";
	tableau["Ô"]= "p1l2o3k4Ocirc;";
	tableau["Õ"]= "p1l2o3k4Otilde;";
	tableau["Ö"]= "p1l2o3k4Ouml;";
	tableau["×"]= "p1l2o3k4times;";
	tableau["Ø"]= "p1l2o3k4Oslash;";
	tableau["Ù"]= "p1l2o3k4Ugrave;";
	tableau["Ú"]= "p1l2o3k4Uacute;";
	tableau["Û"]= "p1l2o3k4Ucirc;";
	tableau["Ü"]= "p1l2o3k4Uuml;";
	tableau["Ý"]= "p1l2o3k4Yacute;";
	tableau["Þ"]= "p1l2o3k4thorn;";
	tableau["ß"]= "p1l2o3k4szlig;";
	tableau["à"]= "p1l2o3k4agrave;";
	tableau["á"]= "p1l2o3k4aacute;";
	tableau["â"]= "p1l2o3k4acirc;";
	tableau["ã"]= "p1l2o3k4atilde;";
	tableau["ä"]= "p1l2o3k4auml;";
	tableau["å"]= "p1l2o3k4aring;";
	tableau["æ"]= "p1l2o3k4aelig;";
	tableau["ç"]= "p1l2o3k4ccedil;";
	tableau["è"]= "p1l2o3k4egrave;";
	tableau["ê"]= "p1l2o3k4ecirc;";
	tableau["ë"]= "p1l2o3k4euml;";
	tableau["ì"]= "p1l2o3k4igrave;";
	tableau["í"]= "p1l2o3k4iacute;";
	tableau["î"]= "p1l2o3k4icirc;";
	tableau["ï"]= "p1l2o3k4iuml;";
	tableau["ð"]= "p1l2o3k4eth;";
	tableau["ñ"]= "p1l2o3k4ntilde;";
	tableau["ò"]= "p1l2o3k4ograve;";
	tableau["ó"]= "p1l2o3k4oacute;";
	tableau["ô"]= "p1l2o3k4ocirc;";
	tableau["õ"]= "p1l2o3k4otilde;";
	tableau["ö"]= "p1l2o3k4ouml;";
	tableau["÷"]= "p1l2o3k4divide;";
	tableau["ø"]= "p1l2o3k4oslash;";
	tableau["ù"]= "p1l2o3k4ugrave;";
	tableau["ú"]= "p1l2o3k4uacute;";
	tableau["û"]= "p1l2o3k4ucirc;";
	tableau["ü"]= "p1l2o3k4uuml;";
	tableau["ý"]= "p1l2o3k4yacute;";
	tableau["þ"]= "p1l2o3k4thorn;";
	tableau["ÿ"]= "p1l2o3k4yuml;";
	return tableau;
}
	
