function pruefeframe()
{
var a = top.location.search.substring(1,top.location.search.length);
if ( a != '') { window.frames['target01'].location.href = a; }
}

function verzweigung()
{
var seiteklein = "svdeg_klein.html";
var seitemittel = "svdeg_mittel.html";
var seitegross = "svdeg.html";
if ((screen.width <= 800) || (screen.height <= 600)) window.location.href = seiteklein;
else if ((screen.width < 1024) || (screen.height <= 768)) window.location.href = seitemittel;


}

function frameprint()
{
  
  if (window.confirm('Schachverein Deggendorf \r\n Hauptfenster wirklich drucken?'))
             { 
			   if (window.print)
			    {
			     parent.target01.focus();
                 parent.target01.print();
				}
				return false;
             }
 	 
}
/********************************************************************************
Copyright (C) 1999 Thomas Brattli
This script is made by and copyrighted to Thomas Brattli at www.bratta.com
Visit for more great scripts.
This may be used freely as long as this msg is intact!
********************************************************************************/
function SwitchImg()
{ 
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
        store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
       switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} 
function RestoreImg()
{ 
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
}
function frameguard()
{
var naar = location.href.substring(location.href.lastIndexOf("/")+1);
if ((top != self.parent) || (top == self))
  {
    top.location.replace('index.html?' + naar);
  }
}
