
_banners = new Array;var count;var div;
_banners1 = new Array;var count1;var div1;
_banners2 = new Array;var count2;var div2;
_banners10 = new Array;var count10;var div10;
_banners11 = new Array;var count11;var div11;
_banners12 = new Array;var count12;var div12;

/* this is to keep people from stealing bandwidth */
/* remove this to run this on your own server */
/*if (document.location.toString().indexOf("examples.com") == -1) {
  top.document.location="http://www.js-examples.com";
}*/
/* this is to keep people from stealing bandwidth */
var isAutre;
isAutre=false;
isNS = navigator.appName.indexOf("Netscape")  != -1
isIE = navigator.appName.indexOf("Microsoft") != -1
isFireFox = navigator.userAgent.indexOf("Firefox") != -1

//alert(navigator.appName)
if ((isIE==false)&&(isNS==false)&&(isFireFox==false))  {
	isAutre=true;
	}

function NewDiv2(window, id, body, left, top, width, height, zIndex, absolute) {
    this.window = window;
    this.id     = id;
    this.body   = body;
    var d = window.document;
    d.writeln('<STYLE TYPE="text/css">#' + id + ' {');
	if (absolute) d.write('position:absolute;');
	else          d.write('position:relative;');
    if (left)   d.write('left:'  + left  + ';');
    if (top)    d.write('top:'   + top   + ';');
    if (width)  d.write('width:' + width + ';');
	if (height) d.write('height:' + height + ';');
	if (zIndex) d.write('z-index:' + zIndex + ';');
    d.writeln('}</STYLE>');
}

if ((isNS)) {
    NewDiv2.prototype.output             = function()      { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.layer = d[this.id];}
    NewDiv2.prototype.moveTo             = function(x,y)   { this.layer.moveTo(x,y); }
    NewDiv2.prototype.moveBy             = function(x,y)   { this.layer.moveBy(x,y); }
    NewDiv2.prototype.show               = function()      { this.layer.visibility = "show"; }
    NewDiv2.prototype.hide               = function()      { this.layer.visibility = "hide"; }
    NewDiv2.prototype.setZ               = function(z)     { this.layer.zIndex = z; }
    NewDiv2.prototype.setBgColor         = function(color) { this.layer.bgColor = color; }
    NewDiv2.prototype.setBgImage         = function(image) { this.layer.background.src = image;}
    NewDiv2.prototype.getX               = function() { return this.layer.left; }
    NewDiv2.prototype.getY               = function() { return this.layer.top; } //was right .. ??
    NewDiv2.prototype.getWidth           = function() { return this.layer.width; }
    NewDiv2.prototype.getHeight          = function() { return this.layer.height; }
    NewDiv2.prototype.getZ               = function() { return this.layer.zIndex; }
    NewDiv2.prototype.isVisible          = function() { return this.layer.visibility == "show"; }
    NewDiv2.prototype.setBody            = function() { for(var i = 0; i < arguments.length; i++) this.layer.document.writeln(arguments[i]);this.layer.document.close();}
    NewDiv2.prototype.addEventHandler    = function(eventname, handler) {this.layer.captureEvents(NewDiv._eventmasks[eventname]); var newdivel = this;this.layer[eventname] = function(event) { return handler(newdivel, event.type, event.x, event.y, event.which, event.which,((event.modifiers & Event.SHIFT_MASK) != 0),((event.modifiers & Event.CTRL_MASK)  != 0),((event.modifiers & Event.ALT_MASK)   != 0));}}
    NewDiv2.prototype.removeEventHandler = function(eventname)          {this.layer.releaseEvents(NewDiv._eventmasks[eventname]);delete this.layer[eventname];}
    NewDiv2.prototype.centerX            = function() {this.layer.moveTo(Math.round((window.pageXOffset+document.width-100)/2),this.layer.top)}
    NewDiv2._eventmasks                  = {onabort:Event.ABORT,onblur:Event.BLUR,onchange:Event.CHANGE,onclick:Event.CLICK,ondblclick:Event.DBLCLICK, ondragdrop:Event.DRAGDROP,onerror:Event.ERROR, onfocus:Event.FOCUS,onkeydown:Event.KEYDOWN,onkeypress:Event.KEYPRESS,onkeyup:Event.KEYUP,onload:Event.LOAD,onmousedown:Event.MOUSEDOWN,onmousemove:Event.MOUSEMOVE, onmouseout:Event.MOUSEOUT,onmouseover:Event.MOUSEOVER, onmouseup:Event.MOUSEUP,onmove:Event.MOVE,onreset:Event.RESET,onresize:Event.RESIZE,onselect:Event.SELECT,onsubmit:Event.SUBMIT,onunload:Event.UNLOAD};
}

if ((isIE)||(isFireFox)) {
  	NewDiv2.prototype.output             = function()                   { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.element = d.getElementById(this.id);this.style = this.element.style;}
    NewDiv2.prototype.moveTo             = function(x,y)                { this.style.pixelLeft = x;this.style.pixelTop = y;}
    NewDiv2.prototype.moveBy             = function(x,y)                { this.style.pixelLeft += x;this.style.pixelTop += y;}
    NewDiv2.prototype.show               = function()                   { this.style.visibility = "visible"; }
    NewDiv2.prototype.hide               = function()                   { this.style.visibility = "hidden"; }
    NewDiv2.prototype.setZ               = function(z)                  { this.style.zIndex = z; }
    NewDiv2.prototype.setBgColor         = function(color)              { this.style.backgroundColor = color; }
    NewDiv2.prototype.setBgImage         = function(image)              { this.style.backgroundImage = image;}
    NewDiv2.prototype.getX               = function()                   { return this.style.pixelLeft; }
    NewDiv2.prototype.getY               = function()                   { return this.style.pixelRight; }
    NewDiv2.prototype.getWidth           = function()                   { return this.style.width; }
    NewDiv2.prototype.getHeight          = function()                   { return this.style.height; }
    NewDiv2.prototype.getZ               = function()                   { return this.style.zIndex; }
    NewDiv2.prototype.isVisible          = function()                   { return this.style.visibility == "visible"; }
    NewDiv2.prototype.setBody            = function()                   { var body = "";for(var i = 0; i < arguments.length; i++) {body += arguments[i] + "\n";}this.element.innerHTML = body;}
    NewDiv2.prototype.addEventHandler    = function(eventname, handler) { var NewDiv = this;this.element[eventname] = function() { var e = NewDiv.window.event;e.cancelBubble = true;return handler(NewDiv, e.type, e.x, e.y, e.button, e.keyCode, e.shiftKey, e.ctrlKey, e.altKey); }}
    NewDiv2.prototype.removeEventHandler = function(eventname)          { delete this.element[eventname];}
	NewDiv2.prototype.centerX            = function()                   { this.style.pixelLeft=Math.round((document.body.clientWidth+document.body.scrollLeft-300)/2)}
}

if (isAutre) {
    NewDiv2.prototype.output             = function()                   { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.element = d.getElementById(this.id);this.style = this.element.style;}
    NewDiv2.prototype.moveTo             = function(x,y)                { this.style.pixelLeft = x;this.style.pixelTop = y;}
    NewDiv2.prototype.moveBy             = function(x,y)                { this.style.pixelLeft += x;this.style.pixelTop += y;}
    NewDiv2.prototype.show               = function()                   { this.style.visibility = "visible"; }
    NewDiv2.prototype.hide               = function()                   { this.style.visibility = "hidden"; }
    NewDiv2.prototype.setZ               = function(z)                  { this.style.zIndex = z; }
    NewDiv2.prototype.setBgColor         = function(color)              { this.style.backgroundColor = color; }
    NewDiv2.prototype.setBgImage         = function(image)              { this.style.backgroundImage = image;}
    NewDiv2.prototype.getX               = function()                   { return this.style.pixelLeft; }
    NewDiv2.prototype.getY               = function()                   { return this.style.pixelRight; }
    NewDiv2.prototype.getWidth           = function()                   { return this.style.width; }
    NewDiv2.prototype.getHeight          = function()                   { return this.style.height; }
    NewDiv2.prototype.getZ               = function()                   { return this.style.zIndex; }
    NewDiv2.prototype.isVisible          = function()                   { return this.style.visibility == "visible"; }
    NewDiv2.prototype.setBody            = function()                   { var body = "";for(var i = 0; i < arguments.length; i++) {body += arguments[i] + "\n";}this.element.innerHTML = body;}
    NewDiv2.prototype.addEventHandler    = function(eventname, handler) { var NewDiv = this;this.element[eventname] = function() { var e = NewDiv.window.event;e.cancelBubble = true;return handler(NewDiv, e.type, e.x, e.y, e.button, e.keyCode, e.shiftKey, e.ctrlKey, e.altKey); }}
    NewDiv2.prototype.removeEventHandler = function(eventname)          { delete this.element[eventname];}
	NewDiv2.prototype.centerX            = function()                   { this.style.pixelLeft=Math.round((document.body.clientWidth+document.body.scrollLeft-300)/2)}
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function OuvreFenetre(url) {
	var largeurFen=690;
	var hauteurFen=480;
	var xFen=(screen.width-largeurFen)/2;
	var yFen=(screen.height-hauteurFen-50)/2;
	w=window.open(url,"Fen","resizable=yes, scrollbars=yes, width="
	    +largeurFen+",height="+hauteurFen+",screenX="+xFen
        +",screenY=200,top="+yFen+",left="+xFen);
	}
/////////////////////////////////////////////////////////////////////////
function aleatoire(N) {
      return (Math.round((N-1)*Math.random()));
   }
///////////////////////////////////////////////////////////////////////   
function addBanner(num,bannerHTML) {
switch (num){ 
	case 0:
		_banners[_banners.length?_banners.length:0]=bannerHTML;
		//_banners[_banners.length]=bannerHTML;
		break;
	case 1:
		_banners1[_banners1.length?_banners1.length:0]=bannerHTML;
		break;
	case 2:
		_banners2[_banners2.length?_banners2.length:0]=bannerHTML;
		break;
	case 10:
		_banners10[_banners10.length?_banners10.length:0]=bannerHTML;
		break;
	case 11:
		_banners11[_banners11.length?_banners11.length:0]=bannerHTML;
		break;			
	case 12:
		_banners12[_banners12.length?_banners12.length:0]=bannerHTML;
		break;			
	default:
		_banners[_banners.length?_banners.length:0]=bannerHTML;
		break;
	}	
}
////////////////////////////////////////////////////////////////////////
function doIt(num) {
switch (num){ 
	case 0:
		count++;
		count=count % _banners.length;
		div.setBody(_banners[count]);
		break;	
	case 1:
		count1++;
		count1=count1 % _banners1.length;
		div1.setBody(_banners1[count1]);
		break;
	case 2:
		count2++;
		count2=count2 % _banners2.length;
		div2.setBody(_banners2[count2]);
		break;
	case 10:
		count10++;
		count10=count10 % _banners10.length;
		div10.setBody(_banners10[count10]);
		break;		
	case 11:
		count11++;
		count11=count11 % _banners11.length;
		div11.setBody(_banners11[count11]);
		break;				
	case 12:
		count12++;
		count12=count12 % _banners12.length;
		div12.setBody(_banners12[count12]);
		break;				
	default:
		count++;
		
		count=count % _banners.length;
		div.setBody(_banners[count]);
		break;	
	}
}

function SourceFlash(src,width,height) {
	ch="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='"+width+"' height='"+height+"'>          <param name=movie value='"+src+"'><param name=quality value=high>          <embed src='"+src+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'>          </embed>         </object>";
	return ch;
}

function SourceImage(src,provenance,lien,width,height) {
	url="http://www.francecom.com/redirect/redirect.php?src="+provenance+"&url="+lien;
	ch="<table border=0 cellpadding=0 cellspacing=0><tr><td><a href='javascript:;' onClick=\"OuvreFenetre('"+url+"');return true;\" onMouseover=\"window.status='En cliquant vous allez vers la page:"+lien+"';return true;\" onMouseout=\"window.status='';return true;\"><img border=0 alt='lien vers "+lien+"' src='"+src+"' width='"+width+"' height='"+height+"'></a></td></tr></table>";
	return ch;
}
///////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function DefinitionPubSite(site,numdept,num) {
//#########################################################################################################################################
if (site=="FranceCom") {
	//Definition des bannieres
	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-escaleduperthuis-francecom.swf','468','60'));
	nb=1;
	}
//#########################################################################################################################################
if (site=="FranceComPastille") {
	//Definition des bannieres
	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
	nb=1;
	}	
//#########################################################################################################################################
if (site=="AFTPastille") {
	//Definition des bannieres
	switch (numdept){  
		case 20 :
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-ohara-aft.swf','100','100'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-diliccia-aft.swf','100','100'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-sunroller-aft.swf','100','100'));
			nb=3;
			break; 
			
					 
		case 44 :
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-appartlabaule-aft.swf','100','100'));
			nb=1;
			break; 						 
		case 47 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-moulinduperie-aft.swf','100','100'));
			nb=1;
			break;
		case 85 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-lescaleduperthuis-aft.swf','100','100'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-aft.swf','100','100'));
			nb=2;
			break;		
		default:
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			nb=2;
			break;
		}
	}
//#########################################################################################################################################
if (site=="CampingFrancePastille") {
	if (num=="10") {
		num0=num;
		num1=num+1;
		}
	if (num=="11") {
		num0=num-1;
		num1=num;
		}
	num2=12;
	//Definition des bannieres
	//alert(numdept);
	switch (numdept){  
		case "17" :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-lesgrosjoncs-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			nb=3;
			break;
		case "Languedoc-Roussillon":
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-olivette-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-vallespir-campingfrance.swf','100','100'));
			nb=2;
			break;	

		case "66":		 
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-olivette-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-vallespir-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-olivette-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-vallespir-campingfrance.swf','100','100'));
			nb=3;
			break;		
		case "20" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-ohara-campingfrance.swf','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-diliccia-campingfrance.swf','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-diliccia-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-sunroller-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-ohara-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-sunroller-campingfrance.swf','100','100'));
			nb=4;
			break;
		case "Corse" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-ohara-campingfrance.swf','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-diliccia-campingfrance.swf','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-diliccia-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-sunroller-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-ohara-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-sunroller-campingfrance.swf','100','100'));
			nb=4;
			break;
		case "Poitou-Charente" :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-lesgrosjoncs-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			nb=3;
			break;	
		case "Pays-de-la-Loire":			 				
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-p-lespirons-campingfrance.gif','CampingFrance','http://www.camping-les-pirons.com/','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-lescaleduperthuis-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-campingfrance.swf','100','100'));
			addBanner(num2,SourceImage('http://www.francecom.com/img/pub/pub-p-lespirons-campingfrance.gif','CampingFrance','http://www.camping-les-pirons.com/','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-lescaleduperthuis-campingfrance.swf','100','100'));
			nb=3;
			break;	
		case 85:			 				
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-p-lespirons-campingfrance.gif','CampingFrance','http://www.camping-les-pirons.com/','100','100'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-lescaleduperthuis-campingfrance.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-flotsbleus-campingfrance.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-p-lescaleduperthuis-campingfrance.swf','100','100'));
			nb=3;
			break;				
		default:
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			addBanner(num2,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			nb=1;
			break;
		}
	}				
//#########################################################################################################################################
if (site=="AFT") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}
	//Definition des bannieres
	
	switch (numdept){  		
	case 0 :
		  addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','aft','http://www.lefief.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','aft','http://www.lefief.com/','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-aft.swf','468','60'));
	    addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-aft.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
			nb=12;
			break;
		case 17 :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lesgrosjoncs-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-leschenes-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campinglapignade-aft.swf','468','60'));
      addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-aft-phisa.gif','AFT','http://www.agence-phisa.fr/agence-immobiliere-rochefort.html','468','60'));
			nb=4;
			break;
		case 22 :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			nb=2;
			break;	
		case 29 :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-sablesblancs-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-sablesblancs-aft.swf','468','60'));
			nb=2;
			break;
		case 33 :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-cotedargent-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-sabledargent-aft.swf','468','60'));
			nb=2;
			break;  
		case 34 :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-aft.swf','468','60'));
			nb=2;
			break;  
		case 40 :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-larive-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-larive-aft.swf','468','60'));
			nb=2;
			break;										
		case 44 :    
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-laroseraie-aft.swf','468','60'));
      addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','aft','http://www.lefief.com/','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-aft.swf','468','60'));
      addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-aft.swf','468','60'));
			nb=4;			
			break;
		case 49 :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-aft.swf','468','60'));
			nb=2;
			break;										
	
	case 62 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-aft.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-aft.swf','468','60'));	
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-aft.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-aft.swf','468','60'));
      nb=4;
			break;			
		case 66 :       
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-aft.swf','468','60'));
			nb=4;
			break;
		case 65:
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-aft.swf','468','60'));
			nb=4;
			break;
		case 83 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesmures-aft.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesmures-aft.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesmures-aft.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesmures-aft.swf','468','60'));
			nb=4
			break;
		case 85 :    
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lesbiches-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespirons-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lesbiches-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespirons-aft.swf','468','60'));
		  addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-aft.swf','468','60'));
			nb=6
			break;
		case 88 :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-aft.swf','468','60'));
			nb=4
			break;
		default : 
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-aft.swf','468','60'));
			nb=4
			break;
		}
	}
//#########################################################################################################################################	
if (site=="CampingFrance") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}

	//Definition des bannieres
	//alert(numdept);
	switch (numdept){  
	case "0" :
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','campingfrance','http://www.lefief.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','campingfrance','http://www.lefief.com/','468','60'));
		  addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
		  addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-lafalaise.gif','campingfrance','http://www.camping-de-la-falaise.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-lafalaise.gif','campingfrance','http://www.camping-de-la-falaise.com/','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lemoteno-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lemoteno-campingfrance.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
			nb=12;
			break;
  case "04" : 
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lhippocampe-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lhippocampe-campingfrance.swf','468','60'));
			nb=2;
			break; 	
 case "Provence-Alpes-Cote-D-Azur":
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lhippocampe-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lhippocampe-campingfrance.swf','468','60'));
			nb=2;
			break; 	

		case "29" :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-sablesblancs-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-sablesblancs-campingfrance.swf','468','60'));
			
			nb=2;
			break;
		case "Bretagne" :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-sablesblancs-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lemoteno-campingfrance.swf','468','60'));
			nb=2;
 			break;
		case "17" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-leschenes-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-leschenes-campingfrance.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-aft-phisa.gif','CAMPINGFRANCE','http://www.agence-phisa.fr/','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campinglapignade.swf','468','60'));
			nb=4;
			break;  
		case "Poitou-Charente" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-leschenes-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-leschenes-campingfrance.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-aft-phisa.gif','CAMPINGFRANCE','http://www.agence-phisa.fr/','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campinglapignade.swf','468','60'));
			nb=4;
			break;  
		case "33" :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-cotedargent-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-cotedargent-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campingfrance-sabledargent.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campingfrance-sabledargent.swf','468','60'));
			nb=4;
			break;  
		case "Aquitaine" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-cotedargent-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campingfrance-sabledargent.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-larive-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-clubmarina-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campingfrance-sabledargent.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-cotedargent-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-clubmarina-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-larive-campingfrance.swf','468','60'));
			nb=8;
			break; 
		case "40" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-larive-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-clubmarina-campingfrance.swf','468','60'));
			nb=2;
			break;						
		case "66" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-frontmer-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-sudvacances-campingfrance.swf','468','60'));
			nb=4;
			break;
		case "34" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "Languedoc-Roussillon" :	
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-frontmer-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-frontmer-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-campingfrance.swf','468','60'));
			nb=4;
			break;
			
			
		case "88" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-campingfrance.swf','468','60'));
			nb=4;
			break;
		case "Lorraine" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-closdelachaume-en-campingfrance.swf','468','60'));
			nb=4;
			break;
			
		case "44" :
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-lefief.gif','campingfrance','http://www.lefief.com/','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-campingfrance.swf','468','60'));			
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-laroseraie-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lesecureuils44-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lesecureuils44-campingfrance.swf','468','60'));
     	nb=6;
			break;
		case "49" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "56" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lemoteno-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lemoteno-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "85" :
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-lesbiches-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespirons-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-paradis-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespreveils-camping-france.swf','468','60'));
		  addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
			nb=6;
			break;
		case "Pays-de-la-Loire" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lesbiches-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespirons-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-valdeloire-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lesecureuils44-campingfrance.swf','468','60'));
 			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-campingfrance.swf','468','60'));	
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-laroseraie-campingfrance.swf','468','60'));
		  addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
		  addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingfrance.swf','468','60'));
		  addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-lespreveils-camping-france.swf','468','60'));
  		nb=10;
			break;
		case "65":
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "Midi-Pyrenees" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-pratdourey-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "62":
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-campingfrance.swf','468','60'));
			nb=2;
			break;
		case "Nord-Pas-De-Calais" :
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-campingfrance.swf','468','60'));
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-laguinguette-campingfrance.swf','468','60'));
			nb=2;
			break;
						
			
			
		default : 
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-campingfrance.swf','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-campassur-campingfrance.swf','468','60'));

			nb=2
			break;
			}		
	}
//#########################################################################################################################################	
if (site=="CampingVendee") {
	/*if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}*/
	//Definition des bannieres

	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesbiches-campingvendee.swf','468','60'));
	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-grand-metairie-campingvendee.swf','468','60'));
  addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-campingvendee-almadies.swf','468','60'));
  addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-mesvacancesenvendee-campingvendee.swf','468','60'));
  nb=4;
	}
//#########################################################################################################################################
if (site=="CampingProvence") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}
	//Definition des bannieres
	switch (numdept){
		case '06':
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-shpa-campingprovence.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-shpa-campingprovence.swf','468','60'));
			nb=2;
			break;
		case '84':
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-chenesblancs-campingprovence.swf','468','60'));
			//addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-coronne-campingprovence.swf','468','60'));
			nb=1;
			break;
		default :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lesombrages-campingprovence.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lhippocampe-campingprovence.swf','468','60'));			
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-auvallonrouge-campingprovence.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-residencecampeur-campingprovence.swf','468','60'));					
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-shpa-campingprovence.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-chenesblancs-campingprovence.swf','468','60'));
			//addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-coronne-campingprovence.swf','468','60'));
			
      //addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lou-pantai-campingprovence.swf','468','60'));
      nb=6;
    	break;

		}
	}
//#########################################################################################################################################
if (site=="CampingBretagne") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}
	//Definition des bannieres
	
	switch (numdept){   
		default :       
			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-cadu-campingbretagne.swf','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-capucines.gif','campingbretagne','http://www.lescapucines.fr/','468','60'));
			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-cadu-campingbretagne.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-capucines.gif','campingbretagne','http://www.lescapucines.fr/','468','60'));
 			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-moteno-dept-camping-bretagne.swf','468','60'));
 			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-moteno-dept-camping-bretagne.swf','468','60'));
 			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-blanchehermine-campingbretagne.swf','468','60'));
 			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-blanchehermine-campingbretagne.swf','468','60'));
			addBanner(num0,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
			addBanner(num1,SourceImage('http://www.francecom.com/img/pub/pub-tabardierefr.jpg','campingbretagne','http://www.camping-la-tabardiere.com/','468','60'));
 			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-menhir-camping-bretagne.swf','468','60'));
 			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-menhir-camping-bretagne.swf','468','60'));
 			addBanner(num1,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-breton-campingbretagne.swf','468','60'));
 			addBanner(num0,SourceFlash('http://www.francecom.com/img/pub/pub-ocean-breton-campingbretagne.swf','468','60'));
 			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lessaules-campingfrance.swf','468','60'));
 			
			nb=14;
			break;
		}
	}
//#########################################################################################################################################	
if (site=="CampingMediterranee") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}
	//Definition des bannieres
	
	switch (numdept){ 
  case "0":
    	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lescigales-campingmediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-mediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-mediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-campingmediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lamparo-campingmediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-vallespir-mediterranee.swf','468','60'));
			nb=6;
break;
		case "30" :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lescigales-campingmediterranee.swf','468','60'));
		  addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-abri-camargue-campingmediterranee.swf','468','60'));
			nb=2;
			break;
		case "66" :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lefloridavente-mediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-leflorida-mediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-lamparo-campingmediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-vallespir-mediterranee.swf','468','60'));
      nb=4;
			break;
		case "34" :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-campingmediterranee.swf','468','60'));
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-mimosas-campingmediterranee.swf','468','60'));
			nb=2;
			break;
			
		default :   
    addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-francecom2005.swf','468','60'));
    addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-abri-camargue-campingmediterranee.swf','468','60'));
    nb=2;   
			break;
		}
	}
//#########################################################################################################################################
if (site=="CampingMediterraneePastille") {

	//Definition des bannieres
	
	switch (numdept){   
		case 66 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-p-croixdusud-campingmediterranee.swf','100','100'));
			nb=1;
			break;
		default :       
	    addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-adressedns.swf','100','100'));
			nb=1;
			break;
		}
	}	
//#########################################################################################################################################	
if (site=="CampingAquitaine") {
	if (num==0) {
		num0=num;
		num1=num+1;
		}
	else {
		num0=num-1;
		num1=num;
		}
	//Definition des bannieres
	
	switch (numdept){   
		case 33 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-francecom2005.swf','468','60'));
			nb=1;
			break;
		case 40 :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-francecom2005.swf','468','60'));
			nb=1;
			break;
		case "fr" :       
			//addBanner(num,SourceFlash('http://www.francecom.com/img/pub/2774_pub33_special.swf','468','60'));
//addBanner(num,SourceImage('http://www.francecom.com/img/pub/pub-lelilhan-campingaquitaine.gif','campingaquitaine','http:/www.lelilhan.com/','468','60'));
//	addBanner(num,SourceImage('http://www.francecom.com/img/pub/pub-adressedns.gif','VilleFrance','http://www.adressedns.com/','468','60'));
			nb=0;
			break;	
		case "de" :       
			//addBanner(num,SourceFlash('http://www.francecom.com/img/pub/2774_pub33_special.swf','468','60'));
			nb=0;
			break;			
    case "uk" :       
			//addBanner(num,SourceFlash('http://www.francecom.com/img/pub/2774_pub33_special.swf','468','60'));
			//nb=0;
			break;			
   case "it" :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/2774_pub33_special.swf','468','60'));
			//nb=0;
			break;
  case "nl" :       
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/2774_pub33_special.swf','468','60'));
			//nb=0;
			break;
  default :  
			addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-francecom2005.swf','468','60'));
			nb=1;
			break;
		}
	}
//#########################################################################################################################################
if (site=="CampingCorse") {
	//Definition des bannieres
	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-campingcalvi-campingcorse.swf','468','60'));
	
	  nb=1;
	}
//#########################################################################################################################################
if ((site=="VillesFrance")||(site=="SortirANantes")) {
	//Definition des bannieres
	addBanner(num,SourceFlash('http://www.francecom.com/img/pub/pub-francecom2005.swf','468','60'));
	addBanner(num,SourceImage('http://www.francecom.com/img/pub/pub-adressedns.gif','VilleFrance','http://www.adressedns.com/','468','60'));
	nb=2;
	}
	
switch(num) {
	case 0:
		count=aleatoire(_banners.length); /* which one to start with */
		div = new NewDiv2(window, "banner", _banners[count],0,0,0,0,500,false);
		setInterval('doIt(0)',8000);
		div.output();
		break;
	case 1:
		if (nb>1) {
			count1=aleatoire(_banners1.length); /* which one to start with */
			div1 = new NewDiv2(window, "banner1", _banners1[count1],0,0,0,0,500,false);
			setInterval('doIt(1)',8000);
		 	div1.output();
			}
		break;
	case 2:
		if (nb>2) {
			count2=aleatoire(_banners2.length); /* which one to start with */
			div2 = new NewDiv2(window, "banner2", _banners2[count2],0,0,0,0,500,false);
			setInterval('doIt(2)',7000);
		 	div2.output();
			}
		break;
	case 10:
		count10=aleatoire(_banners10.length); /* which one to start with */
		div10 = new NewDiv2(window, "banner10", _banners10[count10],0,0,0,0,500,false);
		setInterval('doIt(10)',7000);
		div10.output();
		break;	
	case 11:
		count11=aleatoire(_banners11.length); /* which one to start with */
		div11 = new NewDiv2(window, "banner11", _banners11[count11],0,0,0,0,500,false);
		setInterval('doIt(11)',7000);
		div11.output();
		break;	
	case 12:
		count12=aleatoire(_banners12.length); /* which one to start with */
		div12 = new NewDiv2(window, "banner12", _banners12[count12],0,0,0,0,500,false);
		setInterval('doIt(12)',7000);
		div12.output();
		break;	
	}
}

