<!--
// define variables for encrypting Java Scripts (c.f. start.htm and encrypt.htm)
// Usage: 
// 1. encrypt this file with the key value "WebhostDomainName" and the key creator "location.hostname", e.g. www.igt.ethz.ch
// 2. include this file at the highest level of the frame hierachy
// 3. encrypt an arbitrary JS-page with one of the keys (e.g. /pages/news.htm, www.igt.ethz.ch or EncryptionKey), and 
//    replace the line "key=..." with the following code to get the key in the encrypted page:
//      if (self.parent.parent.bSiteLoaded)
//        key = eval(self.parent.parent.sVariable);
//      else 
//        key="";
//    - key: "page-spec",        sVariable: "pname"
//    - key: "ServerDomainName", sVariable: "hname"
//    - key: "EncryptionKey",    sVariable: "kname"
// with this procedure the key in the encrypted page is much better hidden then by just using
// e.g. key = location.pathname
//
	var pname = "location.pathname";	// used to generate the key for encrypted .js pages with
												// 	key = eval(self.parent.parent.pname)
	var hname = "location.hostname";	// used to generate the key for encrypted .js pages with
												// 	key = eval(self.parent.parent.hname)
	var kname = "EncryptionKey";		// key for encrypted .js pages with
												// 	key = self.parent.parent.kname
//
// Att: on Macs, encrypted files dont work if they are too big ( 15 kB?)
// -->