// Scriptbibliothek für PKWORLD Seiten
// Copyright (C) 2001, Pawel Kazakow
// [info@pkworld.de]
// http://www.pkworld.de
//__________________________________________________________________________________________

if (window.name !='pkworld')
{
 if (window.name !='pkworld_sub')
 {
   OK=confirm("Diese Seite ist ein Bestandteil aus dem Frameset von PKWORLD,\nKlicken Sie auf OK, um zu dieser Seite zu gelangen.");
   if (OK==true) {window.top.location.href='http://www.pkworld.de'};
 }
}

//document.onUnload = loadstatus(0);
//loadstatus(1);
//__________________________________________________________________________________________

function loadstatus(value)
{
 var doc;

 if (parent.frames.length > 0 && document.all)
 {
  if (parent.frames.length == 3) {doc = parent.frames.inhalt}
  else if (parent.frames.length == 2) {doc = parent.parent.frames.inhalt}

  if (doc.loading)
  {
   if (value)
   {
    msg = '&nbsp; &nbsp; &nbsp;<img src="images/loading.gif" width="62" height="13">';
   }
   else
   {
    msg = '&nbsp;';
   }
   doc.loading.innerHTML = msg;
   setTimeout("loadstatus(0)", 10000);
  }
 }
}
//__________________________________________________________________________________________

var Status;
function InitPage(Status)
{
	window.defaultStatus = Status;

	var LastUpdate = document.lastModified.split("/");
	UpdateText = 'Letzte Änderung: '+LastUpdate[1]+'.'+LastUpdate[0]+'.'+LastUpdate[2];

	if (document.all.Update)
	{
		Update.innerHTML = UpdateText;
	}
//	loadstatus(0);
}
//__________________________________________________________________________________________