
  //  BrowserCheck
  var ie4 = false; if(document.all) { ie4 = true; }


  /**
   *  getObject(ID)
   *
   *  gets method uses by browser for getting the id of an element
   */
  function getObject(ID) {
    
    //  If we have an IE4
    if (ie4) {
      
      //  return 'document.all' as method
      return document.all[ID];

    } else {
      
      //  else return 'document.getElementById' as method
      return document.getElementById(ID);
      
    }
    
  }

  /**
   *  showMultiWK(divID, show)
   *
   *  shows or hides layer with given ID
   */
  function showMultiWK(divID, show) {

    //  get ID of layer
    var target = getObject(divID);

    //  if we should show the layer...
    if (show == true) {

      target.style.display = 'block';

    //  else we should hide it...
    } else {

      target.style.display = 'none';

    }

  }


function popup_printIt(print)	{
	/*url = "http://www.fraktion.cdu.org/print.oscms?pfad="+print;*/
	url = "/print.oscms?pfad="+print;
	h=open(url, "print","locationbar=no,scrollbars=yes,menubar=no,status=no,width=600,height=550");
	h.focus();	
}

function popup_sendIt(codedurl, sec)	{
	/*url = "http://www.fraktion.cdu.org/send.oscms?pageToSend="+codedurl+"&Section="+sec;*/
	url = "/send.oscms?pageToSend="+codedurl+"&Section="+sec;
	h=open(url, "mail2friend_window","locationbar=no,scrollbars=yes,menubar=no,status=no,top=0,width=430,height=500");
	h.focus();	
}
