loadfromcookie
main layout