function validateUrl(C){var B=new Array();var A=new Array();var D=new Array();var B=C.split("http");if(B.length>1){A=B[1].split(".");if(A.length==1){return false}D=B[1].split("/");if(D.length<=1){return false}else{return true}}else{return false}}function validateUrlm(C){var B=new Array();var A=new Array();B=C.split("://");if(B.length>1){if(B[0]=="http"||B[0]=="rtsp"||B[0]=="https"){A=B[1].split(".");if(A.length==1){return false}url3arr=B[1].split("/");if(url3arr.length<=1){return false}else{return true}}}else{return false}}function Noturl(B){var A=new String(B.value);if(A.search(".")==-1){B.select();B.focus();return true}if(A.search(".")==0){B.select();B.focus();return true}if(A.search("-")!=A.lastIndexOf("-")){B.select();B.focus();return true}return false};