<!--
function checkname(loginname) {
var str,test,test1,test2,test3;
str=loginname;
test=str.match(/لله/g);
test1=str.match(/للة/g);
test2=str.match(/(.*)لل(ـ*)ـ(ـ*)ه/g);
test3=str.match(/(.*)لل(ـ*)ـ(ـ*)ة/g);
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IEwin = ((document.all)&&(navigator.appVersion.indexOf("MSIE")!=-1) && !isMac) ? true : false;
NS = (navigator.appName.indexOf("Netscape")!=-1) ? true : false;
var drawmenu;
drawmenu="<head>"+
"<META NAME='Audience'    CONTENT='All'>"+
"<META NAME='Language'   CONTENT='EN/AR'>"+
"<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1256'>"+
"<META HTTP-EQUIV='Content-Language' CONTENT='ar-eg'>"+
"<META HTTP-EQUIV='Content-Language' CONTENT='ar-ae'>"+
"<META HTTP-EQUIV='Content-Language' CONTENT='ar-sa'>"+
"</head><body bgcolor='E9967A'>"+
"<font face=times color=#ffffff size=3><b>   من فضلك انتظر قليلا</b></font><br>"+
"<APPLET NAME='DigiChat' CODEBASE='http://chathost.nashirnet.net/DigiChat/DigiClasses/' "+
"CODE='com.diginet.digichat.client.DigiChatApplet' "+
"HEIGHT=100 WIDTH=200 ALIGN='MIDDLE' "+
"ARCHIVE=Client.jar MAYSCRIPT>"+
" <PARAM NAME=cabbase value=Client.cab>"+
" <PARAM NAME=MenuItem3 VALUE='ميهاف'>"+
" <PARAM NAME=MenuLocation3 VALUE=http://www.mihaf.com>"+
" <PARAM NAME=MenuItem4 VALUE='دردشة ميهاف'>"+
" <PARAM NAME=MenuLocation4 VALUE=http://www.mihaf.com>"+
"<PARAM NAME='nickname' VALUE='FM-"+str+"'>"+
" <PARAM NAME=siteID VALUE=1227>"+
" <PARAM NAME=background VALUE=E9967A>"+
" <PARAM NAME=signed VALUE=true>"+
" <PARAM NAME=textcolor VALUE=ffffff>"+
" <PARAM NAME=language VALUE=arabic.lang>"+
" MG Chat requires a Java Compatible web browser to run. "+
"</APPLET>";

if (test || test1|| test2 || test3) {
alert("من فضلك حاول الدخول باسم اخر");
document.login.name.focus();
}

else {
LoginWin = window.open("", "msgwindo", "toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,width=225,height=150");
                    LoginWin.document.open();
                    LoginWin.document.clear();
LoginWin.document.write(drawmenu);
}
}
//-->