// JavaScript Document

 
  //var   e= window.open("http://www.nmedia.net.cn/customer/2009/newyear.html", "", "resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,location=no, width=445, height=335, left=0, top=0");
  
 //e.document.title="----------------------------------------------------------";   
//var getHost = function(url) { 
         //var host = "null";
        // if(typeof url == "undefined"
                      //   || null == url)
                // url = window.location.href;
         //var regex = /(.*\:\/\/[^\/]*).*/;
         //var match = url.match(regex);
         //if(typeof match != "undefined"
                     //    && null != match)
               //  host = match[1];
      //   return host;
//}
//alert(getHost());得到是当前网站的域名http://www.qdarcher.com
