//<<<<<<<<< Scripts © 2006 - 2008 Charles Houghton-Webb >>>>>>>>>
var newwin=''; nav="x"; docstr="document.";bName='';PicArray=new Array();theimg='';wid=860;hei=850;TheHelpBox='';initmsg='';themsg='';stimer='';ftimer='';ttimer='';thetimer='';strg='';
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function checkOut(){
if (newwin && newwin.open && !newwin.closed) newwin.close();
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function muswin(themus){
if (newwin && newwin.open && !newwin.closed) newwin.close();
newwin=window.open("","Extract","width=220,height=130,dependent=yes,menubar=no,location=no,resizable=no,scrollbars=no,alwaysRaised=yes");
var text="<html><head><title>Extract</title><style type='text/css'><!--.thisBodyText {font-size: 12px;font-family: Arial, Helvetica, sans-serif;}--></style></head><body  class='thisBodyText' bgcolor='000000'>";
newwin.document.write(text);
bodystr1='<embed src="../assets/music/' + themus + '" autostart=true loop=false kioskmode="true" volume=100 width="180" height="44"></embed>'
bodystr2='<p align="center"><a href="javascript:;" style="text-decoration:none; color:#FF0000" onMouseOver="this.style.color=\'#FFFF00\'" onMouseOut="this.style.color=\'#FF0000\'" onClick="window.close()"><b>Click here to close<br>Cliquez ici pour fermer</b></a></p>';
closestr='</body></html>';
newwin.document.write(bodystr1);
newwin.document.write(bodystr2);
newwin.document.write(closestr);
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function checkbrowser(){
if(document.getElementById) TheHelpBox=document.getElementById('help');
else if(document.all) TheHelpBox=help;
wid=screen.width;hei=screen.height;col=screen.colorDepth;
bName = navigator.appName;
docstr="document."
if(bName == "Netscape") {nav="N"
} else if(bName=="Microsoft Internet Explorer") {nav="E"; docstr="document.all.";objstr=".style";st0="hidden";st1="visible"
} else {nav="x"
}return nav;
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function copyloc(n,f) {
i=n.selectedIndex
k=n.options[i].TextNorm
if (i==0) k="";
document.mailform.country.value=k
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function plpics(){
ln=arguments.length-1;
var pth=arguments[0];
for(i=0;i<ln;i++){
	j=2*i;
	SplitString = arguments[i+1].split(".",2);
	var suff=SplitString[1];
	if(suff!=null){suff="."+suff;}else{suff="";}
	var pth0=pth + SplitString[0] + "0" + suff;
	var pth1=pth + SplitString[0] + "1" + suff;
	PicArray[j]=new Image();
	PicArray[j].src=pth0;
	PicArray[j+1]=new Image();
	PicArray[j+1].src=pth1;
}
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function groll(nme,pic,n){
i=(pic-1)*2+n;
theimg=String(nme);
eval(docstr+nme).src=PicArray[i].src;
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function animgroll(nme,pic,path){
i=(pic-1)*2+n;
theimg=String(nme);
eval(docstr+nme).src=PicArray[i].src;
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function quickwin(addr,winName,w,h){
if (!newwin || newwin.closed) {
newwin=window.open(addr,winName, "top=0,left=0,width=" + w + ",height=" + h + ",menubar=yes,scrollbars=yes,resizable=yes,location=yes,toolbar=yes");}
newwin.focus();
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function pictwin(capn, pth, wdth, hght) {
if (wdth< 115) {wwdth=140}else{wwdth=wdth+25};
if (hght< 100) {whght=152}else{whght=hght+60};
if (wwdth> wid) {wwdth=wid-24};
if (whght> hei) {whght=hei-40};
paramstr="window.open('','','top=0,left=0,width=" + String(wwdth) + ",height=" + String(whght) + ",menubar=no,scrollbars=yes,resizable=yes,location=no,alwaysRaised=yes')";
initstr="<html><head><title>Thema France</title></head><body bgcolor=000000><p><center>"
pictstr='<a href="javascript:;" onClick="window.close()"><img src="' + pth + '" border="0" width="'+ wdth + '" height="' + hght + '"></a>';
textstr='<br><font color="#FFFF00">' + capn + '</font><br><font color="#FF9999"><i>(Cliquez l\'image pour fermer)</i></font>'
closestr='</center></body></html>'
newwin = eval(paramstr);
if (nav=="N"){
	newwin.captureEvents(Event.RESIZE);
	newwin.onresize=reinit;}
if (!newwin.opener) newwin.opener = self;
with (newwin.document) {
open();
write(initstr);
write(pictstr);
write(textstr);
write(closestr);
close();
   }
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
function reinit(){
this.window.captureEvents(Event.CLICK);
this.window.onclick = window.close;
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
//-----------------------
function helptxt(n){
	clearInterval(stimer);
	clearInterval(ttimer);
	clearInterval(ftimer);
	if(n=='') n=' ';
	if(n!=="def"){
	n='<div align="center" class=HelpStyle><font color="#663300"><b>' + n + '</b></font></div>';
	document.getElementById("help").innerHTML=n;
	}
	else {n=initmsg;
		ripple(n);
	}
}
//-----------------------
function flashit(){
if(document.getElementById||document.all){
	if(Math.round(flashcnt/2)==flashcnt/2){
TheHelpBox.innerHTML='<div class=HelpStyle><font color="#009999"><b><u>'+strg+'</u></b></font></div>';
	}
	else{TheHelpBox.innerHTML='<div class=HelpStyle><b>'+strg+'</b></div>';
	}
}
else{
	if(Math.round(flashcnt/2)==flashcnt/2){
ns4tw.document.write('<div class=HelpStyle><font color="#009999"><b><u>'+strg+'</b></u></font></div>');ns4tw.document.close();
}
	else{ns4tw.document.write('<div class=HelpStyle><b>'+strg+'</b></div>');ns4tw.document.close();
	}
}
flashcnt+=1;
if(flashcnt>=8){
	clearInterval(ftimer);
	ripple(strg);
}
}
//-----------------------
function Doflash(n){
	strg=n;
	flashcnt=0;
	clearInterval(ttimer);
	ftimer = setInterval("flashit();",200);
}
//-----------------------
function sweep(){
if(curr<=themsg.length){
strg='';
for(var lp=0;lp<themsg.length;lp++){
if(lp==curr) strg+='<font color="#009999">'+themsg.charAt(curr)+'</font>';
else strg+=themsg.charAt(lp);
}
if(document.getElementById||document.all)TheHelpBox.innerHTML='<div class=HelpStyle><b>'+strg+'</b></div>';
else{
ns4tw.document.write('<div class=HelpStyle><b>'+strg+'</b></div>');ns4tw.document.close();
}
if(curr<themsg.length)curr++;
else{
	rippleBack();
	}
}}
//-----------------------
function sweepBack(){
if(curr>=0){
strg='';
for(var lp=0;lp<themsg.length;lp++){
if(lp==curr) strg+='<font color="#009999">'+themsg.charAt(curr)+'</font>';
else strg+=themsg.charAt(lp);
}
if(document.getElementById||document.all)TheHelpBox.innerHTML='<div class=HelpStyle><b>'+strg+'</b></div>';
else{
ns4tw.document.write('<div class=HelpStyle><b>'+strg+'</b></div>');ns4tw.document.close();
}
if(curr>0)curr--;
else{
	Doflash(themsg);
	//rippleThere();
	}
}}
//-----------------------
function rippleBack(){
clearInterval(ttimer);
curr=themsg.length-1;
ttimer=setInterval("sweepBack();",30);
}
//-----------------------
function rippleThere(){
clearInterval(ttimer);
curr=themsg.length;
curr=0;
ttimer=setInterval("sweep();",30);
}
//-----------------------
function ripple(n){
clearInterval(stimer);
themsg=n;
rippleThere();
}
//-----------------------