<!-- 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 = 1;

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

var HoverMeFolder = '/media/picture/skin/';

var PicDisplayThumbsFolder = '/PMjs/';
var PicDisplayThumbsFile = 'PicDisplayThumbs.shtml';
var PicDisplayThumbsWindowWidth = 160;
var PicDisplayThumbsWindowHeight = 120;

var GuestbookURL = '/ShouldNotBeSeen/de/';
var GuestbookWindowWidth = 577;
var GuestbookWindowHeight = 650;

var ContactFormURL = '/MailMe/Contact/';
var ContactFormWindowWidth = 577;
var ContactFormWindowHeight = 650;
//


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

// Form Buttons and Navi stuff Start
	if (onoff==0)	{this.document[name].src=HoverMeURL + 'MenBarItem01FX.gif'}
	if (onoff==1)	{this.document[name].src=HoverMeURL + 'MenBarItem01Normal.gif'}
	
	if (onoff==2)	{this.document[name].src=HoverMeURL + 'MenBarItem02FX.gif'}
	if (onoff==3)	{this.document[name].src=HoverMeURL + 'MenBarItem02Normal.gif'}

	if (onoff==4)	{this.document[name].src=HoverMeURL + 'MenBarItem03FX.gif'}
	if (onoff==5)	{this.document[name].src=HoverMeURL + 'MenBarItem03Normal.gif'}

	if (onoff==6)	{this.document[name].src=HoverMeURL + 'MenBarItem04FX.gif'}
	if (onoff==7)	{this.document[name].src=HoverMeURL + 'MenBarItem04Normal.gif'}

	if (onoff==8)	{this.document[name].src=HoverMeURL + 'MenBarItem05FX.gif'}
	if (onoff==9)	{this.document[name].src=HoverMeURL + 'MenBarItem05Normal.gif'}

	if (onoff==10)	{this.document[name].src=HoverMeURL + 'FooterBarItem01FX.gif'}
	if (onoff==11)	{this.document[name].src=HoverMeURL + 'FooterBarItem01Normal.gif'}

	if (onoff==12)	{this.document[name].src=HoverMeURL + 'FooterBarItem02FX.gif'}
	if (onoff==13)	{this.document[name].src=HoverMeURL + 'FooterBarItem02Normal.gif'}
	
	if (onoff==14)	{this.document[name].src=HoverMeURL + 'FooterBarItem03FX.gif'}
	if (onoff==15)	{this.document[name].src=HoverMeURL + 'FooterBarItem03Normal.gif'}
// Form Buttons and Navi stuff End

}


// flips the poker-cards
function ShowCard01() { document.getElementById('Card01').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,machtverschiebung"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/g180.jpg" alt="Wir hatten die Macht" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,machtverschiebung">Wir hatten die Macht</a></div><p>Die Zeit des Westens läuft ab. Wir müssen uns an eine neue Weltordnung gewöhnen.</p></div>';}
function ShowCard02() { document.getElementById('Card02').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,sofademokraten"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/sofaneugross.jpg" alt="Die Sofa-Demokraten" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,sofademokraten">Die Sofa-Demokraten</a></div><p>Im Internet entsteht eine neue demokratische Macht mit neuen politischen Aktivisten.</p></div>';}
function ShowCard03() { document.getElementById('Card03').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,gestendermacht"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/teasergesten.jpg" alt="Barack Obama - Alles in einer Hand" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,gestendermacht">Alles in einer Hand<img border="0" src="http://macht-maschine.de/media/picture/skin/icon_audio.gif" class="icon"></a></div><p>Politiker grüßen, schmähen und warnen. Vor allem mit ihren Gesten.</p></div>';}
function ShowCard04() { document.getElementById('Card04').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,machtdermedien"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/Medien.jpg" alt="Die Macht der Medien" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,machtdermedien">Die Macht der Medien<img border="0" src="http://macht-maschine.de/media/picture/skin/icon_audio.gif" class="icon"></a></div><p>Schlagzeilen, Interviews, Kampagnen - Journalisten reden Klartext.</p></div>';}
function ShowCard05() { document.getElementById('Card05').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,videorhetorik"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/gysi1.jpg" alt="Gregor Gysi - Reden ist Macht" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,videorhetorik">Reden ist Macht<img border="0" src="http://macht-maschine.de/media/picture/skin/icon_video.gif" class="icon"></a></div><p>Die großen Rhetoriker: Die Tricks von Gysi, Westerwelle und Merkel enthüllt.</p></div>';}
function ShowCard06() { document.getElementById('Card06').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,lobbyisten"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/teaserlobby.jpg" alt="Die Polit-Flüsterer" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,lobbyisten">Die Polit-Flüsterer</a></div><p>Wer steuert Politiker aus dem Hintergrund? Spurensuche bei Lobbyisten und Kritikern.</p></div>';}
function ShowCard07() { document.getElementById('Card07').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,neurologe"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/gehirngross.jpg" alt="Das Ding in meinem Kopf" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,neurologe">Das Ding in meinem Kopf</a></div><p>Der freie Wille ist eine Illusion. Hat der Mensch keine Macht über Handeln und Wünsche?</p></div>';}
function ShowCard08() { document.getElementById('Card08').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,intrigeninterview"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/intrige.jpg" alt="Die Kunst der Intrige" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,intrigeninterview">Die Kunst der Intrige</a></div><p>Wer nach oben will, sollte intrigant sein, sagt Psychologe Detlev Liepmann.</p></div>';}
function ShowCard09() { document.getElementById('Card09').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,wolfgangnowak"><img border="0" src="http://macht-maschine.de/media/picture/geheimnisse/Schroederteaser.jpg" alt="Gerhard Schröders Schatten" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,wolfgangnowak">Schröders Schatten<img border="0" src="http://macht-maschine.de/media/picture/skin/icon_audio.gif" class="icon"></a></div><p>Wolfgang Nowak war Kanzlerberater. Ein Gespräch über Schwächen der Macht.</p></div>';}
function ShowCard10() { document.getElementById('Card10').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,bildergaleriesonderrechte"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/teasersonderrecht.jpg" alt="Privilegien der Macht" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,bildergaleriesonderrechte">Privilegien der Macht<img border="0" src="http://macht-maschine.de/media/picture/skin/icon_gallery.gif" class="icon"></a></div><p>Die Mächtigen genießen Sonderstatus. Verbrechen ohne Strafe ist nur eines.</p></div>';}
function ShowCard11() { document.getElementById('Card11').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,kirchenlobby"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/bischoefe.jpg" alt="Prälat Karl Jüsten - Der Lobbyist Gottes" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,kirchenlobby">Der Lobbyist Gottes</a></div><p>Die Bischöfe haben einen Vertreter in Berlin. Er soll für sie die Politik beeinflussen.</p></div>';}
function ShowCard12() { document.getElementById('Card12').innerHTML = '<div class="TeaserCard"><a href="http://macht-maschine.de/?PID=static,geheimnisse,besserhelfen"><img border="0" src="http://macht-maschine.de/media/picture/teasergross/geschenkgross.jpg" alt="Strategie mit Herz" class="pic"></a><div><a href="http://macht-maschine.de/?PID=static,geheimnisse,besserhelfen">Strategie mit Herz</a></div><p>Wenige deutsche Firmen sehen die Macht der guten Werke. Das sollte sich ändern.</p></div>';}
//


// 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 individual PicDisplayThumbs-PopUp window for any picture
function PicDisplayThumbs(pictureName)
{
var PicDisplayThumbsWindowURL = 'http://'+Domain+PicDisplayThumbsFolder+PicDisplayThumbsFile+'?'+pictureName;
window.open(PicDisplayThumbsWindowURL,'PicDisplayThumbsNewWindow','scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0,width=' + PicDisplayThumbsWindowWidth +',height=' + PicDisplayThumbsWindowHeight + ',left=0,top=0');
}
//

// Does the pic change for every picture
function PicDisplayText(pictureName)
{
this.document.UFI_PicDisplayPic.src=[pictureName];
}
//


// 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 EmptySearchField()
{
document.SearchMeForm.SearchFor.value = "";
}

// Simply closes the printwindow
function CloseMe()
{
close()
}
//


// Opens the guestbook in a javascript window to prevent entries from spammers
function ShowGuestbook()
{
var GuestbookWindow = window.open('http://'+Domain+GuestbookURL,'GuestbookNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=0,width=' + GuestbookWindowWidth +',height=' + GuestbookWindowHeight + ',left=0,top=0');
}
//

// Opens the contact form in a javascript window
function ShowContactForm()
{
var ContactFormWindow = window.open('http://'+Domain+ContactFormURL,'ContactFormNewWindow','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=0,width=' + ContactFormWindowWidth +',height=' + ContactFormWindowHeight + ',left=0,top=0');
}
//


// Calls the TellMe script with the right parameters
function TellMe()
{


var uripath = window.location.pathname;
var query = window.location.search;
var TMemail = 'mailto:?';
var TMsubject = 'subject=Liesmich! Ich bin da auf etwas Interessantes gestossen...&';
var TMtext1 = 'body=Hallo,%0D%0Dauf macht-politik.de habe ich diesen empfehlenswerten Artikel soeben gelesen. Schau ihn dir mal an: ';
var TMtext2 = 'http://'+Domain+uripath+query;
var TMtext3 = '%0D';

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

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

// End Hiding -->