home *** CD-ROM | disk | FTP | other *** search
- function openWindow()
- {
- gateServer = (document.test) ? 1 : 0;
-
- if (gateServer)
- URL = "http://gate.villusion.com/ilikeq/ext/" + serverName + ".xml";
- else
- URL = "http://www.ilikeq.cz/ilikeq/ext/" + serverName + ".xml";
-
- parentWindow = window.open(URL, "ILIKEQUseqWindow", "status=no,menubar=no,location=yes,resizable=yes,width=490,height=490,scrollbars");
- }
-
- imageName = 'useq.gif';
-
- /* dvoustavovy buton
- if (cookieName != "") // server uses PHP or ASP library
- {
- imageName = 'useq_logout.gif';
- if (document.cookie.length > 0)
- {
- offset = document.cookie.indexOf(cookieName + "=");
- if (offset != -1) // I've found my cookie
- {
- offset = document.cookie.indexOf("logoff", offset + cookieName.length + 1);
- if (offset == -1) // cookie with SID
- imageName = 'useq_login.gif';
- }
- }
- }
- else // server doesn't use PHP or ASP library
- {
- imageName = 'useq.gif';
- }
- */
-
- document.write('<a href="javascript:openWindow()"><img src="http://www.ilikeq.cz/images/' + imageName + '" width="88" height="31" border="0" alt="Pou₧φvßme Q"></a>');
-