home *** CD-ROM | disk | FTP | other *** search
- function WriteTitle()
- {
- document.write ("<title>" + vcWindowTitle + "</title>");
- }
-
- function WriteIssue()
- {
- document.write ("Nr. " + vcIssue);
- }
-
- function WriteMenu (iMenuNo, vcHeader, vcText, vcLink, iSpacing)
- {
- for (var x = 0; x < arrMenu.length; x++)
- {
- document.write ('<div class="menusection">');
- document.write ('<div class="menuheader">' + arrMenu[x].vcTitle + '</div>');
-
- for (y = 0; y < arrMenu[x].arrSubMenu.length; y++)
- {
- if (arrMenu[x].arrSubMenu[y].arrItem[0] || x > 0 || y == 0)
- {
- document.write ('<div class="menuitem"><a href="' + arrMenu[x].arrSubMenu[y].vcLink + '">' + arrMenu[x].arrSubMenu[y].vcTitle + '</a></div>');
- }
- }
- document.write ('</div>');
- }
- }
-
- function WriteSubMenuItems()
- {
- var oSubMenu = arrMenu[iMenuNo].arrSubMenu[iSubMenuNo];
- var oItem;
- document.write ('<div class="header">' + oSubMenu.vcTitle + '</div>');
- document.write ('<div>NB! Bemµrk, at de st°rste demoer m.v. er nogen tid om at starte - afhµngigt af dit dvd-drevs hastighed.</div>');
- document.write ('<div> </div>');
- document.write ('<div> </div>');
-
- for (var x = 0; x < oSubMenu.arrItem.length; x++)
- {
- oItem = oSubMenu.arrItem[x];
-
- document.write ('<div class="itemouter"><table border="0" cellspacing="0" cellpadding="0" width="98%"><tr><td valign="top">');
-
- document.write ('<div class="itemheader">' + oItem.vcTitle + '</div>');
- document.write ('<div> </div>');
-
- if (oItem.vcRequirements)
- {
- document.write ('<div><b>Systemkrav:</b> ' + oItem.vcRequirements+ '</div>');
- document.write ('<div> </div>');
- }
-
- if (oItem.vcDescription)
- {
- document.write ('<div>' + oItem.vcDescription + '</div>');
- document.write ('<div> </div>');
- document.write ('<div> </div>');
- }
-
- document.write ('<div><a href="' + oSubMenu.vcDir + '/' + oItem.vcLink + '">');
- document.write ((oItem.vcInstallText ? oItem.vcInstallText : oSubMenu.vcDefaultInstallText) + '</a></div>');
-
- document.write ('</td><td valign="top" align="right" class="itemimage">');
- if (oItem.vcImage) document.write ('<img border="0" alt="' + oItem.vcTitle + '" src="' + oSubMenu.vcDir + '/' + oItem.vcImage + '">');
-
- document.write ('</td></tr></table></div>');
- }
- }