function flash(cV,cM){ document.write('voir la photo'); } function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features); } function WebaPic(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'); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close() } function WebmyPic(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'); popupImage.document.open(); popupImage.document.write(html); popupImage.document.close() } if ((navigator.appName.indexOf('Microsoft')+1)) { document.write(''); } if ((navigator.appName.indexOf('Netscape')+1)) { document.write(''); } else { document.write(''); } function openpopup(popurl){ winpops=window.open(popurl,null,'width=370,height=520, status=no, directories=no, toolbar=no, location=no, menubar=no, scrollbars=no, resizable=no') } function mailpopup(mlpurl){ winpops=window.open(mlpurl,'mail','width=464,height=484, status=no, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=no') } function mailalertpopup(mpopurl){ winpops=window.open(mpopurl,'mailalert','width=520,height=560, status=no, directories=no, toolbar=no, location=no, menubar=no, scrollbars=no, resizable=no') } function memberpopup(mpopurl){ winpops=window.open(mpopurl,'members','width=370,height=370, status=no, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, resizable=no') } function checkMenu(param) { if (param != "'','','',''") eval('loadFrames(' + param + ')'); } function loadFrames(frame1,page1) { eval(frame1+".location='"+page1+"'"); } function getFieldValue(field){ switch(field.type) { case "text" : case "textarea" : case "password" : case "hidden" : return field.value; case "select-one" : var i = field.selectedIndex; if (i == -1) return ""; else return (field.options[i].value == "") ? field.options[i].text : field.options[i].value; case "select-multiple" : var allChecked = new Array(); for(i = 0; i < field.options.length; i++) if(field.options[i].selected) allChecked[allChecked.length] = (field.options[i].value == "") ? field.options[i].text : field.options[i].value; return allChecked; case "button" : case "reset" : case "submit" : return ""; case "radio" : case "checkbox" : if (field.checked) { return field.value; } else { return ""; } default : if(field[0].type == "radio") { for (i = 0; i < field.length; i++) if (field[i].checked) return field[i].value; return ""; } else if(field[0].type == "checkbox") { var allChecked = new Array(); for(i = 0; i < field.length; i++) if(field[i].checked) allChecked[allChecked.length] = field[i].value; return allChecked; } else var str = ""; for (x in field) { str += x + "\n"; } alert("I couldn't figure out what type this field is...\n\n" + field.name + ": ???\n\n\n" + str + "\n\nlength = " + field.length); break; } return ""; } function doIt() { if (document.body && document.body.clientWidth) { window.innerWidth = document.body.clientWidth; } if (window.innerWidth == 642) { if (screen.width < 800) { window.resizeTo(screen.width,screen.height); } else { window.resizeTo(820,screen.height); } } }