﻿/*************************************************
#flash --> Javascript
**************************************************/
//exemple_1

function loadVitres(){
	var oRequest = new XMLHttpRequest();
	var sURL  = "/vitre.html";
	oRequest.open("GET",sURL,false);
	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
	oRequest.send(null)

	if (oRequest.status==200) {}
	else {alert("Error executing XMLHttpRequest call!");}

	document.getElementById("contentSwitch").innerHTML = oRequest.responseText;	
	window.scrollBy(0,-1000);
	window.scrollBy(0,680);
}

function loadPierre(){
	var oRequest = new XMLHttpRequest();
	var sURL  = "/pare_pierre.html";
	oRequest.open("GET",sURL,false);
	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
	oRequest.send(null)

	if (oRequest.status==200) {}
	else {alert("Error executing XMLHttpRequest call!");}

	document.getElementById("contentSwitch").innerHTML = oRequest.responseText;	
	window.scrollBy(0,-1000);window.scrollBy(0,680);
}

function loadCommercial(){
	var oRequest = new XMLHttpRequest();
	var sURL  = "/commercial.html";
	oRequest.open("GET",sURL,false);
	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
	oRequest.send(null)
	if (oRequest.status==200) {}
	else {alert("Error executing XMLHttpRequest call!");}

	document.getElementById("contentSwitch").innerHTML = oRequest.responseText;
	window.scrollBy(0,-1000);
	window.scrollBy(0,680);
}

// ms 2009.09.25
function loadApropos(){
//////////////////////////////////////// LIRE LE FICH HTML
//	var oRequest = new XMLHttpRequest();
//	var sURL  = "/apropos.html";	
//	oRequest.open("GET",sURL,false);
//	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
//	oRequest.send(null)
//	if (oRequest.status==200){}
//	else {alert("Error executing XMLHttpRequest call!");}
//////////////////////////////////////// LIRE LE FICHIER TEXT
	var oFormattedtext = new XMLHttpRequest();
	var sURLtxt  = "/apropos.txt";
	var arLignes;
	var arCollonnes;
	var contenuedynamique;
	oFormattedtext.open("GET",sURLtxt,false);
	oFormattedtext.setRequestHeader("User-Agent",navigator.userAgent);
	oFormattedtext.send(null);
//	enlever l'entete de fichier 'apropos='
	var newtext = oFormattedtext.responseText.slice(8);
	
	if (oFormattedtext.status==200) {}
	else {alert("Error executing XMLHttpRequest call!");}
	var MyArray2 = newtext.split("¦¤¤¦");
	
	arLignes = 0 ;
	arLignes = MyArray2.length;

    var swaptext = "";

    if (arLignes == 0) {
        document.getElementById("contentSwitch2").style.display = "";                
        document.getElementById("contentSwitch1").style.display = "none";                
    }
    else{
        for (i=1;i<arLignes;i++ )
           {
            var MyArray = MyArray2[i].split("|¤¤|");
            swaptext = swaptext + "<table width='910' border='0' cellspacing='0' cellpadding='0'>";
            swaptext = swaptext + "<tr>";
            swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[2] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[2]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[2]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td> ";
            swaptext = swaptext + "        <td width='20' align='left' valign='top' class='texte'>&nbsp;</td>";
            swaptext = swaptext + "        <td colspan='3' align='left' valign='top' class='texte'>";
            swaptext = swaptext + "<p align='justify'><strong>";
            
            if (MyArray[0] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[0];}
            
            swaptext = swaptext + "                </strong>";
            swaptext = swaptext + "                <br />";
            swaptext = swaptext + "                <br />";

            if (MyArray[1] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[1];}
                
            swaptext = swaptext + "            </p>";
            swaptext = swaptext + "        </td>";
            swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "    <tr>";
            
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[3] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[3]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[3]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
           
            swaptext = swaptext + "        </td>";    
            swaptext = swaptext + "        <td width='20' align='center' valign='top' class='texte'> &nbsp;</td>";

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[4] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[4]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[4]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[5] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[5]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[5]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[6] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[6]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[6]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td>";
             swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "</table>";
            swaptext = swaptext + " <tr>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "  </tr>";
            swaptext = swaptext + "                <br />";
           }
        //    document.getElementById("contentSwitch").innerHTML = oRequest.responseText;
        //  document.getElementById("contentSwitch2").innerHTML =swaptext;
            document.getElementById("contentSwitch1").innerHTML =swaptext;        
            document.getElementById("contentSwitch1").style.display = "";
            document.getElementById("contentSwitch2").style.display = "none";                            
        //    window.scrollBy(0,-1000);
        //    window.scrollBy(0,680);
    }
}

// ms 2009.09.25
function loadCertificats(){
//////////////////////////////////////// LIRE LE FICH HTML
//	var oRequest = new XMLHttpRequest();
//	var sURL  = "/certificats.html";	
//	oRequest.open("GET",sURL,false);
//	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
//	oRequest.send(null)
//	if (oRequest.status==200) {}
//	else {alert("Error executing XMLHttpRequest call!");}
//////////////////////////////////////// LIRE LE FICHIER TEXT
	var oFormattedtext = new XMLHttpRequest();
	var sURLtxt  = "/certificats.txt";
	var arLignes;
	var arCollonnes;
	var contenuedynamique;
	oFormattedtext.open("GET",sURLtxt,false);
	oFormattedtext.setRequestHeader("User-Agent",navigator.userAgent);
	oFormattedtext.send(null);
//	enlever l'entete de fichier 'apropos='
	var newtext = oFormattedtext.responseText.slice(12);
	
	if (oFormattedtext.status==200) {}
	else {alert("Error executing XMLHttpRequest call!");}
	var MyArray2 = newtext.split("¦¤¤¦");
	
	arLignes = 0 ;
	arLignes = MyArray2.length;

    var swaptext = "";

    if (arLignes == 0) {
        document.getElementById("contentSwitch2").style.display = "";                
        document.getElementById("contentSwitch1").style.display = "none";                
    }
    else{
        for (i=1;i<arLignes;i++ )
           {
            var MyArray = MyArray2[i].split("|¤¤|");
	        swaptext = swaptext + "<table width='910' border='0' cellspacing='0' cellpadding='0'>";
	        swaptext = swaptext + "<tr>";
	        swaptext = swaptext + "		<td width='200' align='center' valign='top' class='texte'>";

	        if (MyArray[2] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[2]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[2]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
	        
	        swaptext = swaptext + "		</td> ";
	        swaptext = swaptext + "		<td width='20' align='left' valign='top' class='texte'>&nbsp;</td>";
	        swaptext = swaptext + "		<td colspan='3' align='left' valign='top' class='texte'>";
	        swaptext = swaptext + "<p align='justify'><strong>";
	        
	        if (MyArray[0] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + MyArray[0];}
	        
	        swaptext = swaptext + "				</strong>";
	        swaptext = swaptext + "				<br />";
	        swaptext = swaptext + "				<br />";

	        if (MyArray[1] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + MyArray[1];}
		        
	        swaptext = swaptext + "    		</p>";
	        swaptext = swaptext + "		</td>";
	        swaptext = swaptext + "	</tr>";
	        swaptext = swaptext + "	<tr>";
	        
   	        swaptext = swaptext + "		<td width='200' align='center' valign='top' class='texte'>";
	        
	        if (MyArray[3] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[3]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[3]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
           
	        swaptext = swaptext + "		</td>";	
	        swaptext = swaptext + "        <td width='20' align='center' valign='top' class='texte'> &nbsp;</td>";

   	        swaptext = swaptext + "		<td width='200' align='center' valign='top' class='texte'>";

	        if (MyArray[4] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[4]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[4]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
	        swaptext = swaptext + "		</td>";	

   	        swaptext = swaptext + "		<td width='200' align='center' valign='top' class='texte'>";
	        
	        if (MyArray[5] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[5]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[5]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
	        swaptext = swaptext + "		</td>";	
   	        swaptext = swaptext + "		<td width='200' align='center' valign='top' class='texte'>";
	        
	        if (MyArray[6] == '') {swaptext = swaptext + "";}
	        else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[6]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[6]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
	        
	        swaptext = swaptext + "		</td>";
 	        swaptext = swaptext + "	</tr>";
	        swaptext = swaptext + "</table>";
	        swaptext = swaptext + " <tr>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "  </tr>";
	        swaptext = swaptext + "				<br />";
           }
        //	document.getElementById("contentSwitch").innerHTML = oRequest.responseText;
	    //  document.getElementById("contentSwitch2").innerHTML =swaptext;
            document.getElementById("contentSwitch1").innerHTML =swaptext;        
            document.getElementById("contentSwitch1").style.display = "";
            document.getElementById("contentSwitch2").style.display = "none";                            
        //	window.scrollBy(0,-1000);
        //	window.scrollBy(0,680);
    }
}
// ms 2009.09.25
function loadEvenements(){
//////////////////////////////////////// LIRE LE FICH HTML
//	var oRequest = new XMLHttpRequest();
//	var sURL  = "/evenements.html";	
//	oRequest.open("GET",sURL,false);
//	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
//	oRequest.send(null)
//	if (oRequest.status==200) /*NADA*/;
//	else alert("Error executing XMLHttpRequest call!");
//////////////////////////////////////// LIRE LE FICHIER TEXT
	var oFormattedtext = new XMLHttpRequest();
	var sURLtxt  = "/evenements.txt";
	var arLignes;
	var arCollonnes;
	var contenuedynamique;
	oFormattedtext.open("GET",sURLtxt,false);
	oFormattedtext.setRequestHeader("User-Agent",navigator.userAgent);
	oFormattedtext.send(null);
//	enlever l'entete de fichier 'apropos='
	var newtext = oFormattedtext.responseText.slice(11);
	
	if (oFormattedtext.status==200) /*NADA*/;
	else alert("Error executing XMLHttpRequest call!");
	var MyArray2 = newtext.split("¦¤¤¦");
	
	arLignes = 0;
	arLignes = MyArray2.length;

    var swaptext = "";

    if (arLignes == 0) {
        document.getElementById("contentSwitch2").style.display = "";                
        document.getElementById("contentSwitch1").style.display = "none";                        
    }
    else{
        for (i=1;i<arLignes;i++ )
           {
            var MyArray = MyArray2[i].split("|¤¤|");
            swaptext = swaptext + "<table width='910' border='0' cellspacing='0' cellpadding='0'>";
            swaptext = swaptext + "<tr>";
            swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[2] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[2]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[2]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td> ";
            swaptext = swaptext + "        <td width='20' align='left' valign='top' class='texte'>&nbsp;</td>";
            swaptext = swaptext + "        <td colspan='3' align='left' valign='top' class='texte'>";
            swaptext = swaptext + "<p align='justify'><strong>";
            
            if (MyArray[0] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[0];}
            
            swaptext = swaptext + "                </strong>";
            swaptext = swaptext + "                <br />";
            swaptext = swaptext + "                <br />";

            if (MyArray[1] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[1];}
                
            swaptext = swaptext + "            </p>";
            swaptext = swaptext + "        </td>";
            swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "    <tr>";
            
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[3] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[3]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[3]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
           
            swaptext = swaptext + "        </td>";    
            swaptext = swaptext + "        <td width='20' align='center' valign='top' class='texte'> &nbsp;</td>";

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[4] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[4]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[4]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[5] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[5]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[5]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[6] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[6]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[6]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td>";
             swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "</table>";
            swaptext = swaptext + " <tr>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "  </tr>";
            swaptext = swaptext + "                <br />";            
           }
        //    document.getElementById("contentSwitch").innerHTML = oRequest.responseText;
        //  document.getElementById("contentSwitch2").innerHTML =swaptext;
            document.getElementById("contentSwitch1").innerHTML =swaptext;        
            document.getElementById("contentSwitch1").style.display = "";
            document.getElementById("contentSwitch2").style.display = "none";                            
        //    window.scrollBy(0,-1000);
        //    window.scrollBy(0,680);
    }
}
// ms 2009.09.25
function loadRealisations(){
//	var oRequest = new XMLHttpRequest();
//	var sURL  = "/realisations.html";	
//	oRequest.open("GET",sURL,false);
//	oRequest.setRequestHeader("User-Agent",navigator.userAgent);
//	oRequest.send(null)
//	if (oRequest.status==200) /*NADA*/;
//	else alert("Error executing XMLHttpRequest call!");
//////////////////////////////////////// LIRE LE FICHIER TEXT
	var oFormattedtext = new XMLHttpRequest();
	var sURLtxt  = "/realisations.txt";
	//var Bloc ;

	oFormattedtext.open("GET",sURLtxt,false);
	oFormattedtext.setRequestHeader("User-Agent",navigator.userAgent);
	oFormattedtext.send(null);
//	enlever l'entete de fichier 'realisations='
	var arLignes;
	var arCollonnes;

	var newtext = oFormattedtext.responseText.slice(13);
	
	if (oFormattedtext.status==200) /*NADA*/;
	else alert("Error executing XMLHttpRequest call!");
    var swaptext ="";
	var MyArray2 = newtext.split("¦¤¤¦");

	arLignes = 0 ;
	arLignes = MyArray2.length;

    if (arLignes == 0) {
        document.getElementById("contentSwitch2").style.display = "";                
        document.getElementById("contentSwitch1").style.display = "none"; 
    }
    else{
        for (i=1;i<arLignes;i++ )
           {
            var MyArray = MyArray2[i].split("|¤¤|");
            swaptext = swaptext + "<table width='910' border='0' cellspacing='0' cellpadding='0'>";
            swaptext = swaptext + "<tr>";
            swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[2] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[2]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[2]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td> ";
            swaptext = swaptext + "        <td width='20' align='left' valign='top' class='texte'>&nbsp;</td>";
            swaptext = swaptext + "        <td colspan='3' align='left' valign='top' class='texte'>";
            swaptext = swaptext + "<p align='justify'><strong>";
            
            if (MyArray[0] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[0];}
            
            swaptext = swaptext + "                </strong>";
            swaptext = swaptext + "                <br />";
            swaptext = swaptext + "                <br />";

            if (MyArray[1] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + MyArray[1];}
                
            swaptext = swaptext + "            </p>";
            swaptext = swaptext + "        </td>";
            swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "    <tr>";
            
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[3] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[3]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[3]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
           
            swaptext = swaptext + "        </td>";    
            swaptext = swaptext + "        <td width='20' align='center' valign='top' class='texte'> &nbsp;</td>";

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";

            if (MyArray[4] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[4]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[4]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    

               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[5] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[5]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[5]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            swaptext = swaptext + "        </td>";    
               swaptext = swaptext + "        <td width='200' align='center' valign='top' class='texte'>";
            
            if (MyArray[6] == '') {swaptext = swaptext + "";}
            else {swaptext = swaptext + "<a href='loadedimages/" +MyArray[6]+ "' rel='lightbox' title='' ><img src='loadedimages/" +MyArray[6]+ "' alt=''  width='200' longdesc='http://www.phenixteint.com' style='border:0;' /></a>";}
            
            swaptext = swaptext + "        </td>";
             swaptext = swaptext + "    </tr>";
            swaptext = swaptext + "</table>";
            swaptext = swaptext + " <tr>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top' class='texte'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "    <td height='20' align='center' valign='top'></td>";
            swaptext = swaptext + "  </tr>";
            swaptext = swaptext + "                <br />";            
           }
        //    document.getElementById("contentSwitch").innerHTML = oRequest.responseText;
        //  document.getElementById("contentSwitch2").innerHTML =swaptext;
            document.getElementById("contentSwitch1").innerHTML =swaptext;        
            document.getElementById("contentSwitch1").style.display = "";
            document.getElementById("contentSwitch2").style.display = "none";                            
        //    window.scrollBy(0,-1000);
        //    window.scrollBy(0,680);
    }
}