   // basic show and hide
 $(document).ready(function() {
  $("div#abt").hide();  
  $('div#imagebox').hide();
  $('span#over_we').hide();
  $('span#over_halle').hide();
  $('span#over_zgt').hide();
  $('div#over_twitter').hide();
  

   $("span.jwe").mouseover(function(){
   	    $('div#imagebox').show();
        $('span#over_we').show();
    }).mouseout(function(){
      $('span#over_we').hide();
       $('div#imagebox').hide();
    });

$("span.jbrg").mouseover(function(){
		$('div#imagebox').show();
        $('span#over_halle').show();
    }).mouseout(function(){
      $('span#over_halle').hide();
       $('div#imagebox').hide();
    });

$("span.jzgt").mouseover(function(){
		$('div#imagebox').show();
        $('span#over_zgt').show();
    }).mouseout(function(){
      $('span#over_zgt').hide();
       $('div#imagebox').hide();
    });


$("span.jtw").mouseover(function(){
		$('div#imagebox').show();
        $('div#over_twitter').show();
    }).mouseout(function(){
      $('div#over_twitter').hide();
       $('div#imagebox').hide();
    });

  
   $('span.stoggle').click( function() {
    	 $('div#imagebox').toggle();
        $('span#over_halle').toggle();   
        });
   
   $('#stoggle').click( function() {
     $('div#imagebox').hide();
    $('div#abt').toggle();
   });





});

// iframe












// twitter loader


$(document).ready(function() {
				$("#twitter").getTwitter({
					userName: "cdlxberlin",
					numTweets: 5,
					loaderText: "Loading tweets...",
					slideIn: false,
					slideDuration: 0,
					showHeading: true,
					headingText: "",
					showProfileLink: false,
					showTimestamp: false
				});
			});
			
			
			
			
function CDLX_preloadImages() { //v2.0
  var d=document; if(d.images){ if(!d.CDLX_p) d.CDLX_p=new Array();
    var i,j=d.CDLX_p.length,a=CDLX_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.CDLX_p[j]=new Image; d.CDLX_p[j++].src=a[i];}}
}

function CDLX_swapImgRestore() { //v2.0
  var i,x,a=document.CDLX_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function CDLX_findObj(n, d) { //v2.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=CDLX_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function CDLX_swapImage() { //v2.0
  var i,j=0,x,a=CDLX_swapImage.arguments; document.CDLX_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=CDLX_findObj(a[i]))!=null){document.CDLX_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function CDLX_showHideLayers() { //v2.0
  var i,p,v,obj,args=CDLX_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=CDLX_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function ShowHide(id) {
    obj = document.getElementsByTagName("div");
    if (obj[id].style.visibility == 'visible'){
    obj[id].style.visibility = 'hidden';
    }
    else {
    obj[id].style.visibility = 'visible';
    }
}




