﻿function login(){
	var f=document.createElement("form");
	var s=f.style;
	f.action=("login.php?url="+location.href);
	f.method="POST";
	s.backgroundColor="#F0E68C";
	s.border="2px black solid";
	s.left="10px";
	s.right="8px";
	s.width="200px"
	s.height="80px";
	s.position="absolute";
	f.innerHTML='<div style="margin:15px;">user<input type="text" size="15" name="user"><br>pass<input type="password" size="15" name="pass"><input type="submit" value="login"></div>';
	document.getElementById("menu").appendChild(f);
}