rem: if (!element.value.match("http: element.value = "http: } if (!element.value.match(/^http:\/\/.+\..+/)){ alert("This is not a valid url. Please check if it is correct."); } 
add: if (element.value != "") { if (!element.value.match("http: element.value = "http: } if (!element.value.match(/^http:\/\/.+\..+/)){ alert("This is not a valid url. Please check if it is correct."); } } 
context: function addHTTP(element) {   if (!element.value.match("http://")) {	element.value = "http://"+element.value;   }   if (!element.value.match(/^http:\/\/.+\..+/)){	alert("This is not a valid url. Please check if it is correct.");   }}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/36a7165d0dd5d155bcd2760ad843e31253a51f88/addHTTP.js/clean/www/extras/addHTTP.js