 var paf = {
	'_topics'	: {},	// les &eacute;vènements 
	'_global'	: {} // les paramètres globaux que l'on peut enregistrer dans la page
};


paf.subscribe = function(topic, context, method){
	var f = paf._topics[topic];
	if (!f || !f._listeners){
		paf._topics[topic] = {
			'_listeners':[]
		}
	}
	// attention: le pointeur retourn&eacute; est celui du prochain slot disponible (d'où le "handle--" dans la fonction remove)
	return [topic,paf._topics[topic]._listeners.push({'context':context,'method':method})];
}

paf.unsubscribe = function(/*Handle*/ handle){
	if(handle){
		var f = paf._topics[handle[0]];
		if(f && f._listeners && handle[1]--){
			delete f._listeners[handle[1]];
		}
	}
}

paf.publish = function(topic,args){
	var f = paf._topics[topic];
	if (f){
		var iMax = f._listeners.length;
		for (var i = 0; i < iMax; i++){
			paf.hitch(f._listeners[i].context,f._listeners[i].method,args)();
		}
	}
}

paf.hitch = function(ctx,method,args){
	args = args || [];
	if (typeof method == "string" && ctx[method]){
		return function(){ 
			for (var i=0; i<arguments.length; i++){
				args.push(arguments[i]);
			}
			return ctx[method].apply(ctx, args);
		};
	}
}

paf.dom = {
	/**
	 * recuperer le vrai premier noeud fils de hNode
	 * @param DOMNode hNode noeud dans lequel on recherche le premier vrai noeud
	 */
	firstNode: function(hNode){
		if(hNode.firstChild != null){
			var hFirstNode = hNode.firstChild;
			while(hFirstNode.nodeType !== 1 && hFirstNode.nextSibling){
				hFirstNode = hFirstNode.nextSibling;
			}
			return hFirstNode;
		} else {
			return false;
		}
	},
	/**
	 * recuperer un element de l'arbre DOM en fonction de son id (document.getElementById)
	 * @param String sId chaine identifiant l'id du noeud a recuperer
	 * @param DOMNode hContainer container dans lequel se trouve l'element d'id sId (facultatif)
	 */
	getById: function(sId){
		return document.getElementById(sId) || false;
		
	},
	/**
	 * recuperer un tableau element de l'arbre DOM en fonction du tag name, du container et de la classe
	 * @param String sTag tagName a recuperer
	 * @param DOMNode hContainer container dans lequel se trouve les element de tag sTag
	 * @param sClass String filtrer sur le nom de classe css
	 */
	getByTag: function(sTag, hContainer, sClass){
		var h = [];
		var aElts = [];
		
		if(hContainer){
			aElts = hContainer.getElementsByTagName(sTag);
		} else {
			aElts = document.getElementsByTagName(sTag);
		}
		if(sClass){
			var iMax = aElts.length;
			var i = 0;
			for(i; i < iMax; i++){
				if(aElts[i].className) {
					var bIsGettable = 
						aElts[i].className ===  sClass ||
						aElts[i].className.indexOf([" ", sClass].join("")) > -1 ||
						aElts[i].className.indexOf([sClass, " "].join("")) > -1;
					if(bIsGettable){
						h.push(aElts[i]);
					}
				}
			}
		} else {
			h = aElts;
		}
		return h;
	},
	/**
	 * creer un element de l'arbre DOM de type sTag, avec les attributs oAttrValues dans le noeud hParentNode
	 * @param String sTag tagName a creer
	 * @param JSON Object oAttrValues, objet json de paires cles valeur pour la creation des attributs du noeud
	 * @param hParentNode DOMNode placer le noeud cree dans le noeud hParentNode
	 */
	create: function(sTag, oAttrValues, hParentNode){
		var tag = document.createElement(sTag);
		for(var i in oAttrValues){
			tag[i] = oAttrValues[i];
		}
		if(hParentNode && hParentNode.appendChild){
			hParentNode.appendChild(tag);
		}
		return tag;
	},
	/**
	 * placer un element DOM a une certaine position dans l'arbre DOM
	 * @param hNode DOMNode element node a placer
	 * @param hRefNode DOMNode noeud de reference par rapport auquel se placer
	 * @param sPosition String definit la position a adopter
	 */
	place: function(hNode, hRefNode, sPosition){
		switch (sPosition) {
			case "first":
				//hRefNode.insertBefore(hNode, hRefNode.firstChild);
				hRefNode.insertBefore(hNode, paf.dom.firstNode(hRefNode));
				break;
			case "before":
				hRefNode.parentNode.insertBefore(hNode, hRefNode);
				break;
			case "replace":
				hRefNode.firstChild.insertBefore(hNode, paf.dom.firstNode(hRefNode));
				hRefNode.parentNode.removeNode(hRefNode);
				break;
			default:
				hRefNode.appendChild(hNode);
		}
	},
	/**
	 * retirer le noeud hNode
	 */
	remove: function(hNode){
		if(hNode.parentNode){
			hNode.parentNode.removeNode(hNode);
		}
	},
	/**
	 * ajouter une classe Css au noeud hNode
	 * @param hNode DOMNode element node sur lequel on affecte la classe
	 * @param sClass String classe Css a appliquer
	 */
	addClass: function(hNode, sClass){
		if(hNode && !hNode.className.indexOf(sClass) > -1){
			if(hNode.className){
				hNode.className = [hNode.className, " ", sClass].join("");
			} else {
				hNode.className = sClass;
			}
		}
	},
	/**
	 * supprimer une classe Css au noeud hNode
	 * @param hNode DOMNode element node sur lequel on retire la classe
	 * @param sClass String classe Css a supprimer
	 */
	removeClass: function(hNode, sClass){
		if(hNode !== false){
			if(hNode.className.indexOf([sClass, " "].join("")) > -1){
				hNode.className = hNode.className.replace([sClass, " "].join(""), "");
			} else if (hNode.className.indexOf([" ", sClass].join("")) > -1){
				hNode.className = hNode.className.replace([" ", sClass].join(""), "");
			} else {
				hNode.className = hNode.className.replace(sClass, "");
			}
		}
	},
	/**
	 * trouver les coordonees x, y par rapport au body ou au noeud parent hContainer
	 * @param hNode DOMNode element node pour lequel on cherche la position
	 * @param hContainer DOMNode un noeud ancetre
	 */
	getCoords: function(hNode, hContainer){
		var oCoords = {"x": 0, "y": 0};
		var curNode = hNode;
		var bContainer = false;
		var hCont = (hContainer == "undefined") ? null : hContainer;
		do {
			oCoords.x += (paf.is.num(curNode.offsetLeft)) ? curNode.offsetLeft : 0;
			oCoords.y += (paf.is.num(curNode.offsetTop)) ? curNode.offsetTop : 0;
			curNode = curNode.offsetParent;
			if(hCont !== null){
				bContainer = (curNode == hCont);
			}
		} while(curNode !== null && !bContainer);
		
		return oCoords;
	},
	/**
	 * donne les dimensions largeur x hauteur du noeud
	 * @param hNode DOMNode 
	 */
	getSize: function(hNode){
		return {"w" : hNode.offsetWidth, "h" : hNode.offsetHeight };
	},
		/**
	 * cloner un noeud dom
	 * @param hNode DOMNode 
	 * @param bAllAttributes Bool veut-on recuperer tout les attributs du noeud dom ?
	 */
	clone: function(hNode, bAllAttributes){
		var bAll = (typeof bAllAttributes != "undefined") ? bAllAttributes : true;
		return hNode.cloneNode(bAll);
	},
	/**
	 * vider un noeud dom
	 * @param hNode DOMNode 
	 */
	emptyNode: function(hNode){
		while(hNode.firstChild){
			hNode.removeChild(hNode.firstChild);
		}
	},
	/**
	 * recuperer le style d'un noeud selon la propriete css
	 * hNode : DomNode
	 * sCss : string cle de la propriete a recuperer
	 */
	getStyle: function(hNode, sCss){
		var sValue = "";
		if(document.defaultView && document.defaultView.getComputedStyle){
			sValue = document.defaultView.getComputedStyle(hNode, "").getPropertyValue(sCss);
		} else if(hNode.currentStyle){
				sCss = sCss.replace(/\-(\w)/g, function (strMatch, p1){
				return p1.toUpperCase();
		});
			sValue = hNode.currentStyle[sCss];
		}
		return sValue
	}
};
paf.info = {
	"isIE" : (navigator.userAgent.indexOf("MSIE") > -1),
	"isFF" : (navigator.userAgent.indexOf("Firefox") > -1),
	"isChrome" : (navigator.userAgent.indexOf("Chrome") > -1),
	"isOpera" : (window.prop && window.prop.indexOf("Opera") > -1),
	"isSafari" : (navigator.vendor && navigator.vendor.indexOf("Apple") > -1),
	get : function(){
		return {
			"sCodeName" : navigator.appCodeName,
			"sName" : navigator.appName,
			"sVersion" : navigator.appVersion,
			"bCookie" : navigator.cookieEnabled,
			"sOS" : navigator.platform,
			"sUserAgent" : navigator.userAgent
			}
	}
};
paf.is = {
	num: function(n){
		return !isNaN(parseFloat(n)) && isFinite(n);
	},
	/*
	 * teste si l'objet pass&eacute; en paramètre est defini
	 * @param arguments[0], l'objet sur lequel le test est effectu&eacute;
	 */
	defined: function(){
		return typeof arguments[0] !== "undefined";
	},
	/*
	 * teste si l'objet pass&eacute; en paramètre est un tableau
	 * @param Object o, l'objet sur lequel le test est effectu&eacute;
	 */
	arr: function(o){
		return {}.toString.call(o) === '[object Array]'
	},
	/*
	 * teste si l'objet pass&eacute; en paramètre est une chaine de caractère
	 * @param Object o, l'objet sur lequel le test est effectu&eacute;
	 */
	str: function(o){
		return {}.toString.call(o) === '[object String]'
	}
};

paf.addEvent = function(oNode,sEvent,fct){
	if (oNode.addEventListener){
		oNode.addEventListener(sEvent, fct, false);
	} else {
		// version IE
		oNode.attachEvent('on'+sEvent, fct);
	}
}
paf.addEvent(window, "load", function(){
	if(typeof pafConf != "undefined" && typeof pafConf.aOnWindowLoad != "undefined"){
		var i = 0;
		var iMax = pafConf.aOnWindowLoad.length;
		for(i; i < iMax; i++){
			pafConf.aOnWindowLoad[i]();
		}
	}
});


paf.runOnLoad = function(){
	if(typeof pafConf != "undefined" && typeof pafConf.aRunOnLoad != "undefined"){
		var i = 0;
		var iMax = pafConf.aRunOnLoad.length;
		for(i; i < iMax; i++){
			pafConf.aRunOnLoad[i]();
		}
	}
}

paf.addEvent(window, "load", function(){
	paf.underlay.create();
});

paf.addEvent(window, "resize", function(){
	paf.publish("/omegamenu/position");
});


/**
* afficher un underlay
*/
paf.underlay = {
		hUnderlay: null,
		run: function(sAction){
			var sAction = arguments[0];
			var oArgs = (arguments[1]) ? arguments[1] : null;
			//console.log("paf.underlay::run", sAction);
		
			switch (sAction){
				case "create":
					if(this.hUnderlay == null){
						this._create();
					}
					break;
					
				case "display":
					if(this.hUnderlay == null){
						this._create();
					}
					this._open();
					paf.publish("/paf/underlay/displaying");
					break;
					
				case "hide":
					this._close();
					paf.publish("/paf/underlay/hiding");
					break;
				
				case "clear":
					this._destroy();
					break;
				
				case "setclass":
					//console.log(this.hUnderlay, oArgs);
					paf.dom.addClass(this.hUnderlay, oArgs);
					break;
					
				case "removeclass":
					paf.dom.removeClass(this.hUnderlay, oArgs);
					break;
					
				default:
					throw ("paf::underlay : unknown action", sAction);
					break;
			}
		},
		_create: function(){
			//console.log("paf.underlay::_create");
			this.hUnderlay = paf.dom.create("div", {"className" : "pafunderlay"}, document.body);
			paf.addEvent(this.hUnderlay, "click", paf.hitch(this, "hide"));
			paf.subscribe("/paf/underlay/hide", this, "_close");
			paf.subscribe("/paf/underlay/display", this, "display");
		},
		_open: function(){
			//console.log("paf.underlay::_open");
			var oDocumentSize = paf.dom.getSize(document.body);
			this.hUnderlay.style.width = [oDocumentSize.w, "px"].join("");
			this.hUnderlay.style.height = [oDocumentSize.h, "px"].join("");
			paf.dom.addClass(this.hUnderlay, "pafunderlay-display");
		},
		_close: function(){
			//console.log("paf.underlay::_close");
			paf.dom.removeClass(this.hUnderlay, "pafunderlay-display");
		},
		_destroy: function(){
			//console.log("paf.underlay::_destroy");
		},
		reset: function(){
			paf.dom.remove(this.hUnderlay);
			this._create();
		},
		display: function(){
			//console.log("paf.underlay::display");
			this.run("display");
		},
		hide: function(){
			//console.log("paf.underlay::hide");
			this.run("hide");
		},
		create: function(){
			//console.log("paf.underlay::create");
			this.run("create");
		},
		setClass: function(sClassName){
			this.run("setclass", sClassName);
		}
};

var oMegamenu = {
	hMegamenu: null,
	aMenuLabels: [],
	nElt: 0,
	sMegamenuContentsPattern: "-content",
	aContentsIds: [],
	hTimerIn: null,
	nHover: null,
	hCursor: null,
	hMmUnderlay: null,
	run: function(){
		var sAction = arguments[0];
		var oArgs = (arguments[1]) ? arguments[1] : null;
		//console.log("omegamenu:: run", arguments);
	
		switch (sAction){
			case "init":
				this.init();
				break;
			
			case "displaymenu" :
				if(this.hTimerIn !== null){
					clearTimeout(this.hTimerIn);
				}
				if(oArgs.iPos !== this.nHover){
					if(this.nHover !== null){
						this.hide();
					}
					this.hTimerIn = setTimeout(paf.hitch(this, "displayMenu", [oArgs.sId, oArgs.iPos]), 500);
				}
				break;
			
			case "stopdisplay" : 
				this.clearTimer();
				break;
			
			case "hide" : 
				this.hide();
				break;
				
			case "position" : 
				this.positionMenu();
				break;
			
			default:
				throw("oMegamenu : unknown action");
				break;
		}
	},
	init: function(){
		//console.log("oMegamenu::init");
		this.hMegamenu = paf.dom.getById("megamenu");
		this.aMenuLabels = paf.dom.getByTag("li", this.hMegamenu, "megamenu-label");
		this.nElt = this.aMenuLabels.length ;
		var i = 0;
		for(i; i < this.nElt; i++){
			paf.addEvent(this.aMenuLabels[i], "mouseover", paf.hitch(this, "run", ["displaymenu", {"sId": this.aMenuLabels[i].id, "iPos": i}]));
			paf.addEvent(this.aMenuLabels[i], "mouseout", paf.hitch(this, "run", ["stopdisplay"]));
		}
		
		this.hCursor = paf.dom.create("img", {"src" : "../img/z.gif", "className" : "megamenu-cursor"});
		paf.dom.place(this.hCursor, document.body);
		paf.subscribe("/omegamenu/hide", this, "close");

	},
	clearTimer: function(){
		//console.log("oMegamenu::clearTimer");
		if(this.hTimerIn !== null){
			clearTimeout(this.hTimerIn);
		}
		this.hTimerIn = null;
	},
	displayMenu: function(sId, iPos){
		//console.log("oMegamenu::displayMenu");
		this.nHover = iPos;
		this.clearTimer();
		var hContent = paf.dom.getById([sId, this.sMegamenuContentsPattern].join(""));
		var hLabel = this.aMenuLabels[iPos];
		this.hContentCurrent = paf.dom.getById([sId, this.sMegamenuContentsPattern].join(""));
		if(this.hContentCurrent != false){
			paf.dom.addClass(this.hContentCurrent, "megamenu-container-display");
			paf.dom.addClass(this.aMenuLabels[iPos], "megamenu-display");
			paf.dom.addClass(this.hCursor, "megamenu-cursor-display");
			if(paf.info.isIE){
				paf.dom.create('div', {className:'ieCornerTopLeft'}, this.hContentCurrent);
				paf.dom.create('div', {className:'ieCornerTopRight'}, this.hContentCurrent);
				paf.dom.create('div', {className:'ieCornerBotLeft'}, this.hContentCurrent);
				paf.dom.create('div', {className:'ieCornerBotRight'}, this.hContentCurrent);
			}
		}
		//paf.publish("/paf/underlay/display", ["toto"]);
		this.positionMenu();
		if(paf.underlay.hUnderlay != null){
			paf.publish("/paf/underlay/display");
			paf.dom.addClass(paf.underlay.hUnderlay, "megamenu-underlay");
			paf.addEvent(paf.underlay.hUnderlay, "mouseover", function(){
				paf.publish("/omegamenu/hide");
			});
		}
		
	},
	positionMenu:function(){
		if(this.hContentCurrent != null && typeof this.hContentCurrent.style != "undefined"){
			this.hContentCurrent.style.left = [ paf.dom.getCoords(this.hMegamenu).x, "px"].join("");
			this.hContentCurrent.style.top = [paf.dom.getCoords(this.aMenuLabels[this.nHover]).y + paf.dom.getSize(this.aMenuLabels[this.nHover]).h, "px"].join("");
			this.hCursor.style.top = [paf.dom.getCoords(this.aMenuLabels[this.nHover]).y + paf.dom.getSize(this.aMenuLabels[this.nHover]).h + 3, "px"].join("");
			this.hCursor.style.left = [paf.dom.getCoords(this.aMenuLabels[this.nHover]).x + (paf.dom.getSize(this.aMenuLabels[this.nHover]).w / 2) - 5, "px"].join("");
		}
	},
	hide: function(){
		if(this.nHover !== null){
			paf.dom.removeClass(this.aMenuLabels[this.nHover], "megamenu-display");
			paf.dom.removeClass(this.hContentCurrent, "megamenu-container-display");
			paf.dom.removeClass(this.hCursor, "megamenu-cursor-display");

			this.nHover = null;
			this.hContentCurrent = null;
			paf.publish("/paf/underlay/hide");
			paf.dom.removeClass(paf.underlay.hUnderlay, "megamenu-underlay");
		}
	},
	close: function(){
		//console.log("oMegamenu::close");
		this.run("hide");
	}
};


// JavaScript Document

function megamenuServicesMobiles()
{ 
// barre de navigation 
document.write("<div class='header'>"); 
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles_menu/services_mobiles.html' addRef='HP_header_titre' style='float:left; margin:0 28px 11px 20px; padding:0; font-size:27px; font-weight:normal; color:#F50;text-decoration:none;' title='revenir &agrave; l&#180;accueil'>les services mobiles</a>"); 							
document.write("<ul id='megamenu'>"); 
document.write("<li id='megamenu-appel' class='megamenu-label first'><a href='#' addRef='HP_header_menu_appel' title='appel, contact, r&eacute;pondeur'>appel, contact, r&eacute;pondeur</a></li>"); 
document.write("<li id='megamenu-smsmms' class='megamenu-label'><a href='#' addRef='HP_header_menu_sms' title='sms / mms'>sms / mms</a></li>"); 
document.write("<li id='megamenu-surf' class='megamenu-label'><a href='#' addRef='HP_header_menu_surf'title='surf sur internet'>surf sur internet</a></li>"); 
document.write("<li id='megamenu-mail' class='megamenu-label'><a href='#' addRef='HP_header_menu_mail' title='mail, chat et communaut&eacute;s'>mail, chat et communaut&eacute;s</a></li>"); 
document.write("<li id='megamenu-tvvideo' class='megamenu-label'><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/hdm/hdm_services_tvendirect_videodemande.html' addRef='HP_header_menu_tv' title='TV / vid&eacute;o'>TV / vid&eacute;o</a></li>"); 
document.write("<li id='megamenu-appli' class='megamenu-label'><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/applications_mobiles/presentation.html'  addRef='HP_header_menu_application' title='applications mobiles'>applications mobiles</a></li>"); 
document.write("</ul>"); 
document.write("<div class='clear_float'>&nbsp;</div>");
document.write("</div>"); 
document.write("<div class='clear_float'> </div>");

//Change All Links 
document.write("<script type='text/javascript'>");
document.write("//<![CDATA[");
document.write("//<!--");
document.write("var sUrlReferrer  = 'SERVICES_MOBILES';");
document.write("o_changeAllLinks();");
document.write("//-->");
document.write("//]]>");
document.write("</script> ");

//contenus megamenu 
document.write("<div id='megamenu-appel-content' class='megamenu-container'>");
document.write("<div style='float: right;'> <img src='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles_menu/img/service-mobiles.gif'></div>");
document.write("<div class='megamenu-contentainer'>");
document.write("<div class='floatLeft'> <a href='#' class='description' title='Facilitez-vous la vie avec la messagerie vocale et la sauvegarde de vos contacts' style='text-decoration:none;'>Facilitez-vous la vie avec la messagerie vocale <br/>et la sauvegarde de vos contacts</a> <br/><br/><br/>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/vocal_visio/vocal_visio_presentation.html' title='vocal et viso' class='fleche_b' style='text-decoration:none;'>vocal et visio</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/vocal_visio/vocal_visio_informer.html'  title='s informer'  style='text-decoration:none;'>s'informer</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/vocal_visio/vocal_visio_sport.html' title='le sport'  >le sport</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/vocal_visio/vocal_visio_num_memo.html' title='num&eacute;ro m&eacute;mo'  >num&eacute;ro m&eacute;mo</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/vocal_visio/vocal_visio_num_utiles.html' title='num&eacute;ro utile'  >num&eacute;ro utile</a></li></ul>");

document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px; margin-left:10px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/sauv_contact/presentation.html' title='sauvegarde Mobile'  class='fleche_b' style='text-decoration:none;'>sauvegarde Mobile</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/sauv_contact/marche.html' title='comment &ccedil;a marche ?' >comment &ccedil;a marche ?</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/sauv_contact/coute.html' title='combien &ccedil;a co&ucirc;te ?' >combien &ccedil;a co&ucirc;te ?</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; margin-left:10px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/888/888_presentation.html' class='fleche_b'  style='text-decoration:none;' title='messagerie vocale'>messagerie vocale</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/888/888_fonctions_base.html' title='fonctions de base' >fonctions de base</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/888/888_plus_de_services.html'  title='plus de services' >plus de services</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/888/888_service_web.html' title='services web' >services web</a></li></ul>");
document.write("</div>");
document.write("<a notchanged='true' href=\"javascript:paf.publish('/omegamenu/hide');\" class='c_close'></a> </div>");
document.write("</div>");
			   
			   
document.write("<div id='megamenu-smsmms-content' class='megamenu-container'>");
document.write("<div style='float: right;'> <img src='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles_menu/img/service-mobiles.gif'></div>");
document.write("<div class='megamenu-contentainer'>");
document.write("<div class='floatLeft'> <a href='#' class='description' style='text-decoration:none;' title='Communiquez simplement par SMS et partagez vos photos et vid&eacute;os par MMS'>Communiquez simplement par SMS et partagez vos photos <br/>et vid&eacute;os par MMS</a> <br/><br/><br/>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/sms/sms_presentation.html' class='fleche_b'  style='text-decoration:none;' title='SMS'>SMS</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/sms/sms_communiquer.html' title='communiquer' >communiquer</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/sms/sms_informer.html' title='s'informer' >s'informer</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/sms/sms_plus_de_services.html' title='plus de services' >plus de services</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; margin-left:10px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/mms/mms_presentation.html' class='fleche_b'  style='text-decoration:none;' title='MMS'>MMS</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/mms/mms_partager.html'  title='partager' >partager</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/mms/mms_informer.html'  title='s'informer'>s'informer</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/mms/mms_comment_marche.html'  title='comment &ccedil;a marche ?'>comment &ccedil;a marche ?</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/mms/mms_ccc.html'  title='combien &ccedil;a co&ucirc;te ?'>combien &ccedil;a co&ucirc;te ?</a></li>");
document.write("</ul></div>");
document.write("<a notchanged='true' href=\"javascript:paf.publish('/omegamenu/hide');\" class='c_close'></a> </div>");
document.write("</div>");
			   
			   
document.write("<div id='megamenu-surf-content' class='megamenu-container'>");
document.write("<div style='float: right;'> <img src='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles_menu/img/service-mobiles.gif'></div>");
document.write("<div class='megamenu-contentainer'>");
document.write("<div class='floatLeft'> <a href='#' class='description' style='text-decoration:none;' title='Facilitez-vous la vie avec la messagerie vocale et la sauvegarde de vos contacts'>D&eacute;couvrez comment rester inform&eacute; <br/>et vous divertir &agrave; tout instant</a><br/><br/><br/>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px;  margin-left:10px; width:110px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/hdm/hdm_services_option_web.html'  style='text-decoration:none;' class='fleche_b' title='tout internet sur votre mobile'>tout internet<br/> sur votre mobile</a>");
document.write("</ul>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px; margin-left:10px;' class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/orange_world/orange_world_presentation.html'   style='text-decoration:none;' class='fleche_b' title='Portail Orange World'>Portail Orange World</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/orange_world/orange_mobile_comment_marche.html'  title='comment &ccedil;a marche?' >comment &ccedil;a marche ?</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/orange_world/orange_mobile_combien_ca_coute.html'  title='combien &ccedil;a co&ucirc;te ?' >combien &ccedil;a co&ucirc;te ?</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px; margin-left:10px; width:100px;'>");
document.write("<a href='http://portail-iphone.event.orange.fr' class='fleche_b' title='Portail Iphone'  style='text-decoration:none;'>Portail Iphone</a>");
document.write("</ul>");
document.write("<ul style='height:110px; margin-left:10px;' class='megamenu_liste' >");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/orange_world/gallery/gallery_presentation.html'   style='text-decoration:none;' class='fleche_b' title='gallery'>gallery</a>");
document.write("<li><a href='http://animation.orange.fr/v2_gallery2/tous_les_services.php' title='tous les services' >tous les services</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/orange_world/gallery/gallery_comment_ca_marche.html' title='comment &ccedil;a marche'  >comment &ccedil;a marche</a></li>");
document.write("</ul></div>");
document.write("<a notchanged='true' href=\"javascript:paf.publish('/omegamenu/hide');\" class='c_close'></a> </div>");
document.write("</div>");
			   
			   
document.write("<div id='megamenu-mail-content' class='megamenu-container'>");
document.write("<div style='float: right;'> <img src='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles_menu/img/service-mobiles.gif'> </div>");
document.write("<div class='megamenu-contentainer'>");
document.write("<div class='floatLeft'> <a href='#'  class='description' style='text-decoration:none;' title='Facilitez-vous la vie avec la messagerie vocale et la sauvegarde de vos contacts'>Restez connect&eacute; &agrave; vos communaut&eacute;s<br/>et consultez vos mails sur votre mobile</a><br/><br/><br/>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px;  margin-left:10px;'  class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mail/mail_presentation.html'  style='text-decoration:none;' class='fleche_b' title='mail'>mail</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mail/mail_orange.html' title='avec Orange World' >avec Orange World</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mail/client_mail.html' title='avec l'application mobile' >avec l'application mobile</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/offre/blackBerry/blackberry_presentation.html' title='sur un blackberry' >sur un blackberry</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px; margin-left:10px;'  class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/chat/chat_presentation.html'  style='text-decoration:none;' class='fleche_b' title='chat'>chat</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/chat/chat_OW.html' title='avec Orange World' >avec Orange World</a></li>");
document.write("<li style='margin-left:10px;margin-right:10px;margin-top:8px;margin-bottom:8px;'><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/chat/chat_SMS.html' title='par sms' >par sms</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/chat/chat_MMS.html' title='par mms'>par mms</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/chat/chat_web.html' title='sur le web'>sur le web</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; border-right:#CCCCCC solid 1px; margin-left:10px;'  class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mysocialplace/mysocialplace.html'  style='text-decoration:none;' title='communaut&eacute;s' class='fleche_b'>communaut&eacute;s</a>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mysocialplace/mysocialplace_ow.html' title='avec Orange World'>avec Orange World</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mysocialplace/mysocialplace_sms.html'  title='par sms'>par sms</a></li>");
document.write("<li><a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/mysocialplace/mysocialplace_mms.html' title='par mms'>par mms</a></li>");
document.write("</ul>");
document.write("<ul style='height:110px; margin-left:10px;'  class='megamenu_liste'>");
document.write("<a href='http://mobile.orange.fr/content/ge/high/v2_offre_boutique/services_mobiles/tlservices/myFriends/myFriends.html'  style='text-decoration:none;' class='fleche_b' title='My Friends'>My Friends</a>");
document.write("</ul>");
document.write("</div>");
document.write("<a notchanged='true' href=\"javascript:paf.publish('/omegamenu/hide');\" class='c_close'></a> </div>");
document.write("</div>");

}



