var titleTmp = "Immobiliere du Rhin";
var title = "";
/*
 function click_me(element)
 {
	 
  	if(navigator.appName == "Microsoft Internet Explorer")
   {//pour ie
  		document.getElementById(element).click();
   }else
   {
	   
	//pour ff
   var evt = document.createEvent("MouseEvents"); // créer un évennement souris
    evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);  // intiailser l'évennement déja crée par un click
    var cb = document.getElementById(element); // pointe sur l'élement
    cb.dispatchEvent(evt);  // envoyer l'évennement vers l'élement
	
   }
 }
 */
 function click_me(element)
{
	if(navigator.appName == "Microsoft Internet Explorer")
   {//pour ie
  		document.getElementById(element).click();
   }else
   {
		if(document.getElementById(element).href.match(new RegExp("javascript:.*"))){
			eval(document.getElementById(element).href);
		} else {
			window.location.href = document.getElementById(element).href;
		}
   }
}

function changerTitle(txt)
{
	document.title = txt;	
}

function creationPage(type)
{
	title = titleTmp;
var code = '<table width="915" cellpadding="0" cellspacing="0" border="0" id="site">';
code += '<tr>';
code += '<td width="6" rowspan="5" class="OmbreSiteGauche"></td>';
code += '        <td width="903" align="center" bgcolor="#1a171b">';
        
code += '        <!-- Menu flash -->';
        
code += '        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="903" height="254" id="FlashID" >';
code += '          <param name="movie" value="menu.swf" />';
code += '          <param name="quality" value="high" />';
code += '          <param name="wmode" value="opaque" />';
code += '		   <param name="FlashVars" value="type='+type+'" />';

code += '          <param name="swfversion" value="9.0.45.0" />';
code += '          <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->';
code += '          <param name="expressinstall" value="scripts/expressInstall.swf" />';
code += '          <!-- La balise <object> suivante est destinée aux navigateurs autres quIE. Supprimez-la dIE à laide dIECC. -->';
code += '          <!--[if !IE]>-->';
code += '          <object type="application/x-shockwave-flash" data="menu.swf" width="903" height="254">';
code += '            <!--<![endif]-->';
code += '            <param name="quality" value="high" />';
code += '            <param name="wmode" value="opaque" />';
code += '            <param name="swfversion" value="9.0.45.0" />';

code += '			 <param name="FlashVars" value="type='+type+'" />';
code += '            <param name="expressinstall" value="scripts/expressInstall.swf" />';
code += '            <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs dun lecteur Flash de version 6.0 ou de versions plus anciennes. -->';
code += '            <div>';
code += '              <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>';
code += '             <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>';
code += '            </div>';
code += '            <!--[if !IE]>-->';
code += '          </object>';
code += '          <!--<![endif]-->';
code += '        </object>';
code += '<!-- Fin menu flash -->';
code += '</td>';
code += '        <td width="6" rowspan="5" class="OmbreSiteDroit"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td height="10" bgcolor="#1a171b"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td width="903" align="left" bgcolor="#1a171b" id="barreTitreMenu">';

code += '        </td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td height="6" bgcolor="#1a171b"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<!-- Centre du site -->';
code += '        <td  bgcolor="#1a171b">';
        
code += '<table width="100%" cellpadding="0" cellspacing="0" border="0" >';
code += '	<!--';
code += '    <tr>';
code += '    	<td align="center" id="ligneLoader"><img id="loader" src="images/ajax-loader.gif" width="32" height="32" alt="Chargement" style="display:none;" /></td>';
code += '    </tr>';
code += '    -->';
code += '    <tr>';
code += '    	<td align="center" id="centreAnnonces">';
      
code += '        </td> ';
code += '   	</tr>';
code += '</table>    ';
code += '<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding:0px;margin:0px;">';
code += '<tr><td align="center"><p style="font-size:11px;">';
code += '<a id="accueilLien" href="javascript:click_me(\'maisonLien\');"></a>';
code += '<a id="maisonLien" href="javascript:changerTitle(\''+title+' | Maison   \')"></a>';
code += '<a id="appartLien" href="javascript:changerTitle(\''+title+' | Appartement   \')"></a>';
code += '<a id="terrainLien" href="javascript:changerTitle(\''+title+' | Terrain   \')"></a>';
code += '<a id="progneufLien" href="javascript:changerTitle(\''+title+' | Programme neuf\')"></a>';
code += '<a id="projetpersoLien" href="javascript:changerTitle(\''+title+' | Projet personnel   \')"></a>';
code += '<a id="locationLien" href="javascript:changerTitle(\''+title+' | Location   \')"></a>';
code += '<a id="batIndLien" href="javascript:changerTitle(\''+title+' | B&acirc;timent Industriel   \')"></a>';
code += '<a id="EnsImmoLien" href="javascript:changerTitle(\''+title+' | Ensemble Immobilier   \')"></a>';
code += '<a id="contactLien" href="javascript:changerTitle(\''+title+' | Contact   \')"></a>';
code += '<a id="planLien" href="javascript:changerTitle(\''+title+' | Plan du site   \')"></a>';
code += '<a href="?type=Accueil" onclick="changerTitle(\''+title+' | Accueil   \')">Accueil</a>';
code += '&nbsp;-&nbsp;<a href="?type=Maison" onclick="changerTitle(\''+title+' | Maison   \')">Maison</a>';
code += '&nbsp;-&nbsp;<a href="?type=Appartement" onclick="changerTitle(\''+title+' | Appartement   \')">Appartement</a>';
code += '&nbsp;-&nbsp;<a href="?type=Terrain" onclick="changerTitle(\''+title+' | Terrain  \')">Terrain</a>';
code += '&nbsp;-&nbsp;<a href="?type=ProgrammeNeuf" onclick="changerTitle(\''+title+' | Programme neuf   \')">Programme neuf</a>';
code += '&nbsp;-&nbsp;<a href="?type=ProjetPersonnel" onclick="changerTitle(\''+title+' | Projet personnel   \')">Projet personnel</a>';
code += '&nbsp;-&nbsp;<a href="?type=Location" onclick="changerTitle(\''+title+' | Location   \')">Location</a>';
code += '&nbsp;-&nbsp;<a href="?type=BatimentIndustriel" onclick="changerTitle(\''+title+' | B&acirc;timent Industriel   \')">B&acirc;timent Industriel</a>';
code += '&nbsp;-&nbsp;<a href="?type=EnsembleImmobilier" onclick="changerTitle(\''+title+' | Ensemble Immobilier   \')">Ensemble Immobilier</a>';
code += '&nbsp;-&nbsp;<a href="?type=Contact" onclick="changerTitle(\''+title+' | Contact   \')">Contact</a>';
code += '&nbsp;-&nbsp;<a href="?type=Plan" onclick="changerTitle(\''+title+' | Plan du site   \')">Plan du site</a>';
code += '</p></td></tr></table>    ';
code += '<br/>';
code += '</td>';

code += '    </tr>';
    
code += '    <tr>';
code += '     <td colspan="3">';
code += '     	<table border="0" width="100%" height="11" cellpadding="0" cellspacing="0">';
code += '        	<tr height="11">';
code += '            	<td width="11" class="OmbreSiteBasGauche"></td>';
code += '                <td width="897" class="OmbreSiteBasCentre"> </td>';
code += '                <td width="11" class="OmbreSiteBasDroit"></td>';
code += '            </tr>';
code += '        </table>';
code += '     </td>';
code += '    </tr>';
code += '    <tr>';
code += '     <td colspan="3">';
code += '     	<table border="0" width="100%" height="10" cellpadding="0" cellspacing="0">';
code += '       	<tr height="7">';
code += '            	<td width="300" align="left"><span class="indications">Copyright Immobili&egrave;re du Rhin 2009</span></td>';
code += '                <td width="320">&nbsp; </td>';
code += '                <td width="150" align="right"><span class="indications"><a href="http://www.forcecom.eu" target="_blank" style="color:#FFF;">R&eacute;alisation Forcecom</a></span></td>';
code += '            </tr>';
code += '        </table>';
code += '     </td>';
code += '    </tr>';
code += '</table>';
code += '<script type="text/javascript">';
code += '<!--';
code += 'swfobject.registerObject("FlashID");';
code += '//-->';
code += '</script>';


document.getElementById("general").innerHTML = code;


/*
switch(type)
{
	case "Accueil":	click_me("accueilLien");break;
	case "Maison": click_me("maisonLien");document.getElementById("maisonLien").click();break;
	case "Appartement":	click_me("appartLien");break;
	case "Terrain":	click_me("terrainLien");break;
	case "ProgrammeNeuf": click_me("progneufLien");break;
	case "ProjetPersonnel":	click_me("projetpersoLien");break;
	case "Location": click_me("locationLien");break;
	case "Contact":	click_me("contactLien");break;
	case "Plan": click_me("planLien");break;
	default:	click_me("accueilLien");break;
}
*/
}


function finIntro()
{
	title = titleTmp;
var code = '<table width="915" cellpadding="0" cellspacing="0" border="0" id="site">';
code += '<tr>';
code += '<td width="6" rowspan="5" class="OmbreSiteGauche"></td>';
code += '        <td width="903" align="center" bgcolor="#1a171b">';
        
code += '        <!-- Menu flash -->';
        
code += '        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="903" height="254" id="FlashID" >';
code += '          <param name="movie" value="menu.swf" />';
code += '          <param name="quality" value="high" />';
code += '          <param name="wmode" value="opaque" />';
code += '          <param name="swfversion" value="9.0.45.0" />';
code += '          <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->';
code += '          <param name="expressinstall" value="scripts/expressInstall.swf" />';
code += '          <!-- La balise <object> suivante est destinée aux navigateurs autres quIE. Supprimez-la dIE à laide dIECC. -->';
code += '          <!--[if !IE]>-->';
code += '          <object type="application/x-shockwave-flash" data="menu.swf" width="903" height="254">';
code += '            <!--<![endif]-->';
code += '            <param name="quality" value="high" />';
code += '            <param name="wmode" value="opaque" />';
code += '            <param name="swfversion" value="9.0.45.0" />';
code += '            <param name="expressinstall" value="scripts/expressInstall.swf" />';
code += '            <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs dun lecteur Flash de version 6.0 ou de versions plus anciennes. -->';
code += '            <div>';
code += '              <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>';
code += '             <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>';
code += '            </div>';
code += '            <!--[if !IE]>-->';
code += '          </object>';
code += '          <!--<![endif]-->';
code += '        </object>';
code += '<!-- Fin menu flash -->';
code += '</td>';
code += '        <td width="6" rowspan="5" class="OmbreSiteDroit"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td height="10" bgcolor="#1a171b"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td width="903" align="left" bgcolor="#1a171b" id="barreTitreMenu">';
    
	
	code += '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	code += '<tr valign="top" height="50px">';
	code += '<td align="center" width="60">';
	code += '<img src="images/titreMenuAccueil.png" width="44" height="44" alt="Accueil" />';
	code += '</td>';
    code += '<td align="left" valign="middle" width="auto">';
	code += '<h1 style="font-size:22px;letter-spacing:6px; margin-top:8px;">Accueil</h1>';
	code += '</td>';
	code += '<td width="auto">';
	code += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	code+= '<object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="40">';
	code+= '<param name="movie" value="sloganAccueil.swf" />';
	code+= ' <param name="quality" value="high" />';
	code+= '<param name="wmode" value="opaque" />';
	code+= '<param name="swfversion" value="6.0.65.0" />';
	code+= '<!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->';
	code+= '<param name="expressinstall" value="Scripts/expressInstall.swf" />';
	code+= '<!-- La balise <object> suivante est destinée aux navigateurs autres quIE. Supprimez-la dIE à laide dIECC. -->';
	code+= '<!--[if !IE]>-->';
	code+= '<object type="application/x-shockwave-flash" data="sloganAccueil.swf" width="500" height="30">';
	code+= ' <!--<![endif]-->';
	code+= '<param name="quality" value="high" />';
	code+= '<param name="wmode" value="opaque" />';
	code+= '<param name="swfversion" value="6.0.65.0" />';
	code+= '<param name="expressinstall" value="Scripts/expressInstall.swf" />';
	code+= ' <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs dun lecteur Flash de version 6.0 ou de versions plus anciennes. -->';
	code+= ' <div>';
	code+= ' <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>';
	code+= ' <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>';
	code+= ' </div>';
	code+= ' <!--[if !IE]>-->';
	code+= ' </object>';
	code+= ' <!--<![endif]-->';
	code+= '</object>';
	code+= '<script type="text/javascript">';
	code+= '<!--';
	code+= 'swfobject.registerObject("FlashID4");';
	code+= '//-->';
	code+= '</script>';
	
	code += '</td>';
	code += '</tr>';
	code += '</table>';
	
	
code += '        </td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<td height="6" bgcolor="#1a171b"></td>';
code += '    </tr>';
code += '    <tr>';
code += '    	<!-- Centre du site -->';
code += '        <td  bgcolor="#1a171b">';
        
code += '<table width="100%" cellpadding="0" cellspacing="0" border="0" >';
code += '	<!--';
code += '    <tr>';
code += '    	<td align="center" id="ligneLoader"><img id="loader" src="images/ajax-loader.gif" width="32" height="32" alt="Chargement" style="display:none;" /></td>';
code += '    </tr>';
code += '    -->';
code += '    <tr>';
code += '    	<td align="center" id="centreAnnonces">';
      
	code += '<table border="0" cellpadding="0" cellspacing="0" class="centreAccueil" width="882" height="934">';
	code += '<tr height="110" valign="top">';
	code += '<td align="left" colspan="2"><p style=" line-height:25px;margin-top:0;margin-bottom:20px;padding-top:20px;padding-left:80px; padding-bottom:0px;"><span style="font-size:14px;font-weight:bold; ">Constructeur de maisons individuelles et petits collectifs depuis plus de 23 ans sous l&acute;ent&ecirc;te de l&acute;entreprise<br/> KARADAG et Fils Construction - <a href="http://www.karadagetfils.com" target="_blank">www.karadagetfils.com</a> -    Nous avons su mettre &agrave; profit notre savoir faire pour<br/> &eacute;largir notre domaine d&acute;activit&eacute; en cr&eacute;ant la soci&eacute;t&eacute;</span></p>';

	
	if(navigator.appName == "Microsoft Internet Explorer")
   	{
		code += '<div style="position:absolute;top:396px;right:510px; width:121px;height:23px;"><img src="images/logo_immoAccueil.png" width="121" height="23" alt="Immobil&egrave;re du Rhin" /></div>';
	}else{
		code += '<div style="position:absolute;top:393px;right:518px; width:121px;height:23px;"><img src="images/logo_immoAccueil.png" width="121" height="23" alt="Immobil&egrave;re du Rhin" /></div>';
	}
	
	code += '</td></tr>';	
	code += '<tr height="220" valign="top">';
	code += '<td align="left" width="814"><p style="margin-top:0;margin-bottom:3px;padding-top:22px;padding-left:30px; padding-bottom:0px;"><span style="font-size:18px; font-weight:bold;">Notre Activit&eacute; :</span> <span style="font-size:14px; ">Marchand de bien immobilier, constructeur et n&eacute;gociateur immobilier et foncier,<br /> nous proposons les services suivants :</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:11px;padding-left:92px; margin:0px;">';
	code += '<b><span style="font-size:16px; font-weight:bold;color:#1a171b;">Terrains :</span></b>';
	code += '<span style="font-size:14px;color:#323235;"> achat et vente</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Maisons :</span>';
	code += '<span style="font-size:14px;color:#323235;"> vente</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Projets personnalis&eacute;s</span>';
	code += '<span style="font-size:14px;color:#323235;"> de construction et r&eacute;novation</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Programmes neufs</span>';
	code += '<span style="font-size:14px;color:#323235;"> maisons / appartements</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Locations</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">N&eacute;gociateur :</span>';
	code += '<span style="font-size:14px;color:#323235;"> immobilier et foncier</span></p>';
	code += '</td>';
	code += '<td width="68" align="left">';
	
	code += '<table border="0" cellpadding="0" cellspacing="0" height="210" width="68">';
    code += '<tr height="142">'; 
    code += '<td></td>';
	code += '<td></td>';
	code += '</tr>';
	code += '<tr height="20">'; 
	code += '<td><a style="display: block;width: 100%;height: 100%;" href="#" title="+33 (0)3 89 55 56 50">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
    code += '<td><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Senden eine e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
	code += '</tr>';
	code += '<tr  height="6">'; 
	code += '<td></td>';
    code += '<td></td>';
	code += '</tr>';
	code += '<tr  height="20">'; 
	code += '<td><a style="display: block;width: 100%;height: 100%;" href="#" title="+33 (0)3 89 55 56 50">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
    code += '<td><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Send an e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
	code += '</tr>';
	code += '<tr height="22">'; 
	code += '<td></td>';
    code += '<td></td>';
	code += '</tr>';
	code += '</table>';
	
	code += '</td>';
	/*
	code += '<div id="telDE" style="position:absolute;top:585px;right:230px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="#" title="0389555650">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="telEN" style="position:absolute;top:612px;right:230px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="#" title="0389555650">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="lienMailDE" style="position:absolute;top:585px;right:200px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Senden eine e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="lienMailEN" style="position:absolute;top:612px;right:200px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Send an e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	*/
	code += '</tr>';
	code += '<tr height="199" valign="top" >';
	code += '<td align="left" colspan="2">';
	code += '<p style="margin-top:0;margin-bottom:3px;padding-top:21px;padding-left:30px;"><span style="font-size:18px; font-weight:bold;">Nos Atouts :</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:10px;padding-left:92px; margin:0px;">';
	code += '<b><span style="font-size:16px; font-weight:bold;color:#ffffff;">Approche particuli&egrave;re en architecture </span></b>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> pour vous offrir un visuel diff&eacute;rent</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Large fichier foncier libre de mandat</span>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> pour vous trouver le terrain id&eacute;al</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Financement de votre projet</span>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> en partenariat avec des banques de renomm&eacute;e</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">N&eacute;gociateur confirm&eacute; et reconnu</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Une qualit&eacute; de service jamais sacrifi&eacute;e</span></p>';
	code += '</td>';
	code += '</tr>';
	code += '<tr height="201" valign="top" >';
	code += '<td colspan="2">';
	code += '<table width="100%" height="100%" cellspacing="0" cellpadding="0" style="cursor:pointer">';
	code += '<tr>';
	
	var sourcesurvol1 = "this.src='images/ensImmoAccueilSurvol.png'";
	var sourcenonsurvol1 = "this.src='images/ensImmoAccueilNonSurvol.png'";
	var fonction1 = "javascript:changementMenu('EnsembleImmobilier','Ville','','','ASC','1','EnsembleImmobilier','false','');";
	
	code += '<td width="434">';
	code += '<img style="cursor:pointer;" src="images/ensImmoAccueilNonSurvol.png" alt="Ensemble immobilier" onmouseover="'+sourcesurvol1+'" onmouseout="'+sourcenonsurvol1+'" onclick="'+fonction1+'"/>';
	code += '</td>';
	
	var sourcesurvol2 = "this.src='images/batIndusAccueilSurvol.png'";
	var sourcenonsurvol2 = "this.src='images/batIndusAccueilNonSurvol.png'";
	var fonction2 = "javascript:changementMenu('BatimentIndustriel','Ville','','','ASC','1','BatimentIndustriel','false','');";
	
	code += '<td width="448">';
	code += '<img style="cursor:pointer;" src="images/batIndusAccueilNonSurvol.png" alt="B&acirc;timent industriel" onmouseover="'+sourcesurvol2+'" onmouseout="'+sourcenonsurvol2+'" onclick="'+fonction2+'"/>';
	code += '</td>';
	
	code += '</tr>';
	code += '</table>';
	code += '</td>';
	code += '</tr>';
	
	code += '<tr height="200">';
	code += '<td colspan="2">';
	code += '<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">';

	code += '<tr><td width="33%" align="left" valign="top">';
	code += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	var sourcesurvol3 = "this.src='images/coupCoeurAccueilSurvole.png'";
	var sourcenonsurvol3 = "this.src='images/coupCoeurAccueilnonSurvole.png'";
	var fonction3 = "javascript:changementMenu('CoupCoeur','Ville','','','ASC','1','CoupCoeur','false','');";
	code += '<img style="margin-top:8px;cursor:pointer;" src="images/coupCoeurAccueilnonSurvole.png" alt="Nos coups de coeur" onmouseover="'+sourcesurvol3+'" onmouseout="'+sourcenonsurvol3+'" onclick="'+fonction3+'"/>';
	code += '</td><td width="33%" align="left" valign="top">';
	code += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	var sourcesurvol4 = "this.src='images/bonnesAffairesAccueilSurvole.png'";
	var sourcenonsurvol4 = "this.src='images/bonnesAffairesAccueilnonSurvole.png'";
	var fonction4 = "javascript:changementMenu('BonneAffaire','Ville','','','ASC','1','BonneAffaire','false','');";
	
	code += '<img style="margin-top:8px;cursor:pointer;" src="images/bonnesAffairesAccueilnonSurvole.png" alt="Les bonnes affaires" onmouseover="'+sourcesurvol4+'" onmouseout="'+sourcenonsurvol4+'" onclick="'+fonction4+'"/>';
	code += '</td><td width="33%" align="right">';
	code += '<p style="padding-bottom:0px; padding-top:0px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.karadagetfils.com" target="_blank"><span style="font-size:14px;">www.karadagetfils.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.sondenecker.fr" target="_blank"><span style="font-size:14px;">www.sondenecker.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.signature-cuisines.com" target="_blank"><span style="font-size:14px;">www.signature-cuisines.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
    code += '<a href="http://www.fermital.fr" target="_blank"><span style="font-size:14px;">www.fermital.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.pool68.com" target="_blank"><span style="font-size:14px;">www.pool68.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.sylstor.com" target="_blank"><span style="font-size:14px;">www.sylstor.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.la-table-de-louise.fr" target="_blank"><span style="font-size:14px;">www.la-table-de-louise.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.batige.com" target="_blank"><span style="font-size:14px;">www.batige.com</span></a></p>';
	code += '</td></tr></table>';

	code += '</td></tr></table>';
	
	  

code += '        </td> ';
code += '   	</tr>';
code += '</table>    ';
code += '<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding:0px;margin:0px;">';
code += '<tr><td align="center"><p style="font-size:11px;">';
code += '<a id="accueilLien" href="javascript:changerTitle(\''+title+' | Accueil   \')"></a>';
code += '<a id="maisonLien" href="javascript:changerTitle(\''+title+' | Maison   \')"></a>';
code += '<a id="appartLien" href="javascript:changerTitle(\''+title+' | Appartement   \')"></a>';
code += '<a id="terrainLien" href="javascript:changerTitle(\''+title+' | Terrain   \')"></a>';
code += '<a id="progneufLien" href="javascript:changerTitle(\''+title+' | Programme neuf\')"></a>';
code += '<a id="projetpersoLien" href="javascript:changerTitle(\''+title+' | Projet personnel   \')"></a>';
code += '<a id="locationLien" href="javascript:changerTitle(\''+title+' | Location   \')"></a>';
code += '<a id="batIndLien" href="javascript:changerTitle(\''+title+' | B&acirc;timent Industriel   \')"></a>';
code += '<a id="EnsImmoLien" href="javascript:changerTitle(\''+title+' | Ensemble Immobilier   \')"></a>';
code += '<a id="contactLien" href="javascript:changerTitle(\''+title+' | Contact   \')"></a>';
code += '<a id="planLien" href="javascript:changerTitle(\''+title+' | Plan du site   \')"></a>';
code += '<a href="?type=Accueil" onclick="changerTitle(\''+title+' | Accueil   \')">Accueil</a>';
code += '&nbsp;-&nbsp;<a href="?type=Maison" onclick="changerTitle(\''+title+' | Maison   \')">Maison</a>';
code += '&nbsp;-&nbsp;<a href="?type=Appartement" onclick="changerTitle(\''+title+' | Appartement   \')">Appartement</a>';
code += '&nbsp;-&nbsp;<a href="?type=Terrain" onclick="changerTitle(\''+title+' | Terrain  \')">Terrain</a>';
code += '&nbsp;-&nbsp;<a href="?type=ProgrammeNeuf" onclick="changerTitle(\''+title+' | Programme neuf   \')">Programme neuf</a>';
code += '&nbsp;-&nbsp;<a href="?type=ProjetPersonnel" onclick="changerTitle(\''+title+' | Projet personnel   \')">Projet personnel</a>';
code += '&nbsp;-&nbsp;<a href="?type=Location" onclick="changerTitle(\''+title+' | Location   \')">Location</a>';
code += '&nbsp;-&nbsp;<a href="?type=BatimentIndustriel" onclick="changerTitle(\''+title+' | B&acirc;timent Industriel   \')">B&acirc;timent Industriel</a>';
code += '&nbsp;-&nbsp;<a href="?type=EnsembleImmobilier" onclick="changerTitle(\''+title+' | Ensemble Immobilier   \')">Ensemble Immobilier</a>';
code += '&nbsp;-&nbsp;<a href="?type=Contact" onclick="changerTitle(\''+title+' | Contact   \')">Contact</a>';
code += '&nbsp;-&nbsp;<a href="?type=Plan" onclick="changerTitle(\''+title+' | Plan du site   \')">Plan du site</a>';
code += '</p></td></tr></table>    ';
code += '</td>';

code += '    </tr>';
    
code += '    <tr>';
code += '     <td colspan="3">';
code += '     	<table border="0" width="100%" height="11" cellpadding="0" cellspacing="0">';
code += '        	<tr height="11">';
code += '            	<td width="11" class="OmbreSiteBasGauche"></td>';
code += '                <td width="897" class="OmbreSiteBasCentre"> </td>';
code += '                <td width="11" class="OmbreSiteBasDroit"></td>';
code += '            </tr>';
code += '        </table>';
code += '     </td>';
code += '    </tr>';
code += '    <tr>';
code += '     <td colspan="3">';
code += '     	<table border="0" width="100%" height="10" cellpadding="0" cellspacing="0">';
code += '       	<tr height="30">';
code += '            	<td width="300" align="left"><span class="indications">Copyright Immobili&egrave;re du Rhin 2009</span></td>';
code += '                <td width="320"></td>';
code += '                <td width="150" align="right"><span class="indications"><a href="http://www.forcecom.eu" target="_blank" style="color:#FFF;">R&eacute;alisation Forcecom</a></span></td>';
code += '            </tr>';
code += '        </table>';
code += '     </td>';
code += '    </tr>';
code += '</table>';
code += '<script type="text/javascript">';
code += '<!--';
code += 'swfobject.registerObject("FlashID");';
code += '//-->';
code += '</script>';


document.getElementById("general").innerHTML = code;

//document.getElementById("accueilLien").click();

	desc = "";
	key = "Immo 68,Maisons sur mesure,Maisons neuves 68,Terrain 68,Appartement 68,Location 68,Projet de construction personnalise, Negociateur immobilier,Maisons de caractere,Karadagetfils,Sondenecker,Signature-cuisines,Fermital,Pool68,sylstor,la-table-de-louise";
	
	modifMeta(desc,key);
}

function phrasesAccroche(choix)
{
	$texte = "";
	switch (choix)
	{
		case "Maison": 
			$texte = "<p style='text-align:justify; margin-bottom:5px;padding-left:45px;padding-right:45px; font-size:13px;'>";
        	$texte += "Nos r&eacute;alisations se d&eacute;marquent par leur <span style='color:#ff8700;'><em>originalit&eacute;</em></span>, leur <span style='color:#ff8700;'><em>modernit&eacute;</em></span> et un <span style='color:#ff8700;'><em>agencement</em></span> en accord avec les modes de vie actuels.<br /></p>";
        	$texte += "<p style='text-align:justify; margin-top:5px;padding-left:45px;padding-right:45px; font-size:13px;'>C&acute;est du <span style='color:#ff8700;'><em>sur mesure</em></span> jusqu&acute;&agrave; vous proposer des ambiances int&eacute;rieures et ext&eacute;rieures, telles que l&acute;&eacute;clairage, l&acute;appareillage, l&acute;am&eacute;nagement ext&egrave;rieur, la d&eacute;coration int&eacute;rieure, <span style='color:#ff8700;'><em>sans frais</em></span>, pris en charge par nos soins.</p>";
			$texte += "<p style='text-align:justify; margin-top:20px;margin-bottom:5px;padding-left:80px;padding-right:45px; font-size:13px; '>";
			$texte += "&raquo;&nbsp;&nbsp;S&eacute;lection et contr&ocirc;le rigoureux de nos sous-traitants<br /></p>";
        	$texte += "<p style='text-align:justify; margin-top:5px;padding-left:80px;padding-right:45px; font-size:13px; '>";
			$texte += "&raquo;&nbsp;&nbsp;Souci permanent de nos engagements envers nos clients</p>";
		
			break;
		case "Appartement": 
			$texte = "<p style='text-align:left; margin-bottom:5px;padding-left:35px;padding-right:35px; font-size:13px;'>";
        	$texte += "1er choix : l&acute;<span style='color:#6dc6e7;'><em>emplacement</em></span>, les <span style='color:#6dc6e7;'><em>commodit&eacute;s</em></span>, la <span style='color:#6dc6e7;'><em>qualit&eacute;</em></span> &agrave; un prix raisonnable, l&acute;<span style='color:#6dc6e7;'><em>agencement personnalis&eacute;</em></span>, toujours des prestations soign&eacute;es.<br /></p>";
        	$texte += "<p style='text-align:left; margin-top:15px;padding-left:35px;padding-right:45px; font-size:13px;'>Mise en place d&acute;une d&eacute;coration sans frais</p>";
			break;
		case "Terrain": 
			
			$texte = "<p style='text-align:justify; margin-bottom:5px;padding-left:45px;padding-right:45px; font-size:13px; '>&raquo;&nbsp;&nbsp;Nous pouvons vous trouver le terrain de vos r&ecirc;ves, ou nous l&acute;avons d&eacute;j&agrave;&hellip;<br /></p>";			
        	
			$texte += "<p style='text-align:justify; margin-top:5px;margin-bottom:5px;padding-left:45px;padding-right:45px; font-size:13px; '>&raquo;&nbsp;&nbsp;Terrains avec Certificat d&acute;Urbanisme (CU), <span style='color:#838e35;'><em>hors lotissement</em></span> dans cadre verdoyant, <span style='color:#838935;'><em>situation privil&eacute;gi&eacute;e</em></span> et vue d&eacute;gag&eacute;e</p>";
			
			$texte += "<p style='text-align:justify; margin-top:5px;margin-bottom:20px;padding-left:45px;padding-right:45px; font-size:13px; '>&raquo;&nbsp;&nbsp;En recherche permanente de nouveaux terrains</p>";
			break;
		case "ProgrammeNeuf": break;
		case "Location":
			$texte = "<p style='text-align:justify; margin-bottom:20px;padding-left:45px;padding-right:45px; font-size:13px; '>&raquo;&nbsp;&nbsp;Maisons, appartements, locaux commerciaux et industriels</p>";	
			
			break;
		default:break;
	}
	
	return $texte;
}

function changementMenu(choix,tri,prixMin,prixMax,croissant,page_num,typeInit,detail,reference,codepostal,ville,surface)
{
	//document.title = document.title + " | "+choix;
	
	titre = choix;
	petit = false;
	if(titre == "ProgrammeNeuf"){
		titre = "Programme neuf";
		petit = true;	
	}
	else if(titre == "ProjetPersonnel") titre = "Projet personnel";
	else if(titre == "BatimentIndustriel"){ titre = "B&acirc;timents industriels"; petit = true;}
	else if(titre == "EnsembleImmobilier"){ titre = "Ensembles immobiliers";petit = true;}
	
	
	var code = '<table align="center" border="0" cellpadding="0" cellspacing="0">';
   	code += '<tr>';
    code += '<td align="center">';	
	code += '<form action="#" method="get">';
    code += '<table border="0" height="auto" width="870" cellpadding="0" cellspacing="0">';
    code += '<tr valign="middle" height="30">';
    code += '<td width="6" class="barreCoinGauche'+ typeInit +'"></td>';
    code += '<td width="10" align="left" class="TitreBarre'+ typeInit +'"></td>';
                    
    code += '<td width="540" align="left" class="TitreBarre'+ typeInit +'">';
    code += '<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" >';
    code += '<tr valign="top">';
	<!-- Les image de la barre de titre ne sont plus utilisées dans cette version: on écrit directement le titre -->
    code += '<td><h1 style="margin:0px;padding:0px;font-size:22px;letter-spacing:6px;">'+ titre +'<span id="detailTitre"';	
	if(petit)
	{
		code += 'style="font-size:14px;';	
	}else{
		code += 'style="font-size:16px;';
	}
	code += 'letter-spacing:1px;"></span></h1></td>';
    code += '</tr>';
    code += '</table>';
    code += '</td>';
    code += '<td width="330" class="barreCentre'+ typeInit +'" align="right" valign="top" id="barreTitreSelection">';
    code += '<input id="choixMenu" value="'+ typeInit +'" style="visibility:hidden;width:5px" />';
    code += '<span class="recherche">Trier par : </span>';
    code += '<select id="trierPar" style="height:19px; font-size:11px; width:70px; " onchange="choixTri(this)"  >';
    code += '<option name="Ville" title="Ville" value="Ville"';
	if(tri == "Ville") 
	code += 'selected="selected"'; 
	code += '>Ville</option>';
	code += '<option name="Surface" title="Surface" value="Surface"'; 
	if(tri == "Surface") 
	code += 'selected="selected"'; 
	code += '>Surface</option>';
    code += '<option name="Prix" title="Prix" value="Prix"'; 
	if(tri == "Prix") 
	code += 'selected="selected"'; 
	code += '>Prix</option>';
    code += '<option name="Budget" title="Budget" value="Budget"'; 
	if(tri == "Budget") 
	code += 'selected="selected"'; 	
	code += '>Budget</option>';
    code += '</select>';
    code += '&nbsp;&nbsp;';
    code += '<span class="recherche">Affichage : </span>';
    code += '<select id="affichage"  style="height:19px;font-size:11px; width:90px;" onchange="afficherDonnees(false,1)">';
    code += '<option name="croissant" title="Croissant"';
	if(croissant == "ASC") 
	code += 'selected="selected"'; 	
	code += '>Croissant</option>';
    code += '<option name="decroissant" title="Decroissant"'; 
	if(croissant == "DESC") 
	code += 'selected="selected"'; 
	code += '>D&eacute;croissant</option>';
    code += '</select>';
    code += '&nbsp;&nbsp;';
    code += '</td>';
    code += '<td width="5" class="barreCoinDroit'+ typeInit +'"></td>';
    code += '</tr>';
    code += '<tr height="auto">';
    code += '<td colspan="5" valign="middle">';
	if(tri != "Budget")
    code += '<table id="rechercheBudget" style="display:none;"  width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">';
	else
	code += '<table id="rechercheBudget"  width="100%" height="100%" height="28" border="0" cellpadding="0" cellspacing="0">';
    code += '<tr >';
    code += '<td width="500">&nbsp;</td>';
    code += '<td width="252" bgcolor="#000000" align="left" valign="middle" >';
    code += '&nbsp;&nbsp;&nbsp;<span class="recherche">Entre : </span>';
    code += '&nbsp;<input id="Inf" name="Inf" title="Le prix le plus bas" maxlength="7" style="width:50px;height:13px;font-size:10px;" value="'+ prixMin +'" />';
    code += '&nbsp;<span class="recherche">&euro;&nbsp;&nbsp;&nbsp;et : </span>';
    code += '&nbsp;<input id="Sup" name="Sup" title="Le prix le plus &eacute;lev&eacute;" maxlength="7" style="width:50px;height:13px;font-size:10px;" value="'+ prixMax +'"/>&nbsp;<span class="recherche">&euro;</span>';
    code += '</td>';
    code += '<td width="35" bgcolor="#000000" align="left" class="validerRecherche" >';
                                
    code += '<a href="javascript:afficherDonnees(false,1);" ><img src="images/validerRecherche.png" width="29" height="15" alt="Valider votre recherche" /></a></td>';
    code += '<td width="13" bgcolor="#000000"></td>';
    code += '<td width="70"></td></tr>';
    code += '<tr>';
    code += '<td></td>';
    code += '<td bgcolor="#000000" colspan="3" id="erreurBudget" style="display:none;" align="center"></td>';
    code += '<td ></td>';
    code += '</tr>';
    code += '</table>';
    code += '</td>';
    code += '</tr>';
    code += '</table>';
    code += '</form>';
	code += '</td>';
	code += '</tr>';
	code += '</table>';
	
	
	document.getElementById('barreTitreMenu').innerHTML = code;
	
	if(choix != "ProjetPersonnel"){
		if(detail == "false")
			afficherListe(choix,tri,prixMin,prixMax,croissant,page_num,typeInit);
		else
		{
			rangImgInf = "0";
			choixInit = choix;
			afficherDetail(choix,tri,prixMin,prixMax,croissant,page_num,reference,rangImgInf,choixInit,codepostal,ville,surface);
		}
	}else{
		menuProjetPersonnel();
	}
}

function menuProjetPersonnel()
{ 	
	
	
	var code= '<table width="90%" cellpadding="0" cellspacing="0" border="0"  >';
	code += '<tr><td align="center" colspan="2">';
	code += '<table class="annonce" width="874" border="0" cellspacing="0" cellpadding="0" bgcolor="#2c282c">';
	code += '<tr height="4"><td colspan="2" rowspan="2" width="12" class="AnnonceAngleHautGauche"></td>';
	code += '<td width="auto" class="AnnonceHaut"></td>';
	code += '<td colspan="2" rowspan="2" width="12" class="AnnonceAngleHautDroit"></td></tr>';
	code += '<tr height="8"><td></td></tr><tr>';
	code += '<td width="4" class="AnnonceGauche"></td><td width="8"></td><td>';
	code += '<!-- intérieur annonce -->';
	code += '<table border="0" cellpadding="0" cellspacing="0" width="100%" height="auto">';
	code += '<tr><td><p style="text-align:justify; margin-top:15px; margin-bottom:5px;padding-left:20px;padding-right:45px;">';
	code += '<span style="font-size:14px;font-weight:bold;">Possibilit&eacute; de conception d&acute;un projet personnalis&eacute;</span><span style="font-size:12px;font-weight:normal;"> correspondant aux attentes sp&eacute;cifiques de chaque client (options hors d&acute;eau / hors d&acute;air / cl&eacute;s en main).</span><br /><br />';
	code += '<span style="font-size:14px;font-weight:bold;">Approche globale et pr&eacute;cise </span><span style="font-size:12px;font-weight:normal;"> dans la r&eacute;alisation de VOTRE projet de construction, avec suivi en ma&icirc;trise d&acute;&oelig;uvre par un seul et unique interlocuteur.</span><br /><br /><br />';
	code += '<span style="font-size:16px;">Forts de notre exp&eacute;rience, nous sommes en mesure de prendre en main les diff&eacute;rentes &eacute;tapes de votre projet :</span>';
	code += '</p></td></tr>';
	code += '<tr class="projetPersoParagraphe1"><td align="left">';
	code += '<ul class="paragraphe">';
	code += '<li class="puce">Recherche ou mise &agrave; disposition du terrain</li>';
	code += '<li class="puce">Avant projet par un architecte et estimation du budget</li>';
	code += '<li class="puce"><span style="color:#dbb175">Financement</span> en partenariat avec des banques de renomm&eacute;e</li>';
	code += '<li class="puce">Relations privil&eacute;gi&eacute;es avec les organismes d&acute;assurance en vue de l&acute;obtention de l&acute;Assurance Dommages Ouvrages (DO)</li>';
	code += ' <li class="puce">Nous nous occupons des <span style="color:#dbb175">d&eacute;marches administratives</span> telles que Demande Pr&eacute;alable (DP), Certificat d&acute;Urbanisme (CU), &hellip;</li>';
	code += '</ul><br /><br /><br />';
	
	if(navigator.appName == "Microsoft Internet Explorer")
   	{
		code += '<div id="image1ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:435px;right:220px;width:400px;height:250px;" onmouseout="imageZoomer(\'image1ProjetPerso\',2)"><img src="images/image1.jpg" width="425" height="282" /></div>';
	
		code += '<div id="image1ProjetPerso" style="position:absolute;top:544px;right:220px;width:210px;height:140px;" onmouseover="imageZoomer(\'image1ProjetPerso\',1)"  >';
	}else{
		code += '<div id="image1ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:421px;right:220px;width:400px;height:250px;" onmouseout="imageZoomer(\'image1ProjetPerso\',2)"><img src="images/image1.jpg" width="425" height="282" /></div>';
	
		code += '<div id="image1ProjetPerso" style="position:absolute;top:530px;right:220px;width:210px;height:140px;" onmouseover="imageZoomer(\'image1ProjetPerso\',1)"  >';
	}
	
	
	code += '</td></tr>';
	code += '<tr class="projetPersoParagraphe2"><td align="left">';
	code += '<ul class="paragraphe">';
	code += '<li class="puce"><span style="color:#dbb175">Plans par un architecte DPLG</span></li>';
	code += '<li class="puce">Demande et suivi de l&acute;obtention du permis de construire</li>';
	code += '<li class="puce"><span style="color:#dbb175">Demandes de devis</span> aupr&egrave;s des diff&eacute;rents sous-traitants (entreprises partenaires ou choisies par vos soins)</li>';
	code += '<li class="puce">N&eacute;gociation en vue d&acute;<span style="color:#dbb175">obtenir les meilleures conditions tarifaires</span></li>';
	code += '<li class="puce">Assistance dans le choix des sous-traitants</li>';
	code += '<li class="puce"><span style="color:#dbb175">Suivi des travaux</span></li>';
	code += '</ul><br /><br /><br />';
	
	if(navigator.appName == "Microsoft Internet Explorer")
   	{
		code += '<div id="image2ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:550px;right:140px;width:400px;height:250px;" onmouseout="imageZoomer(\'image2ProjetPerso\',2)"><img src="images/image2.jpg" width="346" height="346" /></div>';
	
		code += '<div id="image2ProjetPerso" style="position:absolute;top:755px;right:220px;width:148px;height:140px;" onmouseover="imageZoomer(\'image2ProjetPerso\',1)"  >';
	}else{
		code += '<div id="image2ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:544px;right:150px;width:400px;height:250px;" onmouseout="imageZoomer(\'image2ProjetPerso\',2)"><img src="images/image2.jpg" width="346" height="346" /></div>';
	
		code += '<div id="image2ProjetPerso" style="position:absolute;top:740px;right:220px;width:148px;height:140px;" onmouseover="imageZoomer(\'image2ProjetPerso\',1)"  >';
	}
	
	
	code += '</td></tr><tr class="projetPersoParagraphe3"><td align="left">';
	code += '<ul class="paragrapheBis">';
	code += '<li class="puceBis">Conseil par une d&eacute;coratrice pour la d&eacute;coration int&eacute;rieure et agencement (rev&ecirc;tements de sol et muraux,  meuble de salle de bain, placard sur mesure / dressing, cuisine, cr&eacute;pis, &hellip;)</li>';
	code += '<li class="puceBis">Conseil en &eacute;clairage et choix des appareillages lumineux</li>';
	code += '<li class="puceBis">Am&eacute;nagement ext&eacute;rieur paysag&eacute;</li>';
	code += '<li class="puceBis"><span style="color:#dbb175">R&eacute;ception et remise des cl&eacute;s</span></li>';
	code += '</ul><br /><br /><br />';
	
	if(navigator.appName == "Microsoft Internet Explorer")
   	{
		code += '<div id="image3ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:820px;right:195px;width:400px;height:250px;" onmouseout="imageZoomer(\'image3ProjetPerso\',2)"><img src="images/image3.jpg" width="395" height="304" /></div>';
	
		code += '<div id="image3ProjetPerso" style="position:absolute;top:975px;right:220px;width:178px;height:140px;" onmouseover="imageZoomer(\'image3ProjetPerso\',1)"  >';
	}else{
		code += '<div id="image3ProjetPersoZOOM" style="z-index:100;display:none;position:absolute;top:820px;right:190px;width:400px;height:250px;" onmouseout="imageZoomer(\'image3ProjetPerso\',2)"><img src="images/image3.jpg" width="395" height="304" /></div>';
	
		code += '<div id="image3ProjetPerso" style="position:absolute;top:955px;right:220px;width:178px;height:140px;" onmouseover="imageZoomer(\'image3ProjetPerso\',1)"  >';
	}
	
	code += '</td></tr></table>';
	code += '<!-- fin intérieur annonce -->';
	code += '</td><td width="9"></td>';
	code += '<td width="4"  class="AnnonceDroit"></td>';
	code += '</tr><tr>';
	code += '<td colspan="2" rowspan="2" width="12" class="AnnonceAngleBasGauche"></td>';
	code += '<td height="8"></td>';
	code += '<td colspan="2" rowspan="2" width="12" class="AnnonceAngleBasDroit"></td>';
	code += '</tr>';
	code += '<tr>';
	code += '<td height="4" class="AnnonceBas"></td>';
	code += '</tr>';
	code += '</table>';
	code += '</td>';
	code += '</tr>';
	code += '</table>';
          
	document.getElementById('barreTitreSelection').innerHTML = "";
	document.getElementById('rechercheBudget').style.display = "none";
		  
	document.getElementById('centreAnnonces').innerHTML = code;

	desc = "";
	key = "Immo 68,Maisons sur mesure,Maisons neuves 68,Terrain 68,Appartement 68,Location 68,Projet de construction personnalise, Negociateur immobilier,Maisons de caractere,Karadagetfils,Sondenecker,Signature-cuisines,Fermital,Pool68,sylstor,la-table-de-louise,batige";
	
	modifMeta(desc,key);
}

function menuContact()
{
	
	var codeBarre = '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	codeBarre += '<tr valign="top" height="50px">';
	codeBarre += '<td align="center" width="60">';
	codeBarre += '<img src="images/titreMenuContact.png" width="44" height="44" alt="Contact" />';
	codeBarre += '</td>';
    codeBarre += '<td align="left" valign="middle" width="auto">';
	codeBarre += '<h1 style="font-size:22px;letter-spacing:6px; margin-top:8px;">Contact</h1>';
	codeBarre += '</td>';
	codeBarre += '</tr>';
    codeBarre += '</table>';   	
            	
    document.getElementById('barreTitreMenu').innerHTML = codeBarre;   
	
	
	
	var code = '<object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="880" height="376">';
	code += '<param name="movie" value="contact_general.swf" />';
	code += '<param name="quality" value="high" />';
	code += '<param name="wmode" value="opaque" />';
	code += '<param name="swfversion" value="9.0.45.0" />';
	code += '<!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->';
	code += '<param name="expressinstall" value="scripts/expressInstall.swf" />';
	code += '<!-- La balise <object> suivante est destinée aux navigateurs autres quIE. Supprimez-la dIE à laide dIECC. -->';
	code += '<!--[if !IE]>-->';
	code += '<object type="application/x-shockwave-flash" data="contact_general.swf" width="880" height="376">';
	code += '<!--<![endif]-->';
	code += '<param name="quality" value="high" />';
	code += '<param name="wmode" value="opaque" />';
	code += '<param name="swfversion" value="9.0.45.0" />';
	code += '<param name="expressinstall" value="scripts/expressInstall.swf" />';
	code += '<!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs dun lecteur Flash de version 6.0 ou de versions plus anciennes. -->';
	code += '<div>';
	code += '<h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>';
	code += '<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" /></a></p>';
	code += '</div>';
	code += '<!--[if !IE]>-->';
	code += '</object>';
	code += '<!--<![endif]-->';
	code += '</object>';
	code += '<script type="text/javascript">';
	code += '<!--';
	code += 'swfobject.registerObject("FlashID3");';
	code += '//-->';
	code += '</script>';
	

            
    document.getElementById('centreAnnonces').innerHTML = code;  
	
	desc = "";
	key = "Immo 68,Maisons sur mesure,Maisons neuves 68,Terrain 68,Appartement 68,Location 68,Projet de construction personnalise, Negociateur immobilier,Maisons de caractere,Karadagetfils,Sondenecker,Signature-cuisines,Fermital,Pool68,sylstor,la-table-de-louise,batige";
	
	modifMeta(desc,key);

}

function menuAccueil()
{
	var codeBarre = '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	codeBarre += '<tr valign="top" height="50px">';
	codeBarre += '<td align="center" width="60">';
	codeBarre += '<img src="images/titreMenuAccueil.png" width="44" height="44" alt="Accueil" />';
	codeBarre += '</td>';
    codeBarre += '<td align="left" valign="middle" width="auto">';
	codeBarre += '<h1 style="font-size:22px;letter-spacing:6px; margin-top:8px;">Accueil</h1>';
	codeBarre += '</td>';
	codeBarre += '<td width="auto">';
	codeBarre += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	codeBarre+= '<object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="40">';
	codeBarre+= '<param name="movie" value="sloganAccueil.swf" />';
	codeBarre+= ' <param name="quality" value="high" />';
	codeBarre+= '<param name="wmode" value="opaque" />';
	codeBarre+= '<param name="swfversion" value="6.0.65.0" />';
	codeBarre+= '<!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->';
	codeBarre+= '<param name="expressinstall" value="Scripts/expressInstall.swf" />';
	codeBarre+= '<!-- La balise <object> suivante est destinée aux navigateurs autres quIE. Supprimez-la dIE à laide dIECC. -->';
	codeBarre+= '<!--[if !IE]>-->';
	codeBarre+= '<object type="application/x-shockwave-flash" data="sloganAccueil.swf" width="500" height="30">';
	codeBarre+= ' <!--<![endif]-->';
	codeBarre+= '<param name="quality" value="high" />';
	codeBarre+= '<param name="wmode" value="opaque" />';
	codeBarre+= '<param name="swfversion" value="6.0.65.0" />';
	codeBarre+= '<param name="expressinstall" value="Scripts/expressInstall.swf" />';
	codeBarre+= ' <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs dun lecteur Flash de version 6.0 ou de versions plus anciennes. -->';
	codeBarre+= ' <div>';
	codeBarre+= ' <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>';
	codeBarre+= ' <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>';
	codeBarre+= ' </div>';
	codeBarre+= ' <!--[if !IE]>-->';
	codeBarre+= ' </object>';
	codeBarre+= ' <!--<![endif]-->';
	codeBarre+= '</object>';
	codeBarre+= '<script type="text/javascript">';
	codeBarre+= '<!--';
	codeBarre+= 'swfobject.registerObject("FlashID5");';
	codeBarre+= '//-->';
	codeBarre+= '</script>';
	
	codeBarre += '</td>';
	codeBarre += '</tr>';
	codeBarre += '</table>';
            	
    document.getElementById('barreTitreMenu').innerHTML = codeBarre;   	    
                

	var code = '<table border="0" cellpadding="0" cellspacing="0" class="centreAccueil" width="882" height="934">';
	code += '<tr height="110" valign="top">';
	code += '<td align="left" colspan="2"><p style=" line-height:25px;margin-top:0;margin-bottom:20px;padding-top:20px;padding-left:80px; padding-bottom:0px;"><span style="font-size:14px;font-weight:bold; ">Constructeur de maisons individuelles et petits collectifs depuis plus de 23 ans sous l&acute;ent&ecirc;te de l&acute;entreprise<br/> KARADAG et Fils Construction - <a href="http://www.karadagetfils.com" target="_blank">www.karadagetfils.com</a> -    Nous avons su mettre &agrave; profit notre savoir faire pour<br/> &eacute;largir notre domaine d&acute;activit&eacute; en cr&eacute;ant la soci&eacute;t&eacute;</span></p>';

	
	if(navigator.appName == "Microsoft Internet Explorer")
   	{
		code += '<div style="position:absolute;top:396px;right:510px; width:121px;height:23px;"><img src="images/logo_immoAccueil.png" width="121" height="23" alt="Immobil&egrave;re du Rhin" /></div>';
	}else{
		code += '<div style="position:absolute;top:393px;right:518px; width:121px;height:23px;"><img src="images/logo_immoAccueil.png" width="121" height="23" alt="Immobil&egrave;re du Rhin" /></div>';
	}
	
	code += '</td></tr>';	
	code += '<tr height="220" valign="top">';
	code += '<td align="left" width="814"><p style="margin-top:0;margin-bottom:3px;padding-top:22px;padding-left:30px; padding-bottom:0px;"><span style="font-size:18px; font-weight:bold;">Notre Activit&eacute; :</span> <span style="font-size:14px; ">Marchand de bien immobilier, constructeur et n&eacute;gociateur immobilier et foncier,<br /> nous proposons les services suivants :</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:11px;padding-left:92px; margin:0px;">';
	code += '<b><span style="font-size:16px; font-weight:bold;color:#1a171b;">Terrains :</span></b>';
	code += '<span style="font-size:14px;color:#323235;"> achat et vente</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Maisons :</span>';
	code += '<span style="font-size:14px;color:#323235;"> vente</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Projets personnalis&eacute;s</span>';
	code += '<span style="font-size:14px;color:#323235;"> de construction et r&eacute;novation</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Programmes neufs</span>';
	code += '<span style="font-size:14px;color:#323235;"> maisons / appartements</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">Locations</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#1a171b;">N&eacute;gociateur :</span>';
	code += '<span style="font-size:14px;color:#323235;"> immobilier et foncier</span></p>';
	code += '</td>';
	code += '<td width="68" align="left">';
	
	code += '<table border="0" cellpadding="0" cellspacing="0" height="210" width="68">';
    code += '<tr height="142">'; 
    code += '<td></td>';
	code += '<td></td>';
	code += '</tr>';
	code += '<tr height="20">'; 
	code += '<td><a style="display: block;width: 100%;height: 100%;" href="#" title="+33 (0)3 89 55 56 50">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
    code += '<td><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Senden eine e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
	code += '</tr>';
	code += '<tr  height="6">'; 
	code += '<td></td>';
    code += '<td></td>';
	code += '</tr>';
	code += '<tr  height="20">'; 
	code += '<td><a style="display: block;width: 100%;height: 100%;" href="#" title="+33 (0)3 89 55 56 50">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
    code += '<td><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Send an e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></td>';
	code += '</tr>';
	code += '<tr height="22">'; 
	code += '<td></td>';
    code += '<td></td>';
	code += '</tr>';
	code += '</table>';
	
	code += '</td>';
	/*
	code += '<div id="telDE" style="position:absolute;top:585px;right:230px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="#" title="0389555650">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="telEN" style="position:absolute;top:612px;right:230px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="#" title="0389555650">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="lienMailDE" style="position:absolute;top:585px;right:200px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Senden eine e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	code += '<div id="lienMailEN" style="position:absolute;top:612px;right:200px; width:25px;height:23px;"><a style="display: block;width: 100%;height: 100%;" href="mailto:immodurhin@orange.fr" title="Send an e-mail">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a></div>';
	*/
	code += '</tr>';
	code += '<tr height="199" valign="top" >';
	code += '<td align="left" colspan="2">';
	code += '<p style="margin-top:0;margin-bottom:3px;padding-top:21px;padding-left:30px;"><span style="font-size:18px; font-weight:bold;">Nos Atouts :</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:10px;padding-left:92px; margin:0px;">';
	code += '<b><span style="font-size:16px; font-weight:bold;color:#ffffff;">Approche particuli&egrave;re en architecture </span></b>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> pour vous offrir un visuel diff&eacute;rent</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Large fichier foncier libre de mandat</span>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> pour vous trouver le terrain id&eacute;al</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Financement de votre projet</span>';
	code += '<span style="font-size:14px;color:#a2a5a4;"> en partenariat avec des banques de renomm&eacute;e</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">N&eacute;gociateur confirm&eacute; et reconnu</span></p>';
	code += '<p style="padding-bottom:0px; padding-top:2px;padding-left:92px; margin:0px;">';
	code += '<span style="font-size:16px; font-weight:bold;color:#ffffff;">Une qualit&eacute; de service jamais sacrifi&eacute;e</span></p>';
	code += '</td>';
	code += '</tr>';
	code += '<tr height="160" valign="top" >';
	code += '<td colspan="2">';
	code += '<table width="100%" height="100%" cellspacing="0" cellpadding="0" style="cursor:pointer">';
	code += '<tr>';
	
	
	var sourcesurvol1 = "this.src='images/ensImmoAccueilSurvol.png'";
	var sourcenonsurvol1 = "this.src='images/ensImmoAccueilNonSurvol.png'";
	var fonction1 = "javascript:changementMenu('EnsembleImmobilier','Ville','','','ASC','1','EnsembleImmobilier','false','');";
	
	code += '<td width="434">';
	code += '<img style="cursor:pointer;" src="images/ensImmoAccueilNonSurvol.png" alt="Ensemble immobilier" onmouseover="'+sourcesurvol1+'" onmouseout="'+sourcenonsurvol1+'" onclick="'+fonction1+'"/>';
	code += '</td>';
	
	var sourcesurvol2 = "this.src='images/batIndusAccueilSurvol.png'";
	var sourcenonsurvol2 = "this.src='images/batIndusAccueilNonSurvol.png'";
	var fonction2 = "javascript:changementMenu('BatimentIndustriel','Ville','','','ASC','1','BatimentIndustriel','false','');";
	
	code += '<td width="448">';
	code += '<img style="cursor:pointer;" src="images/batIndusAccueilNonSurvol.png" alt="B&acirc;timent industriel" onmouseover="'+sourcesurvol2+'" onmouseout="'+sourcenonsurvol2+'" onclick="'+fonction2+'"/>';
	code += '</td>';
	
	code += '</tr>';
	code += '</table>';
	code += '</td>';
	code += '</tr>';
	
	code += '<tr height="200">';
	code += '<td colspan="2">';
	code += '<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">';
    
	code += '<tr><td width="33%" align="left" valign="top">';
	code += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	var sourcesurvol3 = "this.src='images/coupCoeurAccueilSurvole.png'";
	var sourcenonsurvol3 = "this.src='images/coupCoeurAccueilnonSurvole.png'";
	var fonction3 = "javascript:changementMenu('CoupCoeur','Ville','','','ASC','1','CoupCoeur','false','');";
	code += '<img style="margin-top:8px;cursor:pointer;" src="images/coupCoeurAccueilnonSurvole.png" alt="Nos coups de coeur" onmouseover="'+sourcesurvol3+'" onmouseout="'+sourcenonsurvol3+'" onclick="'+fonction3+'"/>';
	code += '</td><td width="33%" align="left" valign="top">';
	code += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	
	var sourcesurvol4 = "this.src='images/bonnesAffairesAccueilSurvole.png'";
	var sourcenonsurvol4 = "this.src='images/bonnesAffairesAccueilnonSurvole.png'";
	var fonction4 = "javascript:changementMenu('BonneAffaire','Ville','','','ASC','1','BonneAffaire','false','');";
	
	code += '<img style="margin-top:8px;cursor:pointer;" src="images/bonnesAffairesAccueilnonSurvole.png" alt="Les bonnes affaires" onmouseover="'+sourcesurvol4+'" onmouseout="'+sourcenonsurvol4+'" onclick="'+fonction4+'"/>';
	code += '</td><td width="33%" align="right">';
	code += '<p style="padding-bottom:0px; padding-top:0px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.karadagetfils.com" target="_blank"><span style="font-size:14px;">www.karadagetfils.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.sondenecker.fr" target="_blank"><span style="font-size:14px;">www.sondenecker.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.signature-cuisines.com" target="_blank"><span style="font-size:14px;">www.signature-cuisines.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
    code += '<a href="http://www.fermital.fr" target="_blank"><span style="font-size:14px;">www.fermital.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.pool68.com" target="_blank"><span style="font-size:14px;">www.pool68.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.sylstor.com" target="_blank"><span style="font-size:14px;">www.sylstor.com</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.la-table-de-louise.fr" target="_blank"><span style="font-size:14px;">www.la-table-de-louise.fr</span></a></p>';
	code += '<p style="padding-bottom:0px; padding-top:3px;padding-right:30px; margin:0px;">';
	code += '<a href="http://www.batige.com" target="_blank"><span style="font-size:14px;">www.batige.com</span></a></p>';
	code += '</td></tr></table>';

	code += '</td></tr></table>';
	

	document.getElementById('centreAnnonces').innerHTML = code;
	
	desc = "";
	key = "Immo 68,Maisons sur mesure,Maisons neuves 68,Terrain 68,Appartement 68,Location 68,Projet de construction personnalise, Negociateur immobilier,Maisons de caractere,Karadagetfils,Sondenecker,Signature-cuisines,Fermital,Pool68,sylstor,la-table-de-louise";
	
	modifMeta(desc,key);
}

function menuPlan()
{	

	new Ajax.Request('./plansite.php',
	{
		method:'get', // Use the 'GET' method
		onLoading: function()
		{
			
			
		},
		
		onSuccess: function(transport)
		{
			// Carry out the action when the AJAX is successful.
			var response = transport.responseText || "Pas de r&eacute;ponse";
			
			
			document.getElementById('centreAnnonces').innerHTML = response; // Put the response into the 'album' div
			
		},
		onFailure: function()
		{
			document.getElementById('centreAnnonces').innerHTML = "Probl&egrave;me de chargement de la page. Veuillez nous excuser !!!";
		}
	});


}




function afficherListe(choix,tri,prixMin,prixMax,croissant,page_num,choixInit)
{	
//alert("choix="+choix+" tri="+tri+" prixMin="+prixMin+" prixMax="+prixMax+" croissant="+croissant+" page_num="+page_num);

	
	//document.getElementById('centreAnnonces').innerHTML = "";
	
	switch(choix)
	{
		case "Maison": 
			desc= "Achat de jolie maison Alsace haut-rhin 68";
			key= "Achat,Vente,Maison Alsace Haut-Rhin 68,Maisons de caractere,Maison neuves";
			break;
		case "Appartement": 
			desc= "Achat de jolie appartement Alsace haut-rhin 68";
			key= "Achat,Vente,Appartement Alsace Haut-Rhin 68";
			break;
		case "Terrain": 
			desc= "Achat de terrain Alsace haut-rhin 68";
			key= "Achat,Vente,Terrain Alsace Haut-Rhin 68";
			break;
		case "ProgrammeNeuf": 
			desc= "programme neuf Alsace haut-rhin 68";
			key= "Achat,Vente,Programme neuf Alsace Haut-Rhin 68";
			break;
		case "Location": 
			desc= "Location appartement Alsace haut-rhin 68";
			key= "Location,Appartement Alsace Haut-Rhin 68";
			break;
		case "BatimentIndustriel": 
			desc= "Achat batiment industriel Alsace haut-rhin 68";
			key= "Achat,Batiment indutriel Alsace Haut-Rhin 68";
			break;
		case "EnsembleImmobilier": 
			desc= "Achat ensemble immobilier Alsace haut-rhin 68";
			key= "Achat,Esemble immobilier Alsace Haut-Rhin 68";
			break;
		default:
			desc= "Achat de jolie maison Alsace haut-rhin 68";
			key= "Achat,Vente,Maison Alsace Haut-Rhin 68,Maisons de caractere,Maison neuves";
			break;
	}
	
	
	
	new Ajax.Request('./annonces.php',
	{
		method:'get', // Use the 'GET' method
		parameters: {type: choix,
                     typeTri: tri, 
                     montantMin: prixMin,
					 montantMax: prixMax,
					 affichage: croissant,
					 page: page_num,
					 typeInit: choixInit}, // Pass in the page number as a parameter
		onLoading: function()
		{
			// Display something when the AJAX is loading.  This could be an image or just text...
			
			//document.getElementById('loading').innerHTML = "Loading...";
			//document.getElementById('loader').style.display = "block";
			//document.getElementById('centreAnnonces').innerHTML = "<br><br><br><img id='loader' src='images/ajax-loader.gif' width='32' height='32' alt='Chargement'/><br>Chargement...";
			
		},
		/*
		onload: function()
		{
			document.getElementById('centreAnnonces').innerHTML = "<img src='images/ajax-loader.gif' width='32' height='32' alt='Chargement' />";
		},
		*/
		onSuccess: function(transport)
		{
			// Carry out the action when the AJAX is successful.
			var response = transport.responseText || "Pas de r&eacute;ponse";
			
			
			document.getElementById('centreAnnonces').innerHTML = phrasesAccroche(choixInit) + response; // Put the response into the 'album' div
			modifMeta(desc,key);
			//document.getElementById('loader').style.display = "none";
			//document.getElementById('ligneLoader').innerHTML = "";
			
			//tb_init('a.thickbox, area.thickbox, input.thickbox'); // Initialize the Thickbox again.
			
		},
		onFailure: function()
		{
			// Display something when the AJAX fails.  This could be an image or just text...
			//document.getElementById('loader').style.display = "none";
			//document.getElementById('ligneLoader').innerHTML = "";
			document.getElementById('centreAnnonces').innerHTML = "Probl&egrave;me de chargement de la page. Veuillez nous excuser !!!";
		}
	});


}



function afficherDetail(choix,tri,prixMin,prixMax,croissant,page_num,reference,rangImgInf,choixInit,codepostal,ville,surface)
{	
//alert("choix="+choix+" tri="+tri+" prixMin="+prixMin+" prixMax="+prixMax+" croissant="+croissant+" page_num="+page_num+" reference="+reference+" rangImgInf="+rangImgInf);
	document.getElementById('barreTitreSelection').innerHTML = "";
	document.getElementById('rechercheBudget').style.display = "none";
	
	surface = surface.replace("_"," ");
	surface = surface.replace("m2","m&sup2;");
	
	document.getElementById('detailTitre').innerHTML = "&nbsp; - &nbsp;("+codepostal+")  "+ville+" "+surface;
	
	new Ajax.Request('./detailAnnonce.php',
	{
		method:'get', // Use the 'GET' method
		parameters: {type: choix,
                     typeTri: tri, 
                     montantMin: prixMin,
					 montantMax: prixMax,
					 affichage: croissant,
					 page: page_num,
					 reference: reference,
					 rangImgInf: rangImgInf,
					 typeInit: choixInit}, // Pass in the page number as a parameter
		onLoading: function()
		{
			// Display something when the AJAX is loading.  This could be an image or just text...
			
			//document.getElementById('loading').innerHTML = "Loading...";
			//document.getElementById('centreAnnonces').innerHTML = "<br><br><br><img id='loader' src='images/ajax-loader.gif' width='32' height='32' alt='Chargement'/><br>Chargement...";
			
		},
		onSuccess: function(transport)
		{
			// Carry out the action when the AJAX is successful.
			var response = transport.responseText || "Pas de r&eacute;ponse";
			
			document.getElementById('centreAnnonces').innerHTML = response; // Put the response into the 'album' div
			//tb_init('a.thickbox, area.thickbox, input.thickbox'); // Initialize the Thickbox again.
			click_me('lienMeta');
			//alert("clic");
			Lightbox.initialize(window['LightBoxOpt']);
		},
		onFailure: function()
		{
			// Display something when the AJAX fails.  This could be an image or just text...
			
			document.getElementById('centreAnnonces').innerHTML = "Probl&egrave;me de chargement de la page. Veuillez nous excuser !!!";
			
			
		}
	});


}


function afficherDonnees(detail,page)
{
	document.getElementById('erreurBudget').style.display = "none";
	if(!detail){
		var objTri = document.getElementById('trierPar');
		var objAffich = document.getElementById('affichage');
		
		var correct = true;
		var Type = document.getElementById('choixMenu').value;
		var Tri = objTri.options[objTri.selectedIndex].value;
		var Min = "";
		var Max = "";
		if(Tri == "Budget")
		{
			Min = document.getElementById('Inf').value;
			Max = document.getElementById('Sup').value;
			if(!verifMontant(Min,Max)) correct = false;
			
			Min = document.getElementById('Inf').value;
			Max = document.getElementById('Sup').value;
		}
		var Affichage = ""
		if(objAffich.selectedIndex == 0)
			Affichage = "ASC"	
		else
			Affichage = "DESC"
		
		
		if(correct) 
			//alert("Type="+Type+" Tri="+Tri+" Min="+Min+" Max="+Max+" Affichage="+Affichage+" Page="+page);
			afficherListe(Type,Tri,Min,Max,Affichage,page,Type);
			
	}else{
		afficherDetail("Ref");	
	}
}

function verifMontant(Min,Max)
{
	var correct = true;
	var codeErreur = 0;
	if(Min != "")
	{
		if(!isNumeric(Min)){
			correct = false;
			codeErreur = 1;
		}
	}
	if(Max != "")
	{
		if(!isNumeric(Max)){
			correct = false;
			codeErreur = 1;
		}
	}
	
	if(correct)
	{
		if(Min != "" && Max != "")
		{
			document.getElementById('Inf').value = parseInt(Min);
			document.getElementById('Sup').value = parseInt(Max);
			Min = document.getElementById('Inf').value;
			Max = document.getElementById('Sup').value;
			
			if(parseInt(Min) > parseInt(Max)){
				correct = false;
				codeErreur = 2;
			}
			if(parseInt(Min) == parseInt(Max)){
				correct = false;
				codeErreur = 3;
			}
		}
		else
		{
			if(Min == "" && Max == "")
			{
				correct = false;
				codeErreur = 4;
			}
		}
	}
	
	if(!correct)
	{
		document.getElementById('erreurBudget').style.display = "block";
		switch(codeErreur){
			case 0: document.getElementById('erreurBudget').innerHTML = "<span class='texteErreur'>Veuillez entrer des valeurs corrects</span>";break;
			case 1: document.getElementById('erreurBudget').innerHTML = "<span class='texteErreur'>Veuillez entrer des valeurs entières</span>";break;
			case 2: document.getElementById('erreurBudget').innerHTML = "<span class='texteErreur'>La valeur de gauche est supérieure à celle de droite</span>";break;
			case 3: document.getElementById('erreurBudget').innerHTML = "<span class='texteErreur'>Les deux valeurs sont identiques</span>";break;
			case 4: document.getElementById('erreurBudget').innerHTML = "<span class='texteErreur'>Veuillez saisir les montants</span>";break;
			default:break;
		}
		
	}
	
	return correct;
}


function isNumeric(str) 
{  
	var real = false;
	var len= str.length;
	if (len==0) return false;
	var p=0;   
	var ok= true; 
	var ch= "";  
	while (ok && p<len)   
	{     
		ch= str.charAt(p);     
		if ('0'<=ch && ch<='9')
			p++;     
		else	
		{ 		
			if (  (ch == '.' || ch == ',') && !real && p != (len-1)  && p != 0)		
			{			
				real = true;			
				p++;		
			}else			
				ok= false; 	
		}   
	}   
	
	return ok; 
} 

function choixTri(obj)
{ 
	var val = obj.options[obj.selectedIndex].value;
	
	document.getElementById('Inf').value = "";
	document.getElementById('Sup').value = "";

	if(val=="Budget")
	{
		document.getElementById('rechercheBudget').style.display = "block";	
	}
	else
	{
		document.getElementById('rechercheBudget').style.display = "none";
		afficherDonnees(false,"1");
	}	
}

function imageZoomer(id,afficher){
	if(afficher == 1){
		document.getElementById(id+'ZOOM').style.display = 'block';
		document.getElementById(id).style.display = 'none';
	}
	else
	{
		document.getElementById(id+'ZOOM').style.display = 'none';
		document.getElementById(id).style.display = 'block';
	}
}


function modifMeta(desc,key) {
 
  var metas = document.getElementsByTagName('META');
  var k = -1;
  for (i = 0; i < metas.length; i++)
  {
	k++;
    if (metas[i].getAttribute('NAME') == "Description")
	{
		k = i;
		i = metas.length;
	}
  }
  metas[k].content = desc;
  
 metas = document.getElementsByTagName('META');
   k = -1;
  for (i = 0; i < metas.length; i++)
  {
	k++;
    if (metas[i].getAttribute('NAME') == "Keywords")
	{
		k = i;
		i = metas.length;
	}
  }
  metas[k].content = key;
  
}


window.onload = function(){
	//document.title = "Immobili&egrave;re du Rhin";
	//document.getElementById('rechercheBudget').style.display = "none";
	//menuAccueil();
	//tb_init('a.thickbox, area.thickbox, input.thickbox');
	
	try
	{
		click_me("lienReferencement");
	}catch(err){}
		
	
	
}

/*
document.onclick = function () {                
	
	if (window.event.ctrlKey) {
		alert("La touche SHIFT ou CTRL de votre clavier est actuellement enfoncée, veuillez faire attention !" );
		      
	}            
}

function addbookmark()
{
	bookmarkurl="http://wwwlecodejava.com"
	bookmarktitle="Bienvenue sur le code java"
	if (document.all)
	window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
*/

