?height=500;width=350("\n\n\n\n\n\n\n\nLevae Message<\/title>\n<\/head>\n<style type=\"text\/css\">\n*{margin:0px;border:0px;padding:0px;}\n\tbody{font:12px \"宋体\";}\n\ta{color:#000;text-decoration:none;}\n\ta:hover{color:#F30;text-decoration:underline;}\n\tinput{padding:0px;margin:0px; }\n\t.txtbox{border:1px solid #E79F50;height:20px;line-height:22px;width:300px;}\n\t.checkCodebox{border:1px solid #E79F50;height:20px;line-height:22px;width:100px;}\n\t.textarea{border:1px solid #E79F50;height:200px;line-height:22px;width:300px;}\n\t.bfont{font:700 12px \"宋体\"};\n\t#login{width:400px;height:100%;overflow:hidden;margin:0px auto;}\n\t#title{width:400px;height:25px;line-height:25px;color:#F60;font-weight:700;background-color:#FDEBD9;text-align:center;margin:0px auto;}\n\t#loginbox{width:400px;margin:10px 2px;float:left;display:inline;}\n\t#btnlogin{width:55px;height:60px;float:right;margin:10px 30px 10px 5px;}\n\t#forget{width:200px;margin:0px auto;height:25px;line-height:25px;text-align:center;}\n\t#forget span{width:80px;display:inline;margin:0px 10px;}\n\t#send{width:100px;margin:0px auto;height:20px;line-height:20px;text-align:center;}\n\t#send span{width:50px;display:inline;margin:0px 10px;}\n\t.STYLE1 {color: #FF0000}\n\t\n\t\n\ttable td img{min-width:auto; height:20px;}\n\ttable td, table th{border:0px; padding:0px;}\n\tlabel{margin:0px;font-weight:100;}\n<\/style>\n<body>\n\n <div id=\"login\">\n\t<div id=\"title\">We will deal with your message in 24 hours<\/div>\n\t\n\t<form id=\"messageForm\" name=\"messageForm\" method=\"post\" action=\"http:\/\/service.global-easy.com:80\/info\/leaveMessage.a\">\n\t<input type=\"hidden\" name=\"csname\" id=\"csname\" value=\"chinadahan\"\/>\n\t<input type=\"hidden\" name=\"webDomain\" id=\"webDomainId\" value=\"\"\/>\n\t<input type=\"hidden\" name=\"goBackUrl\" id=\"goBackUrlId\" value=\"\"\/>\n <div style=\"width:400px;margin:0px auto;\">\n <table width=\"365\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"loginbox\">\n\n\t\t <tr style=\"height:30px\">\n <td width=\"90\" align=\"center\" class=\"bfont\"><span class=\"STYLE1\">*<\/span>Email<\/td>\n <td width=\"310\"><input name=\"email\" id=\"email type=\"text\" class=\"txtbox\" size=\"20\" maxlength=\"50\" value=\"\"\/><\/td>\n <\/tr> \n <tr>\n <td align=\"center\" class=\"bfont\"><span class=\"STYLE1\">*<\/span>Content<\/td>\n <td><label>\n <textarea name=\"content\" id=\"content\" rows=\"12\" class=\"textarea\" onkeyup=\"checkLen(this,400)\">\n \n <\/textarea>\n <\/label><\/td>\n <\/tr>\n\t\t \n\t\t\t<tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Product Name <\/td>\n <td><input class=\"txtbox\" type=\"text\" name=\"productName\" id=\"productName\" maxlength=\"200\" value=\"\"\/><\/td>\n <\/tr> \n\t\t <tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Your Name<\/td>\n <td><input class=\"txtbox\" type=\"text\" name=\"userName\" value=\"\" maxlength=\"30\"\/><\/td>\n <\/tr> \n\t\t <tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Company<\/td>\n <td><input class=\"txtbox\" type=\"text\" name=\"company\" value=\"\" maxlength=\"100\"\/><\/td>\n <\/tr> \n\t\t <tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Tel\/fax<\/td>\n <td><input class=\"txtbox\" type=\"text\" name=\"telfax\" value=\"\" maxlength=\"30\"\/><\/td>\n <\/tr>\n \n \t <tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Skype<\/td>\n <td><input class=\"txtbox\" type=\"text\" name=\"im\" value=\"\" maxlength=\"30\"\/><\/td>\n <\/tr>\n \n <tr style=\"height:30px\">\n <td align=\"center\" class=\"bfont\">Verification Code<\/td>\n <td><input class=\"checkCodebox\" type=\"text\" name=\"checkcode\" style=\"float:left; margin-right:10px;\" maxlength=\"10\"\/> <img id=\"imgObj\" alt=\"\" src=\"http:\/\/service.global-easy.com:80\/servlet\/VImage?\" onclick=\"changeImg()\"\/><\/td>\n <\/tr>\n\t\t\n\t\n \n <\/table>\n <\/div>\n <\/form>\n <div id=\"send\" align=\"center\" >\n \t\n \n \t \n \t <table width=\"110\" height=\"20\" border=\"0\" style=\"background:url(http:\/\/service.global-easy.com:80\/images\/send.gif) no-repeat center; \" >\n <tr height=\"20\">\n <td> <label><a href=\"#\" onclick=\"checkInfo()\">Send Message<\/a><\/label><\/td>\n <\/tr>\n <\/table>\n \n <\/div>\n \n <script language=\"javascript\">\n\tvar webDomain=document.domain;\n\tvar csurl=document.URL; \n\tdocument.getElementById(\"webDomainId\").value=webDomain;\n\tdocument.getElementById(\"goBackUrlId\").value=csurl;\n\tdocument.getElementById(\"productName\").value=csurl;\n<\/script>\n\t \n\t<script language=\"javascript\">\n\t\t\n\t\n\t\tfunction checkLen(obj,maxChars) \n\t\t{ \n\t\t if (obj.value.length > maxChars) \n\t\t {\n\t\t obj.value = obj.value.substring(0,maxChars); \n\t\t }\n\t\t \/\/var curr = maxChars - obj.value.length; \n\t\t \/\/ document.getElementByIdx_x(\"count\").innerHTML = curr.toString(); \n\t\t}\n\n\t\tfunction checkInfo(){\n\t\tvar email=document.messageForm.email.value;\n\t\tvar content=document.messageForm.content.value;\n\t\tvar checkcode=document.messageForm.checkcode.value;\n\t\tcontent=trim(content); \n\t\t\tif(email==\"\"){\n\t\t\t\talert(\"Please enter your email!\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\tif(!validate_email(email,\"Not a valid e-mail address!\")){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\n\t\t\tif(content==null||content==\"\"){\n\t\t\t\talert(\"Please enter the content!\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\t\/\/if(checkcode==null||checkcode==\"\"){\n\t\t\t\/\/\talert(\"Please enter verification code!\");\n\t\t\t\/\/\treturn false;\n\t\t\t\/\/}\n\t\t\t\/\/document.forms[0].submit();\n\t\t\tdocument.messageForm.submit();\n\t\t}\n\t\t\n\t\tfunction validate_email(field,alerttxt)\n\t\t\t{\n\t\t\tapos=field.indexOf(\"@\");\n\t\t\tdotpos=field.lastIndexOf(\".\");\n\t\t\tif (apos<1||dotpos-apos<2) \n \t\t\t{alert(alerttxt);\n \t\t\treturn false;\n \t\t\t}\n\t\t\telse {\n\t\t\treturn true;\n\t\t\t}\n\t\t\t}\n\n\t\tfunction trim(str)\n\t\t{\n \treturn str.replace(\/(^\\s*)(\\s*$)\/g, '');\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfunction changeImg(){ \n\t\t\n\t\t\tvar imgSrc=document.messageForm.imgObj.src;\n\t\t\tdocument.messageForm.imgObj.src=chgUrl(imgSrc);\n\t \n\t\t} \n\t\t\/\/时间戳 \n\t\t\/\/为了使每次生成图片不一致,即不让浏览器读缓存,所以需要加上时间戳 \n\t\tfunction chgUrl(url){ \n\n\t\t var timestamp = (new Date()).valueOf(); \n\t\t var newUrl = url.substring(0,url.indexOf(\"?\")); \n\t\t\tnewUrl = newUrl + \"?timestamp=\" + timestamp; \n\t\t\treturn newUrl;\n\t\t} \n <\/script>\n\n \n<\/body>\n<\/html>\n")