function F3baa1906(entry) { var V1967002a = '0123456789ABCDEF'; var V73d3a702 = entry.length; if (V73d3a702 < 6) {alert('Valore non valido!');return false;}  entry=entry.toUpperCase(); for (var i = 0; i < V73d3a702; i++ ) { if (V1967002a.indexOf(entry.charAt(i)) < 0) { alert("Il valore deve essere valido!"); return false; } } return true; } function F4a8f5c96(edit_color_name,edit_color_value,colorbox_name){ if (F3baa1906(edit_color_value)) { var V049f2f64 = window.open("", "ColorChooser","width=450,height=460,status=no,resizable=no,top=200,left=200");  if (V049f2f64.document.title=="") { V049f2f64.opener = self; V049f2f64.document.write("<title>Window</title>");V049f2f64.focus(); V049f2f64.document.write("<object classid=\"clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA\" id=\"ScegliColore\" name=\"ScegliColore\" width=\"440\" height=\"350\"><param name=\"code\" value=\"ScegliColore.class\"><param name=\"colore\" value=\""+edit_color_value+"\"><comment><embed code=\"ScegliColore.class\" type=\"application/x-java-applet;version=1.5\" id=\"ScegliColore2\" name=\"ScegliColore2\" width=\"440\" height=\"350\" colore=\""+edit_color_value+"\"><noembed>No Java Support.</noembed></embed></comment></object><br><br><div align=\"center\">");V049f2f64.document.write("<input type=\"button\" name=\"ok\" style=\"width:100px;\" onClick=\"javascript:var elem;if(typeof document.ScegliColore == 'object' ) { elem=document.ScegliColore; }else { elem=document.ScegliColore2; } elem.func_vedi(); window.opener."+edit_color_name+".value=elem.vedi_colore.getText(); window.opener.document.getElementById('"+colorbox_name+"').style.backgroundColor=elem.vedi_colore.getText(); window.close();\" value=\"OK\"></div><div align=\"center\"><br><small><a href=\"http://www.java.com/it/download/index.jsp\" target=\"_blank\">Download Java</a></small></div>");} else { V049f2f64.focus(); } } } function F89abf6cc(input_name,colorbox_name) { if(F3baa1906(input_name.value)) { document.getElementById(colorbox_name).style.backgroundColor=input_name.value; } else { input_name.focus();} }
