if(parent.frames.length <= 0)
  {
  if(window.name == '')
    {
  window.name														= document.location.href;
  arr_dateiname														= window.name.split('/');
  
  if(arr_dateiname[arr_dateiname.length-1] == 'index2.html' || arr_dateiname[arr_dateiname.length-1] == 'index.html')
    {
    window.name														= 'http://www.asv-nendingen.de/neue%20homepage/inhalt.html';
    }
  
  document.location.href											= 'http://www.asv-nendingen.de/neue%20homepage/index2.html';
  //document.location.href											= 'http://192.168.0.104/asv-nendingen.de/neue%20homepage/index2.html';
    }
  }


$(document).ready(function()
  {
  if(window.name == 'haupt' && parent.window.name == document.location.href)
    {
	// werbung anzeigen
	str																= '<div id="cx_werbung"><a href="http://www.vbdn.de/privatkunden/konto___karten/kreditkarten0/GoldCard_Kat.html" target="_blank"><img src="http://www.asv-nendingen.de/internetbanner.jpg" width="890" height="509" border="0" /></a><a href="javascript:void(0)" class="cx_schliessen">schlie&szlig;en X</a></div>';
	$('body').prepend(str);
	$('#cx_werbung .cx_schliessen').click(function()
	  {
	  $('#cx_werbung').hide();
	  });
	parent.window.name												= '';
	}
  });
