<!-- Hide from none Javascript Browsers

// Suppress all errors
// onerror = stopError;
// function stopError() { return true; }
//


// Set the main Option for all PageTools
// 0 means NO and 1 means YES
//
var Domain = window.location.hostname;
var PublishMeFolder = "/"
var Cache = 0;

var PrintMeExtrawindow = 1;
var PrintMeWindowWidth = 435;
var PrintMeWindowHeight = 565;

var PicFolder = '/js/';
var PicFile = 'Pic.shtml';
var PicWindowWidth = 500;
var PicWindowHeight = 375;

var PicDisplayFolder = '/js/';
var PicDisplayFile = 'UFI_PicDisplay.shtml';
var PicDisplayWindowWidth = 500;
var PicDisplayWindowHeight = 375;

var HoverMeFolder = '/media/picture/skin/sponsoren/';
//
// End of Mainoptions


// Does a boring hover for some pics
function fx(onoff, name)
{
var HoverMeURL = 'http://'+Domain+HoverMeFolder;

// Sponsor Logos START
	if (onoff==0)	{this.document[name].src=HoverMeURL + 'rhg_farb.png'}
	if (onoff==1)	{this.document[name].src=HoverMeURL + 'rhg_sw.png'}

	if (onoff==2)	{this.document[name].src=HoverMeURL + 'kultur_projekte_farb.png'}
	if (onoff==3)	{this.document[name].src=HoverMeURL + 'kultur_projekte_sw.png'}

	if (onoff==4)	{this.document[name].src=HoverMeURL + 'lottostiftung_farb.png'}
	if (onoff==5)	{this.document[name].src=HoverMeURL + 'lottostiftung_sw.png'}

	if (onoff==6)	{this.document[name].src=HoverMeURL + 'bkm_farb.png'}
	if (onoff==7)	{this.document[name].src=HoverMeURL + 'bkm_sw.png'}

	if (onoff==8)	{this.document[name].src=HoverMeURL + 'freiheit_einheit_farb.png'}
	if (onoff==9)	{this.document[name].src=HoverMeURL + 'freiheit_einheit_sw.png'}

	if (onoff==10)	{this.document[name].src=HoverMeURL + 'berliner_mauer_farb.png'}
	if (onoff==11)	{this.document[name].src=HoverMeURL + 'berliner_mauer_sw.png'}

	if (onoff==12)	{this.document[name].src=HoverMeURL + 'lstu_farb.png'}
	if (onoff==13)	{this.document[name].src=HoverMeURL + 'lstu_sw.png'}

	if (onoff==14)	{this.document[name].src=HoverMeURL + 'rbb_fernsehen_farb.png'}
	if (onoff==15)	{this.document[name].src=HoverMeURL + 'rbb_fernsehen_sw.png'}

	if (onoff==16)	{this.document[name].src=HoverMeURL + 'inforadio_farb.png'}
	if (onoff==17)	{this.document[name].src=HoverMeURL + 'inforadio_sw.png'}

	if (onoff==18)	{this.document[name].src=HoverMeURL + 'faz_farb.png'}
	if (onoff==19)	{this.document[name].src=HoverMeURL + 'faz_sw.png'}

	if (onoff==20)	{this.document[name].src=HoverMeURL + 'dra_farb.png'}
	if (onoff==21)	{this.document[name].src=HoverMeURL + 'dra_sw.png'}

	if (onoff==22)	{this.document[name].src=HoverMeURL + 'spiegel_tv_farb.png'}
	if (onoff==23)	{this.document[name].src=HoverMeURL + 'spiegel_tv_sw.png'}

	if (onoff==24)	{this.document[name].src=HoverMeURL + '2009_mauerfall_farb.png'}
	if (onoff==25)	{this.document[name].src=HoverMeURL + '2009_mauerfall_sw.png'}
// Sponsor Logos END
}


// Calls the printversion of a site (in accordance to match the PublishMe standard)
function PrintMe(PMtemplate)
{
// NO Cache Start
if (Cache == 0)
{
var PrintVersion = '&template='+PMtemplate;
var PrintMeURL = window.location.pathname+window.location.search+PrintVersion;

	if (PrintMeExtrawindow == 0)
	{
		// Opera & Netscape4 Workaround Start
		var NS4 = (navigator.appName.indexOf('Netscape') != -1 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5.0) ? true : false;
	
		if ((window.opera) || (NS4))
		{
		var PrintMeWindow = window.open(PrintMeURL,'PrintMeNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=1,width=' + PrintMeWindowWidth +',height=' + PrintMeWindowHeight + ',left=0,top=0');
		}
		// Opera & Netscape4 Workaround End
	
		else
		{
		PageTools.location.href = PrintMeURL;
		}
	}

	if (PrintMeExtrawindow == 1)
	{
		var PrintMeWindow = window.open(PrintMeURL,'PrintMeNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=1,width=' + PrintMeWindowWidth +',height=' + PrintMeWindowHeight + ',left=0,top=0');
	}
}
// NO Cache End


// Cache Start
if (Cache == 1)
{
var PrintVersion = '&template='+PMtemplate;
var DeletePMfolder = PublishMeFolder.length;
var PIDraw1 = window.location.pathname;
var PIDraw2 = PIDraw1.replace(/.htm/g,"");
var PID = PIDraw2.slice(DeletePMfolder);
var PrintMeURL	= 'http://'+Domain+PublishMeFolder+'?PID='+PID+PrintVersion;

	if (PrintMeExtrawindow == 0)
	{
		// Opera & Netscape4 Workaround Start
		var NS4 = (navigator.appName.indexOf('Netscape') != -1 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5.0) ? true : false;
	
		if ((window.opera) || (NS4))
		{
		var PrintMeWindow = window.open(PrintMeURL,'PrintMeNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=1,width=' + PrintMeWindowWidth +',height=' + PrintMeWindowHeight + ',left=0,top=0');
		}
		// Opera & Netscape4 Workaround End
	
		else
		{
		PageTools.location.href = PrintMeURL;
		}
	}

	if (PrintMeExtrawindow == 1)
	{
		var PrintMeWindow = window.open(PrintMeURL,'PrintMeNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=1,width=' + PrintMeWindowWidth +',height=' + PrintMeWindowHeight + ',left=0,top=0');
	}
}
// Cache End

}
//


// Calls the printfunction of the client browser
function PrintPage()
{
	if (PrintMeExtrawindow == 0)
	{

		// Opera Workaround Start
		if (window.opera)
		{
		window.print();
		}
		// Opera Workaround End

		else
		{
		self.focus();
		self.print();
		history.back(-1)
		}
	}

	if (PrintMeExtrawindow == 1)
	{
	window.print();
	}
}
//


// Does a normal Bookmark with sitename and URL
function BookmarkMe()
{
window.external.AddFavorite(location.href, document.title);
}
//


// Sets the current page as the startpage
function HouseMe(othis)
{
var url = window.location.href;

var ms = navigator.appVersion.indexOf("MSIE")
var ie5 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+7)) >= 5)

	if(ie5)
	{
	othis.style.behavior='url(#default#homepage)';
	othis.setHomePage(url);
	}
}
//


// Displays a breadcrump menu
function GuideMe()
{
var path = "";
var Home = "http://"+window.location.hostname+"/static,Home_de.htm"
var href=document.location.href;
var s=href.split(",");

path+="<a href=\""+Home+"\">Home</a>";

for (var i=1;i<(s.length-1);i++)
{
path+=" / <a href=\""+href.substring(0,href.indexOf(s[i])+s[i].length)+",Index_de.htm\">"+s[i]+"</a>";
}

var DirtyWord01 = "Home_";
var LastURL01 = document.location.href.slice(-11);
var GetIndex01 = /(^Home_)(\S.+)(.htm)/;
GetIndex01.exec(LastURL01);
var DocName01 = RegExp.$1;

var DirtyWord02 = "Index_";
var LastURL02 = document.location.href.slice(-12);
var GetIndex02 = /(^Index_)(\S.+)(.htm)/;
GetIndex02.exec(LastURL02);
var DocName02 = RegExp.$1;

if ((DocName01 != DirtyWord01) && (DocName02 != DirtyWord02))
{
i=s.length-1;
var SlicedLinkName = s[i].slice(0,-7);
path+=" / <a href=\""+document.location.href+"\">"+SlicedLinkName+"</a>";
}

document.writeln(path);
}
//


// Does individual Pic-PopUp window for any picture
function Pic(pictureName)
{
var PicWindowURL = 'http://'+Domain+PicFolder+PicFile+'?'+pictureName;
window.open(PicWindowURL,'PicNewWindow','scrollbars=0,toolbar=1,location=0,directories=0,status=0,resizable=0,width=' + PicWindowWidth +',height=' + PicWindowHeight + ',left=0,top=0');
}
//

// Does individual PicDisplayThumbs-PopUp window for any picture
function PicDisplayThumbs(pictureName)
{
var PicDisplayWindowURL = 'http://'+Domain+PicDisplayFolder+PicDisplayFile+'?'+pictureName;
window.open(PicDisplayWindowURL,'PicDisplayNewWindow','scrollbars=0,toolbar=1,location=0,directories=0,status=0,resizable=0,width=' + PicDisplayWindowWidth +',height=' + PicDisplayWindowHeight + ',left=0,top=0');
}
//

// Creates an e-mail with the right parameters
function TellMe()
{
var uripath = window.location.pathname;
var query = window.location.search;
var TMemail = 'mailto:?';
var TMsubject = 'subject=Link Weiterempfehlung!&';
var TMtext1 = 'body=Hallo,%0D%0DIch habe eine interessante Seite auf revolution1989.de gefunden:%0D';
var TMtext2 = 'http://'+Domain+uripath+query;
var TMtext3 = 'Mit freundlichen Gr%FC%DFen,';
var TMtext4 = '%0D';
var Space   = ' ';

	// Opera Workaround Start
	if (window.opera)
	{
	window.location.href = TMemail+TMsubject+TMtext1+TMtext2;
	}
	// Opera Workaround End

	else
	{
	window.location.href = TMemail+TMsubject+TMtext1+TMtext2+TMtext4+TMtext4+TMtext3+Space+TMtext4;
	}
}
//


// Get rid of link frames and refurbish the site
function Refurbish()
{
	if(document.getElementById)
	{
	url=document.getElementsByTagName('a');

		for(i=0;i<url.length;i++)
		{
		url[i].onfocus=new Function("if(this.blur)this.blur()");
		}
	}
}
//


// Just for submitting some forms
function SearchMeSubmit()	{ document.SearchMeForm.submit() }
function WriteMeSubmit()	{ document.WriteMeForm.submit() }
//


function JSnoref()
{
// What did you expect?
}


// Simply closes the printwindow
function CloseMe()
{
close()
}
//
// End Hiding -->