document.writeln("<SCRIPT>");
document.writeln("<!--");
document.writeln("\/\/alert(screen.width + \"x\" + screen.height);");
document.writeln("if(screen.width <800 )");
document.writeln("	alert(\"Your screen\");");
document.writeln("if(screen.width == 800)");
document.writeln("	Resolve = 800;");
document.writeln("if(screen.width == 1024)");
document.writeln("	Resolve = 1024;");
document.writeln("");
document.writeln("var AlertInput = \"اًتلبً:\\n\\n\";	");
document.writeln("function Login(form){");
document.writeln("	var mesg = \"\";");
document.writeln("	if(form.vmail.value == \"\") mesg += \"email\\n\";");
document.writeln("	if(form.passwd.value == \"\") mesg += \"passwd\\n\";");
document.writeln("	if(mesg != \"\"){");
document.writeln("		mesg = AlertInput + mesg;");
document.writeln("		alert(mesg);");
document.writeln("		return false;");
document.writeln("	}");
document.writeln("");
document.writeln("	if (form.language.value !=\"-\") form.Lang.value = form.language.value;");
document.writeln("	form.action = \"http:\/\/mail.frp-cy.com\/login.php?Cmd=login\";");
document.writeln("	form.submit();");
document.writeln("	");
document.writeln("}");
document.writeln("");
document.writeln("function SelectLang(form){");
document.writeln("	language = form.language.value;");
document.writeln("	if(language == \"-\") return false;");
document.writeln("	form.Lang.value = language;");
document.writeln("	form.action = \"http:\/\/mail.frp-cy.com\/login.php?Lang=\" + language;");
document.writeln("	form.submit();");
document.writeln("}");
document.writeln("function onchange_location(form) {");
document.writeln("		switch(form.value) {");
document.writeln("			case \'blank\'	:	window.open(form.options[form.selectedIndex].name);");
document.writeln("								break;");
document.writeln("			default			:	self.location=\"index.asp\";");
document.writeln("		}");
document.writeln("		form.selectedIndex=0;");
document.writeln("		return;");
document.writeln("	}");
document.writeln("\/\/-->")
document.writeln("<\/SCRIPT>")