Subversion Repositories LCARS

Rev

Rev 97 | Rev 105 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
79 PointedEar 1
<!DOCTYPE html>
56 PointedEar 2
<html lang="<?php echo $language; ?>">
39 PointedEar 3
  <head>
72 PointedEar 4
    <title>Home — PointedEars’ Website</title>
39 PointedEar 5
 
6
    <link rel="SHORTCUT ICON" href="favicon.ico">
7
 
79 PointedEar 8
    <!-- Browsers: Character Encoding -->
9
    <meta charset="UTF-8">
39 PointedEar 10
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
11
 
79 PointedEar 12
    <!-- Robots: Index, Subordinated Files, Description, Author,
39 PointedEar 13
         Keywords, Document Date -->
14
    <meta name="robots" content="index">
15
    <meta name="robots" content="follow">
16
    <meta name="description"
56 PointedEar 17
          content="PointedEars' Website: <?php
18
            $description = _("Access to the United Federation of Planets Databanks, an online songbook and software downloads always worth a click. Coming soon: The best internet links categorized and much more via a bilingual (English/German) LCARS terminal styled user interface that can be also used to surf the web anonymously! Bookmark NOW!");
19
            echo $description;
20
            ?>">
21
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">
39 PointedEar 22
 
56 PointedEar 23
    <?php /* No localization of keywords at the time */ ?>
39 PointedEar 24
    <meta name="keywords"
25
          content="Appz, Download, Links, LCARS, Star Trek, TNG, The Next Generation, DS9, Deep Space 9, Deep Space Nine, VOY, Voyager, UFP, Federation, United Federation of Planets, Database, Databank, Song, Songbook, Surf, anonymously, Raumschiff Enterprise, DNG, Die n&auml;chste Generation, VFP, F&ouml;deration, Vereinte F&ouml;deration der Planeten, Datenbasis, Datenbank, Lied, Liedtext, surfen, anonym">
56 PointedEar 26
<?php /*
27
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
28
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
29
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
30
*/ ?>
39 PointedEar 31
    <meta name="revisit-after" content="3 days">
32
 
33
    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
79 PointedEar 34
    <meta name="dcterms.title" content="PointedEars’ Website">
35
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
36
    <meta name="dcterms.subject" content="Private Web site">
37
    <meta name="dcterms.description"
56 PointedEar 38
          content="PointedEars' Website: <?php echo $description; ?>">
79 PointedEar 39
    <meta name="dcterms.publisher" content="PointedEars">
40
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
41
    <meta name="dcterms.created" content="2002-05-23">
42
    <meta name="dcterms.modified" content="<?php
104 PointedEar 43
      $modi = max(array(
44
        @filemtime(__FILE__),
45
        @filemtime('LocaleData'),
46
        @filemtime('styles/lcars-basic.css'),
47
        @filemtime('styles/lcars22.css'),
48
        @filemtime('styles/lcars-ani.css'),
49
        @filemtime('scripts/object.js'),
50
      ));
51
 
72 PointedEar 52
      echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
56 PointedEar 53
<?php /*
79 PointedEar 54
    <meta name="dcterms.type" content="">
55
    <meta name="dcterms.format" content="">
56 PointedEar 56
*/ ?>
79 PointedEar 57
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
58
    <meta name="dcterms.language" content="<?php echo $language; ?>">
59
    <meta name="dcterms.rightsHolder"
60
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
61
    <meta name="dcterms.rights"
62
          content="<?php echo _("All rights reserved."); ?> <?php echo _("The author is not responsible for the availability and the content of websites referred by this site, and not responsible for the availability and the content of websites referred by those sites. Whereever outsourced material is used, copyright or trademark infringement is not intended. Third parties who claim copyrights or trademarks used herein are asked to send an informal email to webmaster@PointedEars.de for immediate removal or modification of the respective material on the website instead of reminding the author of usage of this material. Thank you."); ?>">
56 PointedEar 63
<?php /*
39 PointedEar 64
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
65
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
56 PointedEar 66
*/ ?>
67
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic.css">
68
<?php
69
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
70
  if (!$printable)
71
  {
72
?>
73
    <link rel="stylesheet" type="text/css" href="styles/lcars22.css<?php
74
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
75
      {
76
        echo '?ani=' . $_GET['ani'];
77
      }
78
    ?>">
79
<?php
80
  }
81
?>
39 PointedEar 82
    <style type="text/css">
83
      <!--
84
      p {
85
        max-width: 100%;
86
      }
87
      -->
88
    </style>
89
 
90
    <script type="text/javascript">
56 PointedEar 91
      function setStatus (text)
39 PointedEar 92
      {
56 PointedEar 93
        window.status = String(text);
39 PointedEar 94
        return true;
95
      }
96
 
56 PointedEar 97
      function resetStatus ()
39 PointedEar 98
      {
99
        window.status = window.defaultStatus;
100
        return true;
101
      }
102
 
56 PointedEar 103
      function mailStatus ()
39 PointedEar 104
      {
56 PointedEar 105
        return setStatus("<?php echo _("Send your feedback to PointedEars"); ?>");
39 PointedEar 106
      }
56 PointedEar 107
<?php
39 PointedEar 108
      /*
109
      var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
110
      var msLeaveDays = ms1Day*6;
111
      var ms30Days=ms1Day*30;
112
      var delta;
113
      var newTime=new Date();
114
      var msTime=newTime.getTime();
115
      var msExpire=msTime+ms30Days;
116
      var expireTime=new Date(msExpire);
117
 
118
      cookieVal=
119
          "savedTime=" + newTime.toGMTString()
120
        + "; expires=" + expireTime.toGMTString()
121
        + "; domain=anybody"
122
        + "; path=/";
123
      document.cookie= cookieVal;
124
      */
56 PointedEar 125
?>
39 PointedEar 126
    </script>
56 PointedEar 127
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
39 PointedEar 128
  </head>
85 PointedEar 129
  <body class="fade-in" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
39 PointedEar 130
    <div id="content">
79 PointedEar 131
      <h1 style="text-align: center"><img
39 PointedEar 132
            src="media/video/img/vulcan_hand-black-bg.png"
133
            width="120"
134
            height="168"
56 PointedEar 135
            alt="<?php echo _("Vulcan greeting"); ?>"
39 PointedEar 136
            title=""
85 PointedEar 137
            style="border: none; cursor: default"
39 PointedEar 138
            onmouseover="return setStatus(this.title)"
139
            onmouseout="return resetStatus()"><br>
56 PointedEar 140
        <?php echo _("Welcome to PointedEars’ Website"); ?></h1>
141
<?php
142
  if (!$printable)
143
  {
144
?>
79 PointedEar 145
      <p class="instruction" style="font-size: 100%; text-align: center"><?php
56 PointedEar 146
        echo sprintf(
84 PointedEar 147
          _("This site uses recent <a href='https://developer.mozilla.org/en-US/docs/'"
148
            . " title='Learn more: Mozilla Developer Network'>Web technologies</a>."
79 PointedEar 149
            . " You can use the <a href='index.%s?printable=1'>%s</a>"
150
            . " if it is not displayed properly with your software."),
56 PointedEar 151
          $language,
76 PointedEar 152
          _('Printable version'));
56 PointedEar 153
        ?></p>
154
<?php
155
  }
156
 
157
  /*
39 PointedEar 158
      <p>
159
        | <a href="leisure/" target="_top"
160
            >Freizeit-Datenbank</a>
161
        | <a href="mozilla/" target="_top">Mozilla</a>
162
        | <a href="poetry/" target="_top">Poesie</a>
56 PointedEar 163
  */
39 PointedEar 164
 
56 PointedEar 165
  /*
39 PointedEar 166
        | [<abbr title="nur in englischer Sprache verf&uuml;gbar"
167
                 >en</abbr>]
168
        | <a href="selfhtml.de/" target="_top">SELFHTML.DE</a>
56 PointedEar 169
  */
170
  /*
39 PointedEar 171
        | <a href="lyrics/" target="_top">Songbook</a>
43 PointedEar 172
        | </p>
56 PointedEar 173
  */
174
              /*
39 PointedEar 175
      <p><a href="about/worm.de.html" target="_top"
176
            >Seltsame E-Mails bekommen?</a></p>
56 PointedEar 177
               */
178
/*
39 PointedEar 179
      <noscript>
180
        <a
181
          href="http://pointedears.de/"
182
          title="PointedEars' Website"
183
          >Diese Website zu Ihren Lesezeichen hinzuf&uuml;gen</a>
184
      </noscript>
56 PointedEar 185
 
39 PointedEar 186
      <!-- Klicken Sie hier, falls Sie nach 5 Sekunden nicht automatisch
187
           weitergeleitet werden. -->
56 PointedEar 188
*/
189
?>
79 PointedEar 190
      <hr style="height: 0; border-width: 1px 0 0 0; width: 100%">
95 PointedEar 191
      <p style="text-align: center"><?php echo sprintf(
192
          _("Original LCARS design by"
193
            . " <a href='%s' title='%s'>Michael&nbsp;Okuda</a>."
194
            . " This site is based on an <a href='%s'"
195
            . " title='LCARS Standards Development Board'"
196
            . ">implementation in Flash by Chris&nbsp;Rossi</a>,"
197
            . " and research by <a href='%s'"
198
            . " title='Creating a Coherent LCARS Interface'>Bracer&nbsp;Jack</a>"
199
            . " and <a href='%s'"
200
            . " title='LCARS 47 Development Blog&nbsp;– LCARS&nbsp;101: A Designer’s Handbook'"
201
            . ">Eleanor&nbsp;Denver</a>."),
202
          'https://twitter.com/MikeOkuda',
203
          _('Michael Okuda on Twitter'),
204
          'http://www.lcarsdeveloper.com/',
205
          'http://www.bracercom.com/tutorial/content/CoherentLCARSInterface/LCARSCoherentInterface.html',
206
          'http://www.lcars47.com/p/lcars-101.html');
207
        ?><br>
208
        Copyright &copy;&nbsp;2002&#8211;2013 <a
56 PointedEar 209
        href="mailto:webmaster@PointedEars.de?subject=Feedback/LCARS/Welcome/<?php
210
          echo $language;
85 PointedEar 211
        ?>&amp;body=<?php
56 PointedEar 212
          echo rawurlencode(sprintf('[%s]', _("Your feedback")));
85 PointedEar 213
        ?>"
56 PointedEar 214
        title="<?php echo _("Send your feedback to PointedEars"); ?>"
79 PointedEar 215
        onmouseover="return mailStatus()"
216
        onmouseout="return resetStatus()"
56 PointedEar 217
        >Thomas ‘PointedEars’ Lahn</a>. <?php echo _("All rights reserved."); ?></p>
95 PointedEar 218
      <p style="text-align: center"></p>
56 PointedEar 219
<?php
220
      /* embed src="media/interface/speech/de/warten.wav" width="0" height="0"
221
      hidden="true" autostart="true" dir="ltr" lang="de" */
222
?>
39 PointedEar 223
    </div>
224
    <div id="LCARS">
56 PointedEar 225
<?php /*
39 PointedEar 226
      <div id="button-grid" style="position: absolute; opacity: 0.3">
227
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
228
 
229
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
230
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
231
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
232
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
233
 
234
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
235
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
236
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
237
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
238
 
239
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
240
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
241
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
242
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
243
 
244
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
245
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
246
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
247
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
248
 
249
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
250
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
251
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
252
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
253
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
254
 
255
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
256
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
257
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
258
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
259
 
260
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
261
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
262
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
263
 
264
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
265
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
266
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
267
 
268
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
269
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
270
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
271
 
272
        <a class="button" style="display: block; clear: left; float: left"><span class="text">Button 1</span></a>
273
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
274
        <a class="button" style="display: block; float: left"><span class="text">Button 1</span></a>
275
      </div>
56 PointedEar 276
*/ ?>
39 PointedEar 277
      <div id="bow">
278
        <div id="bow-top">
279
          <div class="separator-left">&nbsp;</div>
91 PointedEar 280
          <div class="text"><span>PointedEars’ Website</span></div>
39 PointedEar 281
        </div>
282
        <div id="bow-top-left">
283
          <div class="concave">&nbsp;</div>
284
        </div>
285
        <div id="bottom">
286
          <div id="bow-bottom">
287
            <div class="concave">&nbsp;</div>
288
            <div class="spacer">&nbsp;</div>
289
        </div>
290
        </div>
43 PointedEar 291
 
292
        <div class="menu-container">
88 PointedEar 293
          <nav class="menu">
56 PointedEar 294
            <div style="position: relative; margin-bottom: 1.2em">
295
              <div class="bow" style="width: 8em; height: 1em">&nbsp;</div>
43 PointedEar 296
            </div>
56 PointedEar 297
            <ul>
298
            <?php foreach ($languages as $key => $name): ?>
74 PointedEar 299
              <li><a href="index.<?php echo $key; ?>?ani=0"
300
                     class="button<?php if ($language === $key) { ?> selected<?php } ?>"
301
                     tabindex="2"><span class="text"><?php echo $name; ?></span></a></li>
56 PointedEar 302
            <?php endforeach; ?>
303
            </ul>
304
            <div class="bow" style="margin-bottom: 0.4em; width: 8em; height: 0.4em">&nbsp;</div>
305
            <ul style="margin-bottom: 1.2em">
306
              <li><a href="<?php echo $menu['scripts']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['scripts']['text']; ?></span></a></li>
71 PointedEar 307
              <li><a href="<?php echo $menu['es-matrix']['path']; ?>" target="_top" class="button"
308
                     title="<?php echo $menu['es-matrix']['title']; ?>"
309
                     ><span class="text"><?php echo $menu['es-matrix']['text']; ?></span></a></li>
56 PointedEar 310
              <li><a href="<?php echo $menu['devel']['path']; ?>" target="_top" class="button"><span class="text"><?php echo $menu['devel']['text']; ?></span></a></li>
311
            </ul>
312
            <ul style="margin-bottom: 0.2em">
313
              <li><a href="<?php echo $menu['series']['path']; ?>" target="_top" class="button secondary"
314
                     title="List of recommended TV shows and episodes, with logos in CSS"
315
                     ><span class="text"><?php echo $menu['series']['text']; ?></span></a></li>
316
              <li><a href="<?php echo $menu['ufpdb']['path']; ?>" target="_top" class="button database"
79 PointedEar 317
                     ><abbr title="<?php echo $menu['ufpdb']['title']; ?>"
318
                            class="text"><?php echo $menu['ufpdb']['text']; ?></abbr></a></li>
56 PointedEar 319
              <li><a href="psf/" target="_top"
320
                 class="button ancillary"
79 PointedEar 321
                 ><abbr title="<?php echo _("PointedEars' Standard Frases"); ?>"
322
                        class="text">psf</abbr></a></li>
56 PointedEar 323
            </ul>
324
            <div style="position: relative; margin-bottom: 1.2em">
325
              <div class="bow" style="width: 8em; height: 0.8em">&nbsp;</div>
326
            </div>
327
            <ul>
328
              <li><a href="http://climateapps2.oerc.ox.ac.uk/cpdnboinc/show_user.php?userid=648544"
329
                     target="_top" class="button secondary"
330
                     title="<?php echo _("The world’s largest climate forecasting experiment for the 21st century"); ?>"
331
                     ><span class="text">climateprediction.net</span></a></li>
332
<?php /* http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&amp;username=Thomas_Lahn */ ?>
333
              <li><a href="<?php echo _("http://folding.stanford.edu/English/HomePage"); ?>"
334
                     target="_top" class="button secondary"
335
                     title="<?php echo _("Distributed computing to understand protein folding, protein aggregation, and related diseases"); ?>"
336
                     ><span class="text">Folding at home</span></a></li>
337
             <li><a href="http://lhcathomeclassic.cern.ch/sixtrack/show_user.php?userid=221181"
338
                    target="_top" class="button secondary"
339
                    title="<?php echo _("Particle physics research with the Large Hadron Collider at CERN"); ?>"
340
                    ><span class="text">LHC at home</span></a></li>
341
             <li><a href="http://setiathome.berkeley.edu/show_user.php?userid=378921"
342
                    target="_top" class="button secondary"
343
                    title="<?php echo _("The Search for Extra-Terrestrial Intelligence at HOME"); ?>"
344
                    ><span class="text">SETI at home</span></a></li>
345
           </ul>
76 PointedEar 346
            <script type="text/javascript" src="scripts/builder?src=object"></script>
56 PointedEar 347
<?php /*
348
            <script type="text/javascript">
349
              var sURL = location.href;
350
              var sFavAnchorTitle =
351
                  "Klicken Sie hier, um PointedEars' Website Ihren Favoriten"
352
                + " hinzuzufügen";
353
              var sOtherAnchorTitle =
354
                  "Klicken Sie hier mit der rechten Maustaste, um PointedEars' Website"
355
                + " Ihren Lesezeichen hinzuzufügen";
356
              var sFavoriteTitle = "PointedEars' Website";
357
 
358
              if (jsx.object.isHostMethod(jsx.global.window, "external", "AddFavorite"))
359
              {
360
                document.write(
361
                    '<div style="position: relative; margin-top: 1em; border-bottom: 0.2em solid transparent">'
362
                  + '  <div class="bow" style="width: 8em; height: 1em">&nbsp;<\/div>'
363
                  + '  <div class="bow" style="position: absolute; top: 0; left: 8.2em; width: 2em; height: 1em">&nbsp;<\/div>'
364
                  + '</div>'
365
                  + '<a href="javascript:window.external.AddFavorite('
366
                  + ' sURL, sFavoriteTitle);" title="' + sFavAnchorTitle + '"'
367
                  + ' class="button"'
368
                  + ' onclick="window.external.AddFavorite('
369
                  + ' sURL, sFavoriteTitle); return false"'
79 PointedEar 370
                  + ' onmouseover="return setStatus(sFavAnchorTitle)"'
371
                  + ' onmouseout="return resetStatus()"'
56 PointedEar 372
                  + '><span class="text">Favorit<\/span><\/a>');
373
              }
374
            </script>
375
*/ ?>
88 PointedEar 376
          </nav>
39 PointedEar 377
        </div>
56 PointedEar 378
      </div>
379
      <div id="connectors">
380
        <div class="bow" style="position: absolute; top: 0; left: 0; width: 2em; height: 1em">&nbsp;</div>
381
        <div class="bow" style="position: absolute; top: 0; left: 2.2em; width: 5em; height: 1em">&nbsp;</div>
382
 
71 PointedEar 383
        <div class="bow" style="position: absolute; top: 13.6em; left: 0; width: 2em; height: 0.8em">&nbsp;</div>
384
        <div class="bow" style="position: absolute; top: 13.6em; left: 2.2em; width: 5em; height: 0.8em">&nbsp;</div>
56 PointedEar 385
      </div>
386
      <div class="multi-display">
39 PointedEar 387
        <div class="upper">
74 PointedEar 388
          <div class="content">
389
            <div class="title"><span>Home</span></div>
89 PointedEar 390
            <div class="analysis">&nbsp;</div>
76 PointedEar 391
            <script type="text/javascript">
95 PointedEar 392
              var fullscreen = (function () {
76 PointedEar 393
                var _isHostMethod = jsx.object.isHostMethod;
394
 
395
                return {
95 PointedEar 396
                  getSupportedProperty: function (base, names, test) {
397
                    for (var i = 0, len = names.length; i < len; ++i)
76 PointedEar 398
                    {
95 PointedEar 399
                      var name = names[i];
400
                      if (test.call(null, base, name))
76 PointedEar 401
                      {
95 PointedEar 402
                        return name;
76 PointedEar 403
                      }
404
                    }
405
 
95 PointedEar 406
                    return null;
76 PointedEar 407
                  },
408
 
95 PointedEar 409
                  getSupportedCancel: (function () {
410
                    var _supportedCancel;
411
 
412
                    return function () {
413
                      if (typeof _supportedCancel == "undefined")
414
                      {
415
                        var properties = ["cancelFullScreen", "mozCancelFullScreen",
416
                                          "webkitCancelFullScreen"];
417
 
418
                        _supportedCancel = this.getSupportedProperty(document, properties, _isHostMethod);
419
                      }
420
 
421
                      return _supportedCancel;
422
                    };
423
                  }()),
424
 
425
                  getSupportedElement: (function () {
426
                    var _supportedElement;
427
 
428
                    return function () {
429
                      if (typeof _supportedElement == "undefined")
430
                      {
431
                        var properties = ["fullscreenElement", "mozFullscreenElement",
432
                                          "webkitFullscreenElement"];
433
 
434
                        _supportedElement = this.getSupportedProperty(document, properties,
435
                          function (base, name) {
436
                            return typeof base[name] != "undefined";
437
                          });
438
                      }
439
 
440
                      return _supportedElement;
441
                    };
442
                  }()),
443
 
444
                  isSupportedBy: function (elem) {
445
                    var methods = ["requestFullscreen", "mozRequestFullscreen",
446
                                   "webkitRequestFullscreen"];
447
                    return this.getSupportedProperty(elem, methods, _isHostMethod);
76 PointedEar 448
                  },
449
 
95 PointedEar 450
                  isFullscreen: function () {
451
                    var properties = ["fullscreenElement", "mozFullscreenElement",
452
                                      "webkitFullscreenElement"];
453
                    var supportedProperty = this.getSupportedProperty(
454
                      document, properties,
455
                      function (base, name) {
456
                        return typeof base[name] != "undefined";
457
                      });
458
 
459
                    return supportedProperty && document[supportedProperty] != null;
460
                  },
461
 
76 PointedEar 462
                  cancel: function (target, oldHandler, textTarget) {
95 PointedEar 463
                    var supportedCancel = this.getSupportedCancel();
464
                    if (supportedCancel)
76 PointedEar 465
                    {
95 PointedEar 466
                      document[supportedCancel]();
76 PointedEar 467
 
95 PointedEar 468
                      var supportedElement = this.getSupportedElement();
469
                      if (supportedElement)
76 PointedEar 470
                      {
95 PointedEar 471
                        if (document[supportedElement] == null)
76 PointedEar 472
                        {
95 PointedEar 473
                          if (textTarget)
474
                          {
475
                            textTarget.textContent = "<?php echo _("Fullscreen"); ?>";
476
                          }
477
 
478
                          if (target)
479
                          {
480
                            target.onclick = oldHandler;
481
                          }
76 PointedEar 482
                        }
483
                      }
484
                    }
485
                  },
486
 
487
                  requestOn: function (elem, eventTarget, textTarget) {
488
                    var requestMethodName;
489
 
490
                    if (elem && (requestMethodName = this.isSupportedBy(elem)))
491
                    {
492
                      elem[requestMethodName]();
95 PointedEar 493
                      if (textTarget && this.isFullscreen())
76 PointedEar 494
                      {
495
                        var oldText = textTarget.textContent;
496
                        var me = this;
497
                        var oldHandler = eventTarget.onclick;
498
                        eventTarget.onclick = function () {
499
                          me.cancel(this, oldHandler, textTarget);
500
                        };
501
                        textTarget.textContent = "<?php echo _("Window"); ?>";
502
                      }
503
                    }
504
                  }
505
                };
506
              }());
507
            </script>
92 PointedEar 508
            <ul class="commands">
97 PointedEar 509
              <li id="cmd1"><a href="index.php"
92 PointedEar 510
                title="Language selection"
511
                tabindex="1"
512
                class="button left right"
513
                onmouseover="return setStatus(this.title + ': ' + this.href)"
514
                onmouseout="return resetStatus()"
515
                onfocus="return this.onmouseover()"
516
                onblur="return this.onmouseout()"
517
                ><abbr class="text" title="Language selection">Language</abbr></a></li>
518
              <li id="cmd2"><a href="index.<?php echo $language; ?>?printable=1"
519
                title="<?php echo _('Printable version'); ?>"
520
                tabindex="1"
521
                class="button left right"
522
                onmouseover="return setStatus(this.title + ': ' + this.href)"
523
                onmouseout="return resetStatus()"
524
                onfocus="return this.onmouseover()"
525
                onblur="return this.onmouseout()"
526
                ><span class="text"><?php echo _("Printable"); ?></span></a></li>
527
              <li id="cmd3"><div class="button left right"
95 PointedEar 528
                   onclick="fullscreen.requestOn(document.documentElement, this, this.firstChild)"
92 PointedEar 529
                   onkeyup="if (event.keyCode == 13) { this.onclick(); this.onmouseup(); }"
530
                   onmouseup="this.blur()"
531
                   tabindex="1"
532
                   ><span class="text"><script type="text/javascript">
95 PointedEar 533
                     if (fullscreen.isSupportedBy(document.documentElement))
92 PointedEar 534
                     {
95 PointedEar 535
                       /*
536
                       var previousIsFullscreen = fullscreen.isFullscreen();
537
                       var oldHandler;
538
                       window.onresize = function () {
539
                         var nowIsFullscreen = fullscreen.isFullscreen();
540
                         if (nowIsFullscreen != previousIsFullscreen)
541
                         {
542
                           var cmd3 = document.getElementById("cmd3");
543
                           var target = cmd3.firstChild;
544
                           var textTarget = target.firstChild;
545
                           if (nowIsFullscreen)
546
                           {
547
                             oldHandler = target.onclick;
548
                           //   fullscreen.requestOn(document.documentElement, cmd3.firstElementChild, cmd3.firstElementChild.firstElementChild);
549
                           }
550
                           else
551
                           {
552
                             fullscreen.cancel(target, oldHandler, textTarget);
553
                           }
554
 
555
                           previousIsFullscreen = nowIsFullscreen;
556
                         }
557
                       };
558
                       */
92 PointedEar 559
                       document.write("<?php echo _("Fullscreen"); ?>");
560
                     }
561
                   </script></span></div></li>
562
              <li id="cmd4"><div class="button left right" style="cursor: not-allowed !important">&nbsp;</div></li>
563
            </ul>
72 PointedEar 564
          </div>
74 PointedEar 565
          <div class="elbo-button">
566
            <span class="text"><?php echo gmdate('Ym.d', $modi); ?></span>
567
          </div>
39 PointedEar 568
          <div class="elbo">
82 PointedEar 569
            <span class="text"><abbr title="Library Computer Access and Retrieval System">LCARS</abbr> PE-47A</span>
39 PointedEar 570
            <div class="concave">&nbsp;</div>
571
          </div>
79 PointedEar 572
          <div class="border">
573
            <div class="left">&nbsp;</div>
574
            <div class="right">&nbsp;</div>
575
          </div>
39 PointedEar 576
        </div>
577
        <div class="lower">
578
          <div class="elbo">
579
            <div class="concave">&nbsp;</div>
580
          </div>
581
          <div class="bg">&nbsp;</div>
582
          <div class="border-container">
79 PointedEar 583
            <div class="border">
584
              <div class="left">&nbsp;</div>
585
              <div class="right">&nbsp;</div>
586
            </div>
39 PointedEar 587
          </div>
588
        </div>
589
      </div>
590
    </div>
591
  </body>
592
</html>