function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
function aide()
{
window.open('http://www.xponsor.com/aide/index.html','Aide','toolbar=0,location=0,scrollbars=1, status=0,width=540,height=340');
}
function pop(page,largeur,hauteur,options)
{
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
function afficheMaxi(chemin)
{
i1 = new Image;
i1.src = chemin;
html = '
Image
';
popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,top=100,left=100,width=100,height=100');
popupImage.document.open();
popupImage.document.write(html);
popupImage.document.close();
}
function isEmail(str){
if(str.length==0) return false;
var emailparts = str.split("@");
if(emailparts.length!=2) return false;
if(emailparts[0].length==0 || emailparts[1].length==0) return false;
var domainparts = emailparts[1].split(".");
for(var i=0;i 550){
alert("Votre message est trop long ! (550 caractères maximum)");
ff.cardmessage.focus();
return false;
}
if(ff.sendername.value.length == 0){
alert("Le nom de l'expéditeur est vide !");
ff.sendername.focus();
return false;
}
if(ff.recevername.value.length == 0){
alert("Le nom du destinataire est vide !");
ff.recevername.focus();
return false;
}
if(!isEmail(ff.senderemail.value)){
alert("L'adresse email de l'expéditeur est invalide !");
ff.senderemail.focus();
return false;
}
if(!isEmail(ff.receveremail.value)){
alert("L'adresse email du destinataire est invalide !");
ff.receveremail.focus();
return false;
}
return true;
}
imgPath = new Array;
SiClickGoTo = new Array;
version = navigator.appVersion.substring(0,1);
if (version >= 3)
{
i0 = new Image;
i0.src = 'images/photos_loft/loft-cameraphoto01.jpg';
SiClickGoTo[0] = "abonnement.html";
imgPath[0] = i0.src;
i1 = new Image;
i1.src = 'images/photos_loft/loft-cameraphoto02.jpg';
SiClickGoTo[1] = "abonnement.html";
imgPath[1] = i1.src;
i2 = new Image;
i2.src = 'images/photos_loft/loft-cameraphoto03.jpg';
SiClickGoTo[2] = "abonnement.html";
imgPath[2] = i2.src;
i3 = new Image;
i3.src = 'images/photos_loft/loft-cameraphoto04.jpg';
SiClickGoTo[3] = "abonnement.html";
imgPath[3] = i3.src;
i4 = new Image;
i4.src = 'images/photos_loft/loft-cameraphoto05.jpg';
SiClickGoTo[4] = "abonnement.html";
imgPath[4] = i4.src;
i5 = new Image;
i5.src = 'images/photos_loft/loft-cameraphoto06.jpg';
SiClickGoTo[5] = "abonnement.html";
imgPath[5] = i5.src;
i6 = new Image;
i6.src = 'images/photos_loft/loft-cameraphoto07.jpg';
SiClickGoTo[6] = "abonnement.html";
imgPath[6] = i6.src;
i7 = new Image;
i7.src = 'images/photos_loft/loft-cameraphoto08.jpg';
SiClickGoTo[7] = "abonnement.html";
imgPath[7] = i7.src;
i8 = new Image;
i8.src = 'images/photos_loft/loft-cameraphoto09.jpg';
SiClickGoTo[8] = "abonnement.html";
imgPath[8] = i8.src;
i9 = new Image;
i9.src = 'images/photos_loft/loft-cameraphoto10.jpg';
SiClickGoTo[9] = "abonnement.html";
imgPath[9] = i9.src;
i10 = new Image;
i10.src = 'images/photos_loft/loft-cameraphoto11.jpg';
SiClickGoTo[10] = "abonnement.html";
imgPath[10] = i10.src;
i11 = new Image;
i11.src = 'images/photos_loft/loft-cameraphoto12.jpg';
SiClickGoTo[11] = "abonnement.html";
imgPath[11] = i11.src;
}
a = 0;
function StartAnim()
{
if (version >= 3)
{
document.write('
');
defilimg()
}
else
{
document.write('
')
}
}
function ImgDest()
{
document.location.href = SiClickGoTo[a-1];
}
function defilimg()
{
if (a == 3)
{
a = 0;
}
if (version >= 3)
{
document.defil.src = imgPath[a];
tempo3 = setTimeout("defilimg()",5000);
a++;
}
}
function checkHide() {
document.getElementById("num_xa").className="vis";
}
function valider(radio)
{
for (var i=0; i
Dialogues en direct |
';
}
else
{
var dialmenu = '|
|
'
}