	document.getElementById("bt1").innerHTML="<input src=loginbut.gif type=image name=submit value=Login title='Enter your User ID and password to log in'>";
        function DoLogin(){
                var dname = document.domain.replace('www.','');
                if (document.pf.l.value.length==0 || document.pf.l.value=="User ID"){
                        alert('Please fill in the username');
                        document.pf.l.focus();
                        document.pf.l.select();
                        return false;
                }
                if (document.pf.p.value.length==0 || document.pf.p.value=="wxaopeijf"){
                        alert('Please fill in the password');
                        document.pf.p.focus();
                        document.pf.p.select();
                        return false;
                }
                var pos=document.pf.l.value.indexOf('@');
                if (pos != -1){
                        var newl=document.pf.l.value.split("@");
                        document.pf.l.value=newl[0];
                        //document.pf.action="http://mail." + newl[1] + "/dli.e";
			document.pf.lp.value="";
			document.pf.action="http://www.ownpages.com/demo." + newl[1] + "/dli.e";
                }
                else{
                        //if (isNaN(document.pf.l.value)){
				//document.pf.action="http://mail.ownpages.com/dli.e";
				document.pf.action="http://mail." + dname + "/dli.e";
                        //}
                }
                document.pf.method="post";
                document.pf.submit();
                return true;
        }

