ips="1";

if ((ips==1) || (ips == "")) // Global
{

	if(typeof com=="undefined"){var com=new Object();}
	if(typeof com.deconcept=="undefined"){com.deconcept=new Object();}
	if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object();}
	if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object();}
	com.deconcept.FlashObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
	if(!document.createElement||!document.getElementById){return;}
	this.DETECT_KEY=_b?_b:"detectflash";
	this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);
	this.params=new Object();
	this.variables=new Object();
	this.attributes=new Array();
	this.useExpressInstall=_7;
	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 com.deconcept.PlayerVersion(_5.toString().split(".")));}
	this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);
	if(c){this.addParam("bgcolor",c);}
	var q=_8?_8:"high";
	this.addParam("quality",q);
	var _d=(_9)?_9:window.location;
	this.setAttribute("xiRedirectUrl",_d);
	this.setAttribute("redirectUrl","");
	if(_a){this.setAttribute("redirectUrl",_a);}
	};
	com.deconcept.FlashObject.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;
	},createParamTag:function(n,v){
	var p=document.createElement("param");
	p.setAttribute("name",n);
	p.setAttribute("value",v);
	return p;
	},getVariablePairs:function(){
	var _19=new Array();
	var key;
	var _1b=this.getVariables();
	for(key in _1b){_19.push(key+"="+_1b[key]);}
	return _19;
	},getFlashHTML:function(){
	var _1c="";
	if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
	if(this.getAttribute("doExpressInstall")){
	this.addVariable("MMplayerType","PlugIn");
	}
	_1c="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
	_1c+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
	var _1d=this.getParams();
	for(var key in _1d){_1c+=[key]+"=\""+_1d[key]+"\" ";}
	var _1f=this.getVariablePairs().join("&");
	if(_1f.length>0){_1c+="flashvars=\""+_1f+"\"";}
	_1c+="/>";
	}else{
	if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
	_1c="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
	_1c+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
	var _20=this.getParams();
	for(var key in _20){_1c+="<param name=\""+key+"\" value=\""+_20[key]+"\" />";}
	var _22=this.getVariablePairs().join("&");
	if(_22.length>0){_1c+="<param name=\"flashvars\" value=\""+_22+"\" />";
	}_1c+="</object>";}
	return _1c;
	},write:function(_23){
	if(this.useExpressInstall){
	var _24=new com.deconcept.PlayerVersion([6,0,65]);
	if(this.installedVer.versionIsValid(_24)&&!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);}
	}else{this.setAttribute("doExpressInstall",false);}
	if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
	var n=(typeof _23=="string")?document.getElementById(_23):_23;
	n.innerHTML=this.getFlashHTML();
	}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}}};
	com.deconcept.FlashObjectUtil.getPlayerVersion=function(_26,_27){
	var _28=new com.deconcept.PlayerVersion(0,0,0);
	if(navigator.plugins&&navigator.mimeTypes.length){
	var x=navigator.plugins["Shockwave Flash"];
	if(x&&x.description){_28=new com.deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
	}else{
	try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
	for(var i=3;axo!=null;i++){
	axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
	_28=new com.deconcept.PlayerVersion([i,0,0]);}}
	catch(e){}
	if(_26&&_28.major>_26.major){return _28;}
	if(!_26||((_26.minor!=0||_26.rev!=0)&&_28.major==_26.major)||_28.major!=6||_27){
	try{
	_28=new com.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
	}catch(e){}}}
	return _28;
	};
	com.deconcept.PlayerVersion=function(_2c){
	this.major=parseInt(_2c[0])||0;
	this.minor=parseInt(_2c[1])||0;
	this.rev=parseInt(_2c[2])||0;
	};
	com.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;
	};
	com.deconcept.util={getRequestParameter:function(_2e){
	var q=document.location.search||document.location.hash;
	if(q){var _30=q.indexOf(_2e+"=");
	var _31=(q.indexOf("&",_30)>-1)?q.indexOf("&",_30):q.length;
	if(q.length>1&&_30>-1){
	return q.substring(q.indexOf("=",_30)+1,_31);}}return "";
	},removeChildren:function(n){
	while(n.hasChildNodes()){
	n.removeChild(n.firstChild);}}};
	if(Array.prototype.push==null){
	Array.prototype.push=function(_33){
	this[this.length]=_33;
	return this.length;};}
	var getQueryParamValue=com.deconcept.util.getRequestParameter;
	var FlashObject=com.deconcept.FlashObject;
	
	var MM_contentVersion = 8;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			for (var i = 0; i < words.length; ++i)
			{
			if (isNaN(parseInt(words[i])))
			continue;
			var MM_PluginVersion = words[i]; 
			}
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
	   && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
	}
	if ( MM_FlashCanPlay ) {
		
	} else {
//		window.open("http://www.les-campings.com/getflash/index.html");
		window.open("http://get.adobe.com/flashplayer");
	}
	function antipopup() {
	  var myTest = window.open("about:blank","","directories=no,height=2,width=2, menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,top=0,location=no");
	  if (!myTest) {
		alert("Vous ne pouvez voir cette page car votre logiciel anti-popup est activé, merci de le désactiver ou baisser le niveau de sécurité Internet.\nYou can not see this page beacause your pop-up blocker is loaded, please close it and decrease Internet security level.");
	  } 
	  else {
		myTest.close();
	//    alert("Aucun logiciel anti-popup détecté");
	  }
	}
	
	//window.onload = antipopup;
	
	function RightClick(e)
	{
		if((navigator.appName=='Netscape' && e.which==3)
		||(navigator.appName=='Microsoft Internet Explorer' && event.button==2)) 
		{
			alert('Interdit/Forbidden');
			return(false);
		}
		return(false);
	}
	document.oncontextmenu = RightClick;
	
	function retaille()
	{
		ie4 = (document.all) ? true:false;
		h=605;
		l=810;
		window.moveTo(0,0);
		window.resizeTo(l,h);
		self.focus(); 
	}
	
	function resize(large,longue)
	{
		ie4 = (document.all) ? true:false;
		window.moveTo(0,0);
		if ((large==0) && (longue==0))
			if (window.screen) {
				window.resizeTo(screen.availWidth,screen.availHeight)
			}
		else
		{
		window.resizeTo(large,longue);
		}
		self.focus(); 
	}
	function zoom(chemin)
	{
		var addx = 10; 
		var addy = 50; 
		if(navigator.appName=='Microsoft Internet Explorer')
			{ addy = 50; }
	   html = '<html><head><title>ZOOM -> '+chemin+'</title></head><body bgcolor="#FFFFFF" scroll="no" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" onBlur="top.close()"><a href="#" onClick="self.close()"><IMG src="'+chemin+'" BORDER=0 NAME=ImageMax onLoad="window.resizeTo(document.ImageMax.width+'+addx+', document.ImageMax.height+'+addy+')"></a></body></html>';
	   popupImage = window.open('','_blank','toolbar=no, statusbar=no, location=no, directories=no, menubar=no, scrollbars=no, resizable=yes');
	   popupImage.document.open();
	   popupImage.document.write(html);
	   popupImage.document.close()
	};
	
	function openWindow(url, w, h) {
	if (h.substring(0,7) == "toolbar")
	{
		nReq = h.split(",");
		for (var i=0;i<(nReq.length);i++) {
			if (nReq[i].substring(0, nReq[i].indexOf("=")) == 'width')
				{ w = nReq[i].substring(6, nReq[i].length) ; }
			if (nReq[i].substring(0, nReq[i].indexOf("=")) == 'height')
				{ h = nReq[i].substring(7, nReq[i].length); }
		}
		var windowprops = "toolbar=1, location=0, directories=0, menubar=1, statusbar=0, scrollbars=1, resizable=1, left="+gauche+",width=" + w + ",height=" + h;
		popup = window.open(url,'remote',windowprops);
	}
	else
	{
		var windowprops = "toolbar=0, location=0, directories=0, menubar=0, statusbar=0, scrollbars=0, resizable=0, left="+gauche+",width=" + w + ",height=" + h;
		popup = window.open(url,'remote',windowprops);
		popup.resizeTo(w,h);
	}
	var haut=0;
	var gauche=screen.width - w;
	// top="+haut+"
	popup.moveTo(gauche,haut);
	popup.focus();
	// ferme_popup();
	}
	popup = null;
	
	function ferme_popup() {
	  if (popup) popup.close();
	  popup = null;
	}
	
	function Maj() {
		Date=new Date(document.lastModified)
		var Moistrad=[Date.getMonth()+1]
		var Annee=Date.getYear()
		return Date.getDate()+ "/" + Moistrad +"/" +Annee
	}
	
	<!-- Begin
	function PleinEcran(url){ 
	 var version; 
	 version = parseInt(navigator.appVersion); 
	 if (navigator.appName.indexOf('Netscape') == -1) { 
	   browser = 'IE'; 
	 } else { 
	   browser = 'Netscape'; 
	 }
	 if (navigator.userAgent.indexOf('Win') == -1) { 
	   plateForme = 'Macintosh'; 
	 } else { 
	   plateForme = 'Windows'; 
	 }
	 if ((plateForme == 'Windows') && (browser == 'IE')) { 
	  var fenetre = window.open(url, "fenetreFull", "fullscreen=yes", "scrollbars=no"); 
	  fenetre.moveTo(0,0); 
	  fenetre.resizeBy(16,0); 
	 } else { 
	   if (plateForme == 'Windows') { 
		 if (browser == 'Netscape') { 
		   var decalLargeur = -12; 
		  var decalHauteur = 0; 
			var largeurEcran = screen.availWidth + decalLargeur; 
		   var hauteurEcran = screen.availHeight + decalHauteur; 
		   var fenetre = window.open(url,"titre","width=" + largeurEcran + ",height=" +hauteurEcran); 
		   fenetre.moveTo(0 - decalLargeur,0 - decalHauteur); 
		}  
	  } else { 
		 if (plateForme == 'Macintosh') { 
			 if (browser == 'Netscape') { 
				 var decalLargeur = -10; 
				 var decalHauteur = -30; 
				 var largeurEcran = screen.availWidth + decalLargeur; 
				 var hauteurEcran = screen.availHeight + decalHauteur; 
				 var fenetre = window.open(url,"titre","width=" + largeurEcran + ",height=" +hauteurEcran); 
				 fenetre.moveTo(0,0); 
			 } 
			 if (browser == 'IE') { 
				var decalLargeur = 0; 
				var decalHauteur = 0; 
				var largeurEcran = screen.availWidth + decalLargeur; 
				var hauteurEcran = screen.availHeight + decalHauteur; 
				var fenetre = window.open(url,"titre"); 
				fenetre.moveTo(0,0); 
				fenetre.resizeTo(largeurEcran,hauteurEcran); 
			 } 
		 } 
	 } 
	} 
	}
	
} // Global
function ouvfenpop(url) {
	if (url == '')
		alert("URL appelée non fournie !");
	else
	{
	document.getElementById('framcont').src = url;		
//	frames['framcont'].location.href= url;
//	document.getElementById('framcont').location.href = url;
//my_window = document.all ? document.all['fenpop'] : document.getElementById ? document.getElementById('fenpop') : ""
 	document.getElementById('fenpop').style.visibility='visible';
//my_window.style.visibility='visible';
	}
}
function fermfenpop() {
	document.getElementById('framcont').src = 'bye.html';		
	//frames['framcont'].location.href= 'bye.html';
//	document.getElementById('framcont').location.href = url;
//my_window = document.all ? document.all['fenpop'] : document.getElementById ? document.getElementById('fenpop') : ""
 document.getElementById('fenpop').style.visibility='hidden';
//my_window.style.visibility='visible';
}

function txt_camping(type,lg,rep,url,id1,id2)
{
	var xhr_object = null;
	if(window.XMLHttpRequest) xhr_object = new XMLHttpRequest();
		else
	if (window.ActiveXObject) xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
	xhr_object.open("GET", rep+"/"+url+lg+"."+type, true);
	xhr_object.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	xhr_object.onreadystatechange = function(){
	if ( xhr_object.readyState == 4 )
		{
		 var chaine = unescape(xhr_object.responseText);
		 chaine = chaine.replace(/camping/gi,"<strong>camping</strong>");
		 chaine = chaine.replace(/;/gi,"<br/>");
		 chaine = chaine.replace(/\+/gi," ");
		 document.getElementById(id1).innerHTML = chaine + document.getElementById(id1).innerHTML;
		 if (id2!="")
		 	document.getElementById(id2).innerHTML = chaine + document.getElementById(id2).innerHTML;
		}
	}
	xhr_object.send(null);
}

// End -->
