/*START: PardusUser.de Dokumentations Wiki - Hilfsmittel-Fenster */
function createCookie(cookiename,cookievalue,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = cookiename+"="+cookievalue+expires+"; path=/";
}

function readCookie(rcookiename) {
	var nameEQ = rcookiename + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(ecookiename) {
	createCookie(ecookiename,"",-1);
}

function PrdsUsrWikiLinkTable() {
	if (document.getElementById('PrdsUsrDeWikiLinkTable_Part0').style.display=="block") {
		document.getElementById('PrdsUsrDeWikiLinkTable_Part0').style.display="none";
		document.getElementById('PrdsUsrDeWikiLinkTable_Row').style.width="260px";
		document.getElementById('PrdsUsrDeWikiLinkTable_Part1').style.display="block";
		createCookie('PardusUserDe_Wiki_Sidebar','1',1);
	} else {
		document.getElementById('PrdsUsrDeWikiLinkTable_Part0').style.display="block";
		document.getElementById('PrdsUsrDeWikiLinkTable_Part1').style.display="none";
		document.getElementById('PrdsUsrDeWikiLinkTable_Row').style.width="0px";
		createCookie('PardusUserDe_Wiki_Sidebar','0',1);
	}
}

function Check_PrdsUsrStartElements(PrdsUsrElementName) {
	var PrdsUsrDe_LinkTable_Status = readCookie('PardusUserDe_Wiki_Sidebar');
	if (PrdsUsrDe_LinkTable_Status == "0")
		{
			document.getElementById(PrdsUsrElementName+'0').style.display="block";
			document.getElementById(PrdsUsrElementName+'1').style.display="none";
			document.getElementById('PrdsUsrDeWikiLinkTable_Row').style.width="0px";
		} else {
			document.getElementById(PrdsUsrElementName+'0').style.display="none";
			document.getElementById(PrdsUsrElementName+'1').style.display="block";
			document.getElementById('PrdsUsrDeWikiLinkTable_Row').style.width="260px";
		}
}
/*ENDE: PardusUser.de Dokumentations Wiki - Hilfsmittel-Fenster */

/*START: PardusUser.de PDF-Export - Bereitgestellt von pdfonline.com */
/*
var authorId = "F650AE28-E036-4C16-A4BA-730E8EF9F370";
var pageOrientation = "0";
var topMargin = "0.5";
var bottomMargin = "0.7";
var leftMargin = "1.0";
var rightMargin = "0.5";
var sUriRequest = "";
	sUriRequest = "author_id=" + authorId;
	sUriRequest += "&page=" + pageOrientation;
	sUriRequest += "&top=" + topMargin;
	sUriRequest += "&bottom=" + bottomMargin;
	sUriRequest += "&left=" + leftMargin;
	sUriRequest += "&right=" + rightMargin;
*/
/* Code f&uuml;r main.php :
					function savePageAsPDF() {
						var pURL = "http://savepageaspdf.pdfonline.com/pdfonline/pdfoMaster.asp?cURL=" + escape("<?php //echo exportlink($ID, 'xhtml'); ?>") + "&" + escape(""+sUriRequest+"");
						window.open(pURL, "PDFOnline", "scrollbars=yes,resizable=yes,width=640,height=480,menubar,toolbar,location");
					}
*/
/*ENDE: PardusUser.de PDF-Export - Bereitgestellt von pdfonline.com */


/*START: PardusUser.de PDF-Export - Bereitgestellt von freepdfconvert.com */
if (author==null) {
var author="PardusUser.de - Wiki";}

if (subj==null) {
var subj="";}

if (title==null) {
var title=escape(document.title);}

if (keywords==null) {
var keywords="";}

var app="http://www.freepdfconvert.com";

if (allowcpy==null) {
var allowcpy="yes";} //yes/no

if (allowmodif==null) {
var allowmodif="no";} //yes/no

if (allowprn==null) {
var allowprn="yes";} //yes/no

if (keylen==null) {
var keylen="";} //40/128

if (userpass==null) {
var userpass="";}

if (ownerpass==null) {
var ownerpass="";}

if (preservelinks==null) {
var preservelinks="yes";} //yes/no

if (compress==null) {
var compress="flate";} //none/flate

if (marginleft==null) {
var marginleft="150";} //0-999

if (marginright==null) {
var marginright="5";} //0-999

if (margintop==null) {
var margintop="50";} //0-999

if (marginbottom==null) {
var marginbottom="10";} //0-999

if (allowscript==null) {
var allowscript="yes";}

if (psize==null) {
var psize="A4";}//A4/A3

if (porient==null) {
var porient="Portrait";} //Portrait/Landscape

if (ctype==null) {
var ctype="";}//pdftext/pdfimage

if (wsize==null) {
var wsize="1024x0";}
/*ENDE: PardusUser.de PDF-Export - Bereitgestellt von freepdfconvert.com */

