var d=document,w=window;var ie4=(d.all)?true:false;var ns4=(d.layers)?true:false;var ns6=(!d.all&&d.getElementById)?true:false;var dom=(d.getElementById)?true:false;var uMZ=false,uCS=false,uNS=false;if(d.getElementById)uMZ=true;else if(d.all)uCS=true;else if(d.layers)uNS=true;var msg="Copyright Vivre à Paris";var wscrolling=0;if(d.layers)d.captureEvents(Event.MOUSEDOWN);d.onmousedown=BWT_Click;
function BWT_ScrollWin(h){this.scroll(1,h);}
function BWT_Click(e){if(d.all)if(event.button==2){alert(msg);return false;}if(ns4||ns6)if(e.which==3){alert(msg);return false;}return true;}
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
function M_pLdImg(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=arguments;for(i=0;i<a.length;i++)if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}
function MM_findObj(n,d){var p,i,x; if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&d.getElementById)x=d.getElementById(n);return x;}
function MM_swapImage(){var i,j=0,x,a=arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}
function BWT_GoTo(e){d.location.replace(e.options[e.selectedIndex].value);}
function BWT_CheckSizeCol(){var maxH=0,cG=MM_findObj('cG'),c2=MM_findObj('cDb'),sV0=MM_findObj('sepV0');if(cG) if(parseInt(cG.scrollHeight)>maxH)maxH=parseInt(cG.scrollHeight);if(c2) if(parseInt(c2.scrollHeight)>maxH)maxH=parseInt(c2.scrollHeight);if(cG) BWT_SP('cG','height',maxH);if(c2) BWT_SP('cDb','height',maxH);if(sV0) BWT_SP('sepV0','height',maxH-822);}
function BWT_TexteAccueil(){BWT_TGD('TxtH');/*BWT_TGD('flashHome');*/}
function BWT_GXHR(){var x=null;if(window.XMLHttpRequest)x=new XMLHttpRequest();else if(window.ActiveXObject)x=new ActiveXObject('Microsoft.XMLHTTP');else alert('NS');return x;}
function BWT_SndReq(u,d,m){var x=BWT_GXHR();if(x){x.open(m,u,false);x.send(null);v=x.responseText;setTimeout("BWT_ChgVal('"+d+"',v);",1000);}}
function BWT_GP(c,p){if(ns4)pv=d[c][p];if((ie4)||(ns6))pv=d.getElementById(c).style[p];if(isNaN(pv)&&pv.search("px")>=0)pv=parseInt(pv);return pv;}
function BWT_SP(c,p,v){if(ns4)if(d[c])d[c][p]=v;if((ie4)||(ns6))if(d.getElementById(c))d.getElementById(c).style[p]=v+'px';}
function BWT_getXDigits(n,x){while(n.length<x)n='0'+n;return n;}
function BWT_Coperfield(c){var t;if(d.getElementById)t=d.getElementById(c).style;else if(d.all)t=d.all(c).style;else t=d.layers(c);if(arguments[1]&&arguments[1]!=''){if(d.getElementById||d.all)t.visibility=arguments[1];else t.visibility=(arguments[1]=="visible")?"hide":"show";}else{if(d.getElementById||d.all)t.visibility=(t.visibility=="visible")?"hidden":"visible";else t.visibility=(t.visibility=="show")?"hide":"show";}}
function BWT_TGD(c){var t;if(d.getElementById)t=d.getElementById(c).style;else if(d.all)t=d.all(c).style;else t=d.layers(c);t.display=(t.display=="")?"none":"";}
function BWT_CoS(){a=arguments;for(i=0;i<a.length;i++){if(ns4)if(s.layers(a[i]))BWT_Coperfield(a[i]);if(ie4||ns6)if(d.getElementById(a[i]))BWT_Coperfield(a[i]);}}
function BWT_GetPos(e){var coord=new Object(),x=0,y=0;if(ie4||ns6)o=d.getElementById(e);else if(ns4)for(var i=0;i<d.anchors.length;i++)if(d.anchors[i].name==e){o=d.anchors[i];break;}x=BWT_GPgeOffsetL(o);y=BWT_GPgeOffsetT(o)+BWT_GP(e,'height');coord.x=x;coord.y=y;return coord;}
function BWT_GPgeOffsetL(el){var ol=el.offsetLeft;while((el=el.offsetParent)!=null)ol+=el.offsetLeft;return ol;}
function BWT_GPgeOffsetT(el){var ot=el.offsetTop;while((el=el.offsetParent)!=null)ot+=el.offsetTop;if(isNaN(ot)&&ot.search("px")>=0)pv=parseInt(ot);return ot;}
function BWT_SetPos(e,x,y){if(uMZ)dd=d.getElementById(e).style;else if(uCS)dd=d.all[e].style;else if(uNS)dd=d.layers[e];dd.left=x+'px';dd.top=y+'px';}
function PW_SP(e){var coord=BWT_GetPos(e);this.x=parseInt(coord.x)+parseInt(this.offsetX);this.y=parseInt(coord.y)+parseInt(this.offsetY);if(!this.POPd&&(this.cont!="")){this.POPd=true;this.refresh(this.divName,this.cont);}BWT_SetPos(this.divName,this.x,this.y);BWT_Coperfield(this.divName,'visible');}
function PW_ic(e){if(this.uNS){var cX=e.pageX;var cY=e.pageY,t=d.layers[this.divName];if((cX>t.left)&&(cX<t.left+t.clip.width)&&(cY>t.top)&&(cY<t.top+t.clip.height))return true;else return false;}else if(d.all){var t=w.event.srcElement;while(t.parentElement!=null){if(t.id==this.divName)return true;t=t.parentElement;}return false;}else if(uMZ){var t=e.originalTarget;while(t.parentNode!=null){if(t.id==this.divName)return true;t=t.parentNode;}return false;}return false;}
function PW_hinc(e){if(this.ahE&&!this.ic(e))this.HP();}
function PW_ah(){this.ahE=true;}
function PW_HP(){BWT_Coperfield(this.divName,'hidden');}
function PW_POP(cont){this.cont=cont;this.POPd=false;}
function PW_HPWindows(e){for(var i=0;i<pWO.length;i++)if(pWO[i]!=null)var p=pWO[i];p.hinc(e);}
function PW_attachListener(){if(d.layers)d.captureEvents(Event.MOUSEUP);w.pWOEL=d.onmouseup;if(w.pWOEL!=null)d.onmouseup=new Function("window.pWOEL();PW_HPWindows();");else d.onmouseup=PW_HPWindows;}
function PopupWindow(){if(!w.pWI)w.pWI=0;if(!w.pWO)w.pWO=new Array();if(!w.liAt){w.liAt=true;PW_attachListener();}this.index=pWI++;pWO[this.index]=this;this.divName=null;this.popupWindow=null;this.width=0;this.height=0;this.POPd=false;this.visible=false;this.ahE=false;this.cont="";this.url="";this.type="DIV";this.divName=arguments[0];this.offsetX=0;this.offsetY=0;this.POP=PW_POP;this.refresh=BWT_ChgVal;this.SP=PW_SP;this.HP=PW_HP;this.ic=PW_ic;this.ah=PW_ah;this.hinc=PW_hinc;}
function BWT_ChgVal(c,t){if(ns4){d.layers(c).document.open();d.layers(c).document.write(t);d.layers(c).document.close();}if(ie4||ns6)d.getElementById(c).innerHTML=t;}
function BWT_AddFav(){url=d.location.href;title=d.title;if(w.external&&typeof w.external.AddFavorite!="undefined")w.external.AddFavorite(url,title);else if (w.sidebar)w.sidebar.addPanel(title, url, "");else{if(typeof netscape!="undefined"){try{netscape.security.PrivilegeManager.EnablePrivilege("UniversalXPConnect");var c=Components.classes["@mozilla.org/browser/bookmarks-service;1"].getService(Components.interfaces.nsIBookmarksService);c.addBookmarkImmediately(url,title,0,"text/html");}catch(ex){alert('Ctrl+D pour ajouter à vos marque-pages / Ctrl+D to bookmark');}}else alert('Ctrl+D pour ajouter à vos marque-pages / Ctrl+D to bookmark');}}
function BWT_OpenWin(url,name,sA,pos,stat,tb,loc,dir,menB,srB,reSz,focus){
	if(!stat)stat=false;
	if(!tb)tb=false;
	if(!loc)loc=false;
	if(!dir)dir=false;
	if(!menB)menB=false;
	if(!srB)srB=false;
	if(!reSz)reSz=false;
	sW=screen.width;
	sH=screen.height;
	if(d.body.clientHeight){
		wH=d.body.clientHeight;
		wW=d.body.clientWidth;
	}
	if(w.outerHeight){
		wH=w.outerHeight;
		wW=w.outerWidth;
	}
	if(w.screenX){
		wX=w.screenX;
		wY=w.screenY;
	}else{
		wX=w.screenLeft;
		wY=w.screenTop;
	}
	switch(pos[0]){
		case 'sc':pX=(((sW-sA[0])/2)+sA[2]);break;
		case 'fc':pX=(((wW-sA[0])/2)+wX+sA[2]);break;
		case 'sg':pX=sA[2];break;
		case 'fg':pX=(wX+sA[2]);break;
		case 'sd':pX=(sW-sA[0]-sA[2]);break;
		case 'fd':pX=(wX+wW-sA[0]-sA[2]);break;
		case 'p':pX=sA[2];break;
	}
	switch(pos[1]){
		case 'sc':pY=(((sH-sA[1])/2)+sA[3]);break;
		case 'fc':pY=(((wH-sA[1])/2)+wY+sA[3]);break;
		case 'sh':pY=sA[3];break;
		case 'fh':pY=(wY+sA[3]);break;
		case 'sb':pY=(sH-sA[1]-sA[3]);break;
		case 'fb':pY=(wY+wH-sA[1]-sA[3]);break;
		case 'p':pY=sA[3];break;
	}
	win=window.open(url,name,'status='+stat+',toolbar='+tb+',location='+loc+',directories='+dir+',menB='+menB+',scrollbars='+srB+',resizable='+reSz+',width='+sA[0]+',height='+sA[1]+',left='+pX+',top='+pY);
	if(focus) win.focus();
	else win.blur();
	return win;
}
function BWT_InitButtonsScroll(idc,idb){var idcc=MM_findObj(idc);if(idcc.scrollHeight>parseInt(idcc.style.height)+5)BWT_Coperfield(idb,'visible');else BWT_Coperfield(idb,'hidden');}
function BWT_ScrollDiv(id,dir,a,t){var ddd=d.getElementById(id);if(dir=='+')ddd.scrollTop+=t;else ddd.scrollTop-=t;bwt_scroll=setTimeout("BWT_ScrollDiv('"+id+"','"+dir+"','',"+t+")",100);}
function BWT_StopScrolling(id){w.clearTimeout(bwt_scroll);}
function BWT_GoToBottom(id){d.getElementById(id).scrollTop=d.getElementById(id).scrollHeight;}
function BWT_InitDrag(){var h=0;if(ie4)cadreDrag.onmousedown=BWT_InitValeur;else if(dom)d.getElementById("cadreDrag").addEventListener("mousedown",BWT_InitValeur,false);else if(ns4){d.captureEvents(Event.MOUSEDOWN);d.onmousedown=BWT_InitValeur;}}
function BWT_InitValeur(e){if(ie4){w.lastX=event.clientX;w.lastY=event.clientY;d.onmousemove=BWT_DoDrag;d.onmouseup=BWT_EndDrag;}else if(dom){w.lastX=e.clientX;w.lastY=e.clientY;w.onmousemove=BWT_DoDrag;w.onmouseup=BWT_EndDrag;}else if(ns4){w.lastX=e.pageX;w.lastY=e.pageY;d.captureEvents(Event.MOUSEMOVE);d.onmousemove=BWT_DoDrag;d.captureEvents(Event.MOUSEUP);d.onmouseup=BWT_EndDrag;}if(d.all)if(event.button==2)alert(msg);if(ns4||ns6)if(e.which==3)alert(msg);}
function BWT_DoDrag(e){if(ie4){var difX=event.clientX-w.lastX,difY=event.clientY-w.lastY,newX1=parseInt(cadrePhoto.style.left)+difX,newY1=parseInt(cadrePhoto.style.top)+difY;cadrePhoto.style.left=newX1+"px";cadrePhoto.style.top=newY1+"px";w.lastX=event.clientX;w.lastY=event.clientY;}else if(dom){var difX=e.clientX-w.lastX,difY=e.clientY-w.lastY,newX1=parseInt(d.getElementById("cadrePhoto").style.left)+difX,newY1=parseInt(d.getElementById("cadrePhoto").style.top)+difY;d.getElementById("cadrePhoto").style.left=newX1+"px";d.getElementById("cadrePhoto").style.top=newY1+"px";w.lastX=e.clientX;w.lastY=e.clientY;}else if(ns4){var difX=e.pageX-w.lastX,difY=e.pageY-w.lastY,newX1=parseInt(d.layers.cadrePhoto.left)+difX,newY1=parseInt(d.layers.cadrePhoto.top)+difY;d.layers.cadre_barre.left=newX1;d.layers.cadre_barre.top=newY1;d.layers.cadre_contenu.left=newX1;d.layers.cadre_contenu.top=newY1+30;w.lastX=e.pageX;w.lastY=e.pageY;}}
function BWT_EndDrag(e){if(ie4||ns4)d.onmousemove=null;else if(dom)w.onmousemove=null;}
function BWT_Mail(t,s,b,st){if(typeof site=="undefined")site='vivreaparis.fr';if(st) site=st;var b='';location.replace("MAILTO:" + t + '@' + site + "?subject=" + s + "&body=" + b);return false;}
function BWT_AffTexte(t,e){var t=d.getElementById(t),e=d.getElementById(e);e.style.display=(e.style.display=='none')?'':'none';t.innerHTML=(e.style.display=='none')?'voir':'masquer';}
function BWT_Lien(u){d.location.href=u;}
function BWT_LienMV(u,u1){pos=new Array('fc','fc');sA=new Array(5,5,0,0); win=BWT_OpenWin('http://ibeb.miniville.fr'+u,'mv',sA,pos); window.setTimeout("win.close();document.location.href='"+u1+"'",1000);}
function BWT_ExternalLinks() {if(!document.getElementsByTagName)return;var a=document.getElementsByTagName("a");for(var i=0;i<a.length;i++){var anchor=a[i];if(anchor.getAttribute("href")&&anchor.getAttribute("rel")=="external"){anchor.target="_blank";}}}
window.onload = BWT_ExternalLinks;




/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23=new deconcept.PlayerVersion([10,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};
deconcept.PlayerVersion=function(_27){
this.major=_27[0]!=null?parseInt(_27[0]):0;
this.minor=_27[1]!=null?parseInt(_27[1]):0;
this.rev=_27[2]!=null?parseInt(_27[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){
return false;
}return true;};
deconcept.util={getRequestParameter:function(_29){
var q=document.location.search||document.location.hash;
if(q){var _2b=q.substring(1).split("&");
for(var i=0;i<_2b.length;i++){
if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return "";}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");
for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
if(typeof window.onunload=="function"){
var _30=window.onunload;
window.onunload=function(){
deconcept.SWFObjectUtil.cleanupSWFs();_30();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
if(typeof window.onbeforeunload=="function"){
var oldBeforeUnload=window.onbeforeunload;
window.onbeforeunload=function(){
deconcept.SWFObjectUtil.prepUnload();
oldBeforeUnload();};
}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){
Array.prototype.push=function(_31){
this[this.length]=_31;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;

