function generateQuickFeedbackForm(placeholderString, buttonName) {
	document.write('<div id=\"quick_feedback\">\
	\	\	\	\	\	<form method=\"post\" accept-charset=\"utf-8\" action=\"/resources/php/short_message.php\">\
	\	\	\	\	\	\	<p>\
	\	\	\	\	\	\	\	<input id=\"page_name\" type=\"hidden\" name=\"page\" value=\"'+ document.title +'\">\
	\	\	\	\	\	\	\	<input id=\"quick_message\" type=\"text\" name=\"message\" style=\"color:gray;\"\
	\	\	\	\	\	\	\	\	value=\"' + placeholderString + '\"\
	\	\	\	\	\	\	\	\	onfocus=\"if ( this.value == \'' + placeholderString + '\' ) { this.value = \'\'; document.getElementById(\'quick_message\').style.color = \'black\'; }\"  \
	\	\	\	\	\	\	\	\	onblur= \"if ( this.value == \'\' ) { this.value = \'' + placeholderString + '\'; document.getElementById(\'quick_message\').style.color = \'gray\'; }\">\
	\	\	\	\	\	\	\	<input id=\"quick_submit\" type=\"submit\" class=\"submit\" value=\"' + buttonName + '\">\
	\	\	\	\	\	\	<\/p>\
	\	\	\	\	\	<\/form>\
	\	\	\	\	<\/div>');
}

function generateCopyrightExtras() {
	var dvdr = '&nbsp;&nbsp;·&nbsp;&nbsp;&nbsp;';


	if ( location.pathname.indexOf("/code/") > -1 ) {
		document.write(dvdr + '<a href=\"http://validator.w3.org/check?uri=' + window.location + '\" title=\"Validate for HTML 4.01 strict compliance\">Validate HTML<\/a>');
		document.write(dvdr + '<a href=\"http://jigsaw.w3.org/css-validator/validator?uri=' + window.location + '&warning=1&profile=css21&usermedium=all\" title=\"Validate for CSS 2.1 compliance\">Validate CSS<\/a>');
	} else {
		document.write(dvdr + '<a href=\"http://validator.w3.org/check?uri=' + window.location + '\" title=\"Gültigkeitsprüfung der Auszeichnung (HTML 4.01 strict) dieser Seite.\">HTML prüfen<\/a>');
		document.write(dvdr + '<a href=\"http://jigsaw.w3.org/css-validator/validator?uri=' + window.location + '&warning=1&profile=css21&usermedium=all\" title=\"Gültigkeitsprüfung der Formatierung dieser Seite (CSS 2.1)\">CSS prüfen<\/a>');
	}
	
	if ( navigator.userAgent.indexOf("Safari") < 0 ) {
			document.write('<br>Optimiert für <a href=\"http://www.apple.com/safari/download/\" target=\"_blank\">Safari<\/a>');	
	}
}