﻿
function my_text_size()
{
multiplier = ReadCookie("texte");
 if (document.body.style.fontSize == "") {
    document.body.style.fontSize = "1.0em";
  }
document.body.style.fontSize = multiplier ;
  
}



function resizeText(multiplier) {

 
  if (document.body.style.fontSize == "") {
    document.body.style.fontSize = "1.0em";
  }
  document.body.style.fontSize = parseFloat(document.body.style.fontSize) + (multiplier * 0.1) + "em";
  
SetCookie("texte",""+document.body.style.fontSize,"60");
}


// ReadCookie("prenomC")
function ReadCookie(cookieName)
{

	
 var theCookie=""+document.cookie;
 var ind=theCookie.indexOf(cookieName);
 if (ind==-1 || cookieName=="") return ""; 
 var ind1=theCookie.indexOf(';',ind);
 if (ind1==-1) ind1=theCookie.length; 
 return unescape(theCookie.substring(ind+cookieName.length+1,ind1));

}

// SetCookie('nom ', valeur ,'jours')
function SetCookie(cookieName,cookieValue,nDays) 
{
var today = new Date();
var expire = new Date();
//alert(cookieName+cookieValue+nDays);

 if (nDays==null || nDays==0) nDays=1;
 expire.setTime(today.getTime() + 3600000*24*nDays);
 document.cookie = cookieName+"="+escape(cookieValue)
                 + ";expires="+expire.toGMTString();
				 			 
}

function radio() {
window.open("http://www.radiovm.com/Radio_v3.aspx","","height=250,width=330,left=250,top=250");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

