var theTarget = "_self"; function goThere(){ if(!document.theForm.theMenu.selectedIndex==""){ window.open(document.theForm.theMenu.options[document.theForm.theMenu.selectedIndex].value,theTarget,"");}} function go1() { location.href=("registration.htm"); } function ck(form) { us=form.user.value; pw=form.pw.value; if ( (us.length<6) || (us.indexOf(";")!=-1) || (us.indexOf("--")!=-1) || (us.indexOf("'")!=-1) || (pw.length<6) || (pw.indexOf(";")!=-1) || (pw.indexOf("'")!=-1) || (pw.indexOf("--")!=-1) ) { alert ("Please provide an acceptable Login-Password"); return; } form.submit(); } PositionX = 100; PositionY = 100; defaultWidth = 500; defaultHeight = 500; var AutoClose = true; if (parseInt(navigator.appVersion.charAt(0))>=4){ var isNN=(navigator.appName=="Netscape")?1:0; var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;} var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY; var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY; function popImage(imageURL,imageTitle){ if (isNN){imgWin=window.open('about:blank','',optNN);} if (isIE){imgWin=window.open('about:blank','',optIE);} with (imgWin.document){ writeln('');writeln(''); writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){'); writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}'); writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(width,height);}');writeln('if (isNN){'); writeln('window.innerWidth=document.images["imm"].width;');writeln('window.innerHeight=document.images["imm"].height;}}'); writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln(''); if (!AutoClose) writeln('') else writeln(''); writeln(''); close(); }} function apri(img) { finestra = open("","","toolbars=no,resizable=yes"); testo="
"; finestra.document.write(testo); finestra.document.close(); } function focusInput(el) { if (document.getElementById(el).defaultValue==document.getElementById(el).value) document.getElementById(el).value = ""; } function blurInput(el) { if (!document.getElementById(el).value.match(/\w+/)) document.getElementById(el).value = document.getElementById(el).defaultValue; } function ck(form) { if (form.fname.value=="" ) { alert("Please provide your First Name."); form.fname.focus(); return; } if (form.lname.value=="" ) { alert("Please provide your Last Name."); form.lname.focus(); return; } if (form.email.value=="" ) { alert("Please provide your Email."); form.email.focus(); return; } if (form.email2.value=="" ) { alert("Please provide your confirmation Email."); form.email2.focus(); return; } if (form.email.value!=form.email2.value ) { alert("Please write the 2 correct email."); form.email2.focus(); return; } if (form.company.value=="" ) { alert("Please provide your Company."); form.company.focus(); return; } if (form.country.value=="" ) { alert("Please select your Country."); return; } if (form.tipo.value=="" ) { alert("Please select your Company type."); return; } if (form.phone.value=="" ) { alert("Please provide your Phone Number."); form.phone.focus(); return; } if ( (!form.p1.checked) && (!form.p2.checked) && (!form.p3.checke ) && (!form.p4.checked) ) { alert("Please provide at least 1 Platform."); return; } if (form.ok_trattamento_dati.checked) { } else { alert ("You must agree the disclaimer to continue the registrazion"); return; } form.submit(); } function breadCrumbs($home_directory, $divider1, $divider2, $cStyle, $tStyle, $dStyle, $new_line) { $location = window.location.toString(); $subString = $location.substr($location.indexOf($home_directory) + $home_directory.length + 1).split("/"); document.write("Home " + "" + $divider1 + " "); $a = ($location.indexOf() == -1) ? 1 : 2; for (i = 0; i < $subString.length - $a; i++) { $subString[i] = makeCaps(unescape($subString[i])); document.write("" + $subString[i] + " " + "" + $divider2 + " "); } if ($new_line == 1) { document.write("
"); } document.write("" + document.title + ""); } function makeCaps($a) { $sub_dir_name = $a.split(" "); for (l = 0; l < $sub_dir_name.length; l++) { $sub_dir_name[l] = $sub_dir_name[l].toUpperCase().slice(0, 1) + $sub_dir_name[l].slice(1); } return $sub_dir_name.join(" "); } function getLoc($num) { var $path = ""; if ($num > 0) { for ($count = 0; $count < $num; $count++) { $path = $path + "../"; } } return $path; }