<!--

/*
Break-out-of-frames script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
Above notice MUST stay entact for use
*/

if (window!= top)
top.location.href=location.href
// -->



 if (navigator.appVersion.indexOf("2.") != -1){
         check = false;
         }
 if ((navigator.appVersion.indexOf("3.") != -1) && (navigator.appName.indexOf("Explorer") != -1)){
         check = false;
         }
 else {
         check = true;
         }
if (check == true){
  image1 = new Image();
         image1.src = "http://www.cdu-lilienthal.de/image/menu-off-first.gif";
         image1on = new Image();
         image1on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image1stay = new Image();
         image1stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image2 = new Image();
         image2.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image2on = new Image();
         image2on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image2stay = new Image();
         image2stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image3 = new Image();
         image3.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image3on = new Image();
         image3on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image3stay = new Image();
         image3stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image4 = new Image();
         image4.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image4on = new Image();
         image4on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image4stay = new Image();
         image4stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image5 = new Image();
         image5.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image5on = new Image();
         image5on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image5stay = new Image();
         image5stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image6 = new Image();
         image6.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image6on = new Image();
         image6on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image6stay = new Image();
         image6stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image7 = new Image();
         image7.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image7on = new Image();
         image7on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image7stay = new Image();
         image7stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image8 = new Image();
         image8.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image8on = new Image();
         image8on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image8stay = new Image();
         image8stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

  image9 = new Image();
         image9.src = "http://www.cdu-lilienthal.de/image/menu-off.gif";
         image9on = new Image();
         image9on.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";
         image9stay = new Image();
         image9stay.src = "http://www.cdu-lilienthal.de/image/menu-on.gif";

 }
 imageStay = ""
 function imageon(name){
         if (imageStay != name){
                 document[name].src = eval(name + "on.src");
         }
 }
 function imageoff(name){
         if (imageStay != name){
                 document[name].src = eval(name + ".src");
         }
 }
 function on(name){
         if (check == true){
         imageon(name);
         }
 }
 function off(name){
         if (check == true){
         imageoff(name);
         }
 }
 function stay(name){
         if (check == true){
         document[name].src = eval(name + "stay.src");
         if (imageStay != name){
                 if (imageStay != ""){
                         document[imageStay].src = eval(imageStay + ".src");
                 }
         }
         imageStay = name
         }
 }


/*************************************/


var windowW=470 // wide
var windowH=400 // high
var windowX = 0 // from left
var windowY = 0 // from top
var urlPop = "http://www.cdu-lilienthal.de/ltzmeld.htm"
var title =  "Letzte Meldung"
// set this to true if the popup should close
// upon leaving the launching page; else, false, true
var autoclose = false
// do not edit below this line
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless() {
if (beIE) {
NFW = window.open("","popFrameless",","+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>";
NFW.document.open();
NFW.document.write(frameString);
NFW.document.close();
}
else {
NFW = window.open(urlPop,"popFrameless","scrollbars,"+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
}
NFW.focus();
if (autoclose) {
window.onunload = function(){NFW.close();}
   }
}




/****************************************************/
/* Änderungsdatum                                   */
/****************************************************/
var Monatsname = ["Januar", "Februar", "März", "April", "Mai","Juni", "Juli", "August", "September", "Oktober","November", "Dezember"];
var Tagname = ["Sonntag", "Montag", "Dienstag", "Mittwoch","Donnerstag", "Freitag", "Samstag"];

function modifyString(){
	var date = new Date();
	date.setTime(Date.parse(document.lastModified));
	return Tagname[date.getDay()] + ", " + date.getDate() + ". "+ Monatsname[date.getMonth()] + " " + date.getYear();
}



/****************************************************/
/* Werbelayer                                   */
/****************************************************/
// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use

/* var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=32 //(must be divisible by 8)
var direction="up"

function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


window.onload=initbox
*/
/*************************************/

