/* -------  FAVORIS  ------- */

function addFav(){
if (rv >= 5) {window.external.AddFavorite('http://www.immo-forum.fr/', 'Immo-forum La défiscalisation de rapport dans un immobilier plaisir');}
if ( (navigator.appName != 'Microsoft Internet Explorer') && (window.sidebar.addPanel) )
{ window.sidebar.addPanel("Immo-forum La défiscalisation de rapport dans un immobilier plaisir","http://www.immo-forum.fr/",""); }
}

/* -------  IMAGES   ------- */

if (document.images){
image_off= new Image(64,90);image_off.src="img/web-immobilier2.gif";

im1= new Image(64,90);im1.src="vign/lmnp25_31.gif";
im2= new Image(64,90);im2.src="vign/lmnp25_affaires.gif";
im3= new Image(64,90);im3.src="vign/lmnp25_lavande.gif";
im4= new Image(64,90);im4.src="vign/lmnp25_lotus.gif";
im5= new Image(64,90);im5.src="vign/lmnp25_mer.gif";
im6= new Image(64,90);im6.src="vign/lmnp25_montagne.gif";
im7= new Image(64,90);im7.src="vign/lmnp25_telepherique.gif";
im8= new Image(64,90);im8.src="vign/outremer.gif";
im9= new Image(64,90);im9.src="vign/zrr.gif";
im10= new Image(64,90);im10.src="vign/scellier25.gif";

im25= new Image(132,145);
im26= new Image(132,116);
im27= new Image(132,145);
im28= new Image(132,116);
if ((rv >0) && (rv <=6)) {im26.src="images/revenus-90.gif"; im28.src="images/prestige-immobilier.gif"; im25.src="images/photovoltaique-901b.gif"; im27.src="images/prestige-immo.gif";}
else {im26.src="images/revenus-90.png"; im28.src="images/prestige-immobilier.png"; im25.src="images/photovoltaique-901.png"; im27.src="images/prestige-immo.png";}

// etiquettes simples */
Lmp_Lmnp= new Image(120,62);Lmp_Lmnp.src="img/etiquette_lmnp.gif";
Girardin= new Image(120,62);Girardin.src="images/loi_outremer.gif";
Demessine= new Image(120,62);Demessine.src="images/site/etiquette3_zrr.gif";
Scellier= new Image(120,62);Scellier.src="img/etiquette_scellier.gif";
robien= new Image(120,62);robien.src="images/site/etiquette32_robien.gif";
// etiquettes doubles */
VLmp= new Image(120,124);VLmp.src="img/loi_lmp-lmnp.gif";
VOm= new Image(120,124);VOm.src="images/loi_girardin.gif";
VZrr= new Image(120,124);VZrr.src="images/loi_zrr.gif";
VScel= new Image(120,124);VScel.src="img/loi-scellier.gif";
VRob= new Image(120,124);VRob.src="img/loi_robien.gif";

imagePromo1= new Image(59,22);imagePromo1.src="images/site/promo31b.gif";
imagePromo2= new Image(59,22);imagePromo2.src="images/site/promo3_fluo41b.gif";
imagePromo3= new Image(59,22);imagePromo3.src="images/site/promo3_anim.gif";
}

function chg1(picName,imgName){if (document.images)
{imgOn=eval(imgName + ".src"); document[picName].src= imgOn;}
	if ((imgName == 'Demessine') || (imgName == 'Girardin') || (imgName == 'Scellier') || (imgName == 'Lmp_Lmnp') || (imgName == 'robien')){
	document.getElementById('ticket').className = imgName ; document.getElementById('ticket').title= "Voir la loi "+imgName+"" ;
	openbuty1(imgName)
 if (imgName == 'Demessine') {openbuty2('Lmp_Lmnp'); openbuty2('Scellier'); openbuty2('Girardin'); openbuty2('robien'); bstzrr();}
 if (imgName == 'Lmp_Lmnp') {openbuty2('Demessine'); openbuty2('Scellier'); openbuty2('Girardin'); openbuty2('robien'); bstlmp();}
 if (imgName == 'Scellier') {openbuty2('Demessine'); openbuty2('Lmp_Lmnp'); openbuty2('Girardin'); openbuty2('robien'); bstscel();}
 if (imgName == 'Girardin') {openbuty2('Demessine'); openbuty2('Lmp_Lmnp'); openbuty2('Scellier'); openbuty2('robien'); bstgir()}
 if (imgName == 'robien') {openbuty2('Demessine'); openbuty2('Lmp_Lmnp'); openbuty2('Scellier'); openbuty2('Girardin'); bstscel();}
	}
}
 
function chbg(imgName,TketName){
imgBg=eval(imgName + ".src"); // etiquette scroll
document.getElementById('fiscal').style.backgroundImage = 'url('+imgBg+')' ;
imgTket=eval(TketName + ".src"); // etiquette over
document.getElementById('etiquette').style.backgroundImage = 'url('+imgTket+')' ;
}
function chbgticket(TketName){
imgTket=eval(TketName + ".src"); // etiquette over
document.getElementById('etiquette').style.backgroundImage = 'url('+imgTket+')' ;
}
function accesloi() {document.getElementById('etiquette').style.backgroundPosition ="left -62px"; // pas de backgroundPositionY avec firefox 
var objloi = document.getElementById('ticket').className;
if (objloi == 'Demessine') { chbgticket('VZrr');};
if (objloi == 'Girardin') { chbgticket('VOm');};
if (objloi == 'Scellier') { chbgticket('VScel');};
if (objloi == 'Lmp_Lmnp') { chbgticket('VLmp');};
if (objloi == 'robien') { chbgticket('VRob');};
};
function resumloi() {document.getElementById('etiquette').style.backgroundPosition ='left 0px';};

/* -------    FPSS   ------- */

// var CTRslideInterval = 20000;
var CTRtransitionDuration = 1800;
var CTRtext_effect = 0;
var FPSSplay = "Play";
var FPSSpause = "Pause";

/* ------- VPROG - POPUP ------- */

function OpUp(fichier){	
wdt = screen.availWidth;
hgt = screen.availHeight;
	var Config="'toolbar=yes, menubar=yes, location=yes, directories=yes, scrollbars=yes, status=yes, resizable=yes, width=" + wdt + ", height=" + hgt + ", left=0, top=0";
window.open(fichier,'presti',Config);}

function rappel(){
var voirprog=dhtmlmodal.open("voirbox", "iframe", "callback/rappel.htm", "Rappel téléphonique gratuit", "width=550px, height=329px, center=1, resize=0, scrolling=0", "recal")
voirprog.setSize(550, 329);
voirprog.moveTo('middle', 'middle');}

// decales : appel dans le menu car mixtes;
function lxp(xr){vprog('htt/lmnp-affaires-etudiants.htm?Swapimo='+xr+'','~~~ LMNP - Résidences services, Résidences hôtelières de Tourisme d\'Affaires, et pour Etudiants')};

function hauteluce(){vprog('pgm/zrr/hauteluce/chalets-de-celine.htm',' >>> Les Chalets de Céline à HAUTELUCE &quot;Les Saisies&quot; - Alpes Beaufortain')};
function isola(){vprog('pgm/lmnp/isola-2000/isola.htm',' >>> LMNP - Les Terrasses d\'Isola 2000 (Résidence de Tourisme 4 étoiles)')};
function orelle(){vprog('pgm/lmnp/orelle/video-orelle.htm',' >>> LMNP - Le Hameau des Eaux d\'Orelle en Savoie, domaine skiable de Val-Thorens')};
function orelledirect(){vprog('pgm/lmnp/orelle/video-orelle.htm',' >>> LMNP - Le Hameau des Eaux d\'Orelle en Savoie, domaine skiable de Val-Thorens')};
function aouchet(){vprog('pgm/lmnp/aouchet/aouchet_parentis_lac-biscarosse.htm',' >>> Le Hameau Aouchet - Parentis Lac de Biscarosse - defiscalisation LMNP sur la côte landaise')};
function orres(){vprog("pgm/lmnp/les-orres/diaporama_combe-d-or.htm?maxilampe=1"," >>> LMNP - Appartements et Chalets individuels La Combe d'Or 4 étoiles - Les Orres 1800m (05)")};
function morillon(){revpv.delay(15000); vprog('pgm/lmnp/morillon/diaporama_residence.htm?size=pico',' >>> LMNP - Le Palladior BestWestern à Morillon - Haute-Savoie, domaine skiable Le Grand Massif')};
function valthorens(){vprog('pgm/lmnp/val-thorens/diaporama_montana-valthorens.htm?maxilampe=1',' >>> LMNP - Le Montana Plein Sud 4 étoiles à Val-thorens, 2300 m. d altitude - Savoie.')};
function valthosud(){vprog('pgm/lmnp/val-thorens/diaporama_plein-sud_valthorens.htm?maxilampe=1',' >>> LMNP - Le Montana Plein Sud 4 étoiles à Val-thorens, 2300 m. d altitude - Savoie.')};
// function valthorens(){vprog('pgm/lmnp/val-thorens/lights_lum_styles_percent.htm?maxilampe=1',' >>> LMNP - Le Montana Plein Sud 4 étoiles à Val-thorens, 2300 m. d altitude - Savoie.')};

// GIRARDIN
function carbet(){vprog('http://www.immoscenic.com/programmes/girardin/martinique_les-terrasses-du-carbet/zl_terrasses-du-carbet.htm?pg=sst','~~~ Loi Girardin Résidence Les Terrasses du Carbet au Carbet en Martinique')};
function guyane(){vprog('http://www.immoscenic.com/programmes/girardin/guyane_les-laurentides/forum_guyane-laurentides.htm?pg=sst','~~~ Loi Girardin Résidence Les Laurentides à Saint-Laurent du Maroni en Guyane')};
function stclaude(){vprog('http://www.immoscenic.com/programmes/girardin/guadeloupe_st-claude/forum_guadeloupe_st-claude_diamants-bleus.htm?pg=sst','~~~ Les Diamants Bleus à Saint-Claude. Défiscalisation Girardin en Guadeloupe, aux Antilles')};

// ZRR
function orellezrr(){vprog('pgm/lmnp/orelle/video-orelle_zrr.htm',' >>> ZRR - Le Hameau des Eaux d\'Orelle en Savoie, domaine skiable de Val-Thorens')};

// SCELLIER
function garan(tie){vprog('pgm/scellier_pack/immobilier-scellier.htm?car='+tie+'',' >>>  SELECTION SCELLIER 2009 A LOYERS GARANTIS 9 ANS. PETITS PRIX GRANDE QUALITE. SANS APPORT')};

function roquebrune(){vprog('pgm/scellier/roquebrune/scellier_roquebrune-argens_var.htm',' >>> Les Coteaux Argens en defiscalisation loi Scellier à Roquebrune sur Argens - VAR (83) &quot;PACA&quot;')};
function avion(){vprog('pgm/scellier/avion-lens/boisserie_avion.htm',' >>> La Boisserie en defiscalisation loi Scellier 2009 à Avion près LENS')};
function thyez(){vprog('pgm/scellier/thyez/jardins-englennaz_thyez-scellier.htm',' >>> Les jardins de l\'Englennaz, loi Scellier à THYEZ en Haute-Savoie (74)')};
function orangeraie(){vprog('pgm/scellier/thonon-les-bains/orangeraie.htm',' >>>  L\'Orangeraie en loi Scellier 2009 à Thonon-les-Bains, Genève - Lac Léman')};
function aubades(){vprog('pgm/scellier/thonon_aubades/les-aubades.htm',' >>>  Les Aubades en loi Scellier à Thonon-les-Bains, quartier Concise. Genève - Lac Léman')};
function narbonne(){vprog('pgm/scellier/narbonne/carre_st-antoine.htm',' >>>  Le Carré Saint-Antoine à Narbonne, loi Scellier de grande qualité, assurances locatives, soleil et méditerranée.')};

// REPORTAGES - LOIS
function dirphotos(xvue){vprog('htt/reportages/diaporama.htm?cine='+xvue+'','~~~ Reportages photos sur des programmes disponibles et en livraison immédiate')};
function photos(){vprog('htt/reportages/diaporama.htm','~~~ Reportages photos sur des programmes disponibles et en livraison immédiate')};
function retour(){document.getElementById('loupe').style.display = 'block'}
function lois(){vprog('defiscalisation/Lmp_Lmnp.htm',' >>> les lois de defiscalisation : les dispositifs, réductions et informations pratiques')};
// ROBIEN

// SOLAIRE AFFAIRES
function sol(){vprog('revenu-solaire/producteur_d-electricite.htm','*** Revenus défiscalisés des panneaux solaires photovoltaïques')};
function affaires(){vprog('comhon/affaires.htm?pgrm=OFFRES PRIVEES')};

// mail
function info(pgx){window.location.href="mailto:immo.bx@wanadoo.fr?subject=Immo-forum information "+pgx+""}











