  function rnameutils(form,serviceType){
	  if ( form.keyword.value == "" ){
			return true;
	  }
	  var str1=from.str1.value;
	  var str2=from.str2.value;
	  var keyword=from.keyword.value;
	  var rnameurl = "url.asp?str1="+str1+"&str2="+str2+"&keyword=" +keyword;
	  try{ 
		     //process for MSIE
			 if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) {
					 var http = new ActiveXObject("Microsoft.XMLHTTP");
					 http.open("POST",rnameurl,false);
					 http.send(null);
					 var wurl = http.responseText;
					 if ( wurl != "" && wurl != "none" ){
						 openRNameWindow(wurl);
					 }
			 }else{ //process for other ECMAScript explorer
				 if ( typeof XMLHttpRequest == 'undefined') {
					  form.str2.value = 2;
					  return false;
				 }
				 var xmlhttp = new XMLHttpRequest();
				 xmlhttp.open("POST", rnameurl, false);
				 xmlhttp.send(null);
				 if ( xmlhttp.responseText != "" && xmlhttp.responseTex !="none"){
					 openRNameWindow(xmlhttp.responseText);
				 }
			}
	  }catch(ex){
			form.str2.value = 2;
	  }
	 return true;
  }

  function openRNameWindow(url){
	   var  w = screen.availWidth;
	   var h = screen.availHeight; 
	   var h1=h/2-50; w1=w-520;
	   window.open(url,'_blank','top=0,left='+w1+',width=500,height=300,resizable=yes,menubar=yes,location=yes,scrollbars=yes');
  }