// JavaScript Document
var registered= readCookie("registered");
if (registered==null) location.href=registerpage;