<!--
if (top.frames.length!=0) { if (window.location.href.replace) top.location.replace(self.location.href); else top.location.href=self.document.href; }
function F_to_E(prix){var vChaine=",";var nb;nb=prix.replace(vChaine,".");nb=Number(nb)/6.55957;nb=Math.round(nb*100);nb=nb/100;document.form.euro.value=nb;}
function E_to_F(prix){var vChaine=",";var vChaine=",";var nb;nb=prix.replace(vChaine,".");nb=Number(nb)*6.55957;nb=Math.round(nb*100);nb=nb/100;document.form.fr.value=nb;}
function ChangeUrl(formulaire) {if (formulaire.Categorie.selectedIndex != 0) location.href = formulaire.Categorie.options[formulaire.Categorie.selectedIndex].value;}
function FullScreen(URL){window.open(URL,'Panique','left=0,screenX=0,top=0,screenY=0,fullscreen');}
function OpenWindow(URL, WinWidth, WinHeight) {x=(screen.width-WinWidth)/2;y=(screen.height-WinHeight)/2;window.open(URL,'iPAQ',"scrollbars=yes,top="+y+",left="+x+",height="+WinHeight+",width="+WinWidth);}
function OuvrirFenetre(url,name,feature){window.open(url,name,feature);}
function SauveResolution() { var LaDate=new Date(); LaDate.setTime(LaDate.getTime()+604800000); document.cookie="Resolution="+screen.width+"x"+screen.height+"; expires="+LaDate.toGMTString(); }
function Favori(){url="http://www.smartphonefrance.info/";titre = "Smartphone France ...";window.external.AddFavorite(url, titre);}
function Demarrage(obj){obj.style.behavior='url(#default#homepage)';obj.setHomePage('http://www.smartphonefrance.info/');}
function Dommage(){return false;}
function Affiche(id,totalSteps)
{
	if (document.all)
	{
		for(var i=1;i<=totalSteps;i++) { if ( id != 'step' + i ) { document.all['step' + i].style.display = 'none'; } }
		if ( document.all[id].style.display == 'none'){ document.all[id].style.display = ''; }
		else { document.all[id].style.display = 'none'; }
		return false;
	}
	else if (document.getElementById)
	{
		for(var i=1;i<=totalSteps;i++) { if ( id != 'step' + i ) { document.getElementByID('step' + i).style.display = 'none'; } }
		if ( document.getElementById(id).style.display == 'none'){ document.getElementById(id).style.display = 'block'; }
		else { document.getElementById(id).style.display = 'none'; }
		return false;
	}
}
function Neige(nit)
{
	if (nit < ndesc)
	{
		nit = nit+1;
		for (i = 0; i < no; ++ i)
		{
			yp[i] += sty[i];
			if (yp[i] > doc_height-50)
			{
				xp[i] = Math.random()*(doc_width-am[i]-30);
				yp[i] = 0;
				stx[i] = 0.02 + Math.random()/10;
				sty[i] = 0.7 + Math.random();
			}
			dx[i] += stx[i];
			document.all["dot"+i].style.pixelTop = yp[i];
			document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
		}
		setTimeout("Neige("+nit+")", 60);
	}
	else { for (i = 0; i < no; ++ i) { document.all["dot"+i].style.display = "none"; document.all["dot"+i].style.display = "none"; } }
}
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';

  cookie_str = document.cookie;
  cookie_str.toString();

  pos_start  = cookie_str.indexOf(name);
  pos_end    = cookie_str.indexOf('=', pos_start);

  cookie_name = cookie_str.substring(pos_start, pos_end);

  pos_start  = cookie_str.indexOf(name);
  pos_start  = cookie_str.indexOf('=', pos_start);
  pos_end    = cookie_str.indexOf(';', pos_start);
  
  if (pos_end <= 0) pos_end = cookie_str.length;
  cookie_val = cookie_str.substring(pos_start + 1, pos_end);
  if (cookie_name == name && cookie_val  == "done")
    return;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
//-->