jquery.js Problems

jquery.js Problems

Hello, i have a Problem again.. When i am link jquery.js in my html file no other js functions are available
    
  1. <!DOCTYPE html>
  2. <html>
  3. <head >
  4. <meta charset="UTF8" />
  5. <script src="jquery.js"></script>
  6. <script>
  7. function OpenWindow(window) {
  8. if(window=="login") {document.getElementById("login").style.display = 'block';}
  9. else if(window == "register") {document.getElementById("register").style.display = 'block';}
  10. }

  11. </script>
  12. </head>
  13. <body >
  14. Test ob Erstellt
  15. <div id="login" style="display: none;">
  16. LoginLoginLoginLoginLoginLoginLoginLoginLoginLoginLoginLogin
  17. </div>
  18. <div id="register" style="display: none;">

  19. RegisterRegisterRegisterRegisterRegisterRegisterRegisterRegister
  20. </div>
  21. </body>
  22. </html>
The Function OpenWindow is never called, when i am delete " <script src="jquery.js"></script>" its works..