<!--
function new_window(theURL,winName,features,myWidth,myHeight,isCenter) {
  if(window.screen)if(isCenter)if(isCenter == 'true') {
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

function new_imagepopup(theURL,winName,altName,features,myWidth,myHeight,isCenter) {
  if(window.screen)if(isCenter)if(isCenter == 'true') {
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  imagepopup = window.open('','',features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
  with (imagepopup) {
    document.open();
    document.write('<title>'+winName+'</title>');
    document.write('<meta http-equiv="imagetoolbar" content="no">');
    document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">');
    document.write('<a href="javascript:self.close()">');
    document.write('<img src="'+theURL+'" border="0" alt="'+altName+'" title="'+altName+'">');
    document.write('</a></body>');
    document.close();
  }
}

function newImage(arg) {
  if (document.images) {
    rslt = new Image();
    rslt.src = arg;
    return rslt;
  }
}

var preloadFlag = false;
function preloadImages() {
  if (document.images) {
    for (var i=0; i<preloadImages.arguments.length; i++) {
      rslt = newImage(preloadImages.arguments[i]);
    }
    preloadFlag = true;
  }
}

function changeImages() {
  if (document.images && (preloadFlag == true)) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
    }
  }
}



function hideAd(divId)
{ if (document.layers) document.layers[divId].visibility = 'hide';
  else if (document.all) document.all[divId].style.visibility = 'hidden';
  else if (document.getElementById) document.getElementById(divId).style.visibility = 'hidden';
}

function newCookie(name,value,days) {
 var days = 1;   // the number at the left reflects the number of days for the cookie to last
                 // modify it according to your needs
 if (days) {
   var date = new Date();
   date.setTime(date.getTime()+(days*24*60*60*1000));
   var expires = "; expires="+date.toGMTString(); }
   else var expires = "";
   document.cookie = name+"="+value+expires+"; path=/"; }

function readCookie(name) {
   var nameSG = name + "=";
   var ca = document.cookie.split(';');
  for(var i=0; i<ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
  if (c.indexOf(nameSG) == 0) return c.substring(nameSG.length,c.length); }
    return null; }

function eraseCookie(name) {
  newCookie(name,"",1); }

function amt() {


document.write('<div id="pop" style=""><div id="popinnen"><div id="closepop"><a href="javascript:void(0)" id="linksohne" onclick="hideAd(\'pop\')"><span class="hoeher">schließen</span><img  src="pics/close1.gif" border="0"></a></div>');
  document.write('Hallo, ich bin\'s, <br>');
  document.write('Ihre Flirtexpertin aus<br>');
  document.write('&quot;<a href="http://www.herzflimmern.de/" target="_blank" class="linksohne" onClick="hideAd(\'pop\')">Herzflimmern</a>&quot; - jeden Sonntag ab 21 Uhr<br>');
  document.write('in allen 44 Lokalradios NRWs.<br>');
  document.write('Noch Flirt-Fragen offen? <b>Schreiben Sie mir!</b> <br> Oder lesen Sie eines meiner Flirtbücher<br>aus dem Rowohlt-Verlag:');
  document.write('<a href="http://www.amazon.de/exec/obidos/ASIN/3499616971/cyberurlaub/" target="_blank" id="book1" class="linksohne" onclick="hideAd(\'pop\')"><img src="pics/sprechbuch1.jpg" border="0"></a>');
  document.write('<a href="http://www.amazon.de/exec/obidos/ASIN/3499615002/cyberurlaub/" target="_blank" id="book2" class="linksohne" onclick="hideAd(\'pop\')"><img  src="pics/sprechbuch2.jpg" border="0"></a>');
  document.write('<div id="presse1"><b>Frau im<br>Spiegel: "Die Autorin zieht alle Register"</b></div>');
  document.write('<div id="presse2"><b>Das Journal: "Endlich die passende Anleitung für Männer!"</b></div>');
  document.write('</div></div>');
}


function popup() {



  var num = readCookie('sancookie1')
  if (num < 1) {   newCookie('sancookie1','testcookie1');

	var num = readCookie('sancookie1')
		if (num) {
		document.write('<div id="pop" style=""><div id="popinnen"><div id="closepop"><a href="javascript:void(0)" id="linksohne" onclick="hideAd(\'pop\')"><span class="hoeher">schließen</span><img  src="pics/close1.gif" border="0"></a></div>');
  document.write('Hallo, ich bin\'s, <br>');
  document.write('Ihre Flirtexpertin aus<br>');
  document.write('&quot;<a href="http://www.herzflimmern.de/" target="_blank" class="linksohne" onClick="hideAd(\'pop\')">Herzflimmern</a>&quot; - jeden Sonntag ab 21 Uhr<br>');
  document.write('in allen 44 Lokalradios NRWs.<br>');
  document.write('Noch Flirt-Fragen offen? <b>Schreiben Sie mir!</b> <br> Oder lesen Sie eines meiner Flirtbücher<br>aus dem Rowohlt-Verlag:');
  document.write('<a href="http://www.amazon.de/exec/obidos/ASIN/3499616971/cyberurlaub/" target="_blank" id="book1" class="linksohne" onclick="hideAd(\'pop\')"><img src="pics/sprechbuch1.jpg" border="0"></a>');
  document.write('<a href="http://www.amazon.de/exec/obidos/ASIN/3499615002/cyberurlaub/" target="_blank" id="book2" class="linksohne" onclick="hideAd(\'pop\')"><img  src="pics/sprechbuch2.jpg" border="0"></a>');
  document.write('<div id="presse1"><b>Frau im<br>Spiegel: "Die Autorin zieht alle Register"</b></div>');
  document.write('<div id="presse2"><b>Das Journal: "Endlich die passende Anleitung für Männer!"</b></div>');
  document.write('</div></div>');
		
		
		}

  }


}

//-->