1function printPage1() 2{ 3 if (window.print) window.print() 4 else 5 alert("Sorry, aber Ihr Browser unterstüzt nicht das direkte Drucken von HTML-Seiten!"); 6} 7 8function allround_popup(urllink,breite,hoehe,fenstername) 9{ 10 anweisungen = 'menubar=no,resizeable=yes,toolbar=0,scrollbars=yes,location=0,directories=0,status=0,width='+breite+',height='+hoehe; 11 bastelfenster = window.open('/popup.php?url='+urllink,fenstername,anweisungen); 12 bastelfenster.name = fenstername; 13 bastelfenster.focus (); 14} 15 16function allround_popup_scroll(urllink,breite,hoehe,fenstername) 17{ 18 anweisungen = 'menubar=no,resizeable=yes,toolbar=0,scrollbars=yes,location=0,directories=0,status=0,width='+breite+',height='+hoehe; 19 bastelfenster = window.open(urllink,fenstername,anweisungen); 20 bastelfenster.name = fenstername; 21 bastelfenster.focus (); 22} 23 24function allround_popup_variable(urllink,breite,hoehe,fenstername) 25{ 26 anweisungen = 'menubar=no,resizeable=yes,toolbar=0,scrollbars=no,location=0,directories=0,status=0,width='+breite+',height='+hoehe; 27 bastelfenster = window.open(urllink,"Spende",anweisungen); 28 bastelfenster.name = "CDU"; 29 bastelfenster.focus (); 30} 31 32function showhide(name) 33{ 34 var e = document.getElementById(name); 35 e.style.display = (e.style.display == 'block') ? 'none' : 'block'; 36} 37
38///////////////////////////////////////////////////////////////////// 39// Session Cookies 40function setCookie(cname, cvalue, exdays) { 41 var d = new Date(); 42 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 43 var expires = "expires="+ d.toUTCString(); 44 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;secure=true;samesite=Strict"; 45} 46 47function getCookie(cname) { 48 var name = cname + "="; 49 var decodedCookie = decodeURIComponent(document.cookie); 50 var ca = decodedCookie.split(';'); 51 for(var i = 0; i <ca.length; i++) { 52 var c = ca[i]; 53 while (c.charAt(0) == ' ') { 54 c = c.substring(1); 55 } 56 if (c.indexOf(name) == 0) { 57 return c.substring(name.length, c.length); 58 } 59 } 60 return ""; 61} 62 63function checkCookie(nr) { 64 var username = getCookie("cookiehinweis1"); 65 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 66 var ck = getCookie("cookiedritt"); 67 $.ajax({ type: 'POST', url: "/functions/cookiecheck.php?action=getcok", data: { username: username, ck: ck, nr: nr }, dataType: 'html' }).done(function( data ) { 68 $('#cookie-content').html(data); 69 }); 70 jQuery("#cookie-disclaimer").hide(); 71 jQuery("#cookie-rebutton").show(); 72 jQuery('html, body').css({ overflow: 'auto', height: 'auto' }); 73 } else { 74 jQuery('html, body').css({ overflow: 'hidden', height: '100%' }); 75 jQuery("#cookie-disclaimer").show(); 76 jQuery("#cookie-rebutton").hide(); 77 } 78} 79 80function checkCookieDatenschutz(nr) { 81 var username = getCookie("cookiehinweis1"); 82 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 83 var ck = getCookie("cookiedritt"); 84 $.ajax({ type: 'POST', url: "/functions/cookiecheck.php?action=getcok", data: { username: username, ck: ck, nr: nr }, dataType: 'html' }).done(function( data ) { 85 $('#cookie-content').html(data); 86 }); 87 jQuery("#cookie-disclaimer").hide(); 88 jQuery("#cookie-rebutton").show(); 89 } else { 90 jQuery("#cookie-disclaimer").show(); 91 jQuery("#cookie-rebutton").hide(); 92 } 93} 94 95function getaj(data, textStatus) { 96 if (textStatus=="success"){ 97 $('#cookie-content').html(data); 98 } 99} 100 101function checkCookieO(nr) { 102 var username = getCookie("cookiehinweis1"); 103 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 104 var ck = getCookie("cookiedritt"); 105 jQuery.ajax({ 106 type: 'POST', 107 url: "/functions/cookiecheck.php?action=getcok", 108 data: { username: username, ck: ck, nr: nr }, 109 dataType: 'html', 110 success: getaj 111 }); 112 jQuery("#cookie-disclaimer").hide(); 113 jQuery("#cookie-rebutton").show(); 114 jQuery('html, body').css({ overflow: 'inherit', height: 'auto' }); 115 } else { 116 jQuery('html, body').css({ overflow: 'hidden', height: '100%' }); 117 jQuery("#cookie-disclaimer").show(); 118 jQuery("#cookie-rebutton").hide(); 119 } 120} 121 122function checkCookieODatenschutz(nr) { 123 var username = getCookie("cookiehinweis1"); 124 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 125 var ck = getCookie("cookiedritt"); 126 jQuery.ajax({ 127 type: 'POST', 128 url: "/functions/cookiecheck.php?action=getcok", 129 data: { username: username, ck: ck, nr: nr }, 130 dataType: 'html', 131 success: getaj 132 }); 133 jQuery("#cookie-disclaimer").hide(); 134 jQuery("#cookie-rebutton").show(); 135 } else { 136 jQuery("#cookie-disclaimer").show(); 137 jQuery("#cookie-rebutton").hide(); 138 } 139} 140 141///////////////////////////////////////////////////////////////////// 142// CSU-Fraktion Session Cookies 143 144function setCSUCookie(cname, cvalue, exdays) { 145 var d = new Date(); 146 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 147 var expires = "expires="+ d.toUTCString(); 148 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;secure=true"; 149} 150 151function getCSUCookie(cname) { 152 var name = cname + "="; 153 var decodedCookie = decodeURIComponent(document.cookie); 154 var ca = decodedCookie.split(';'); 155 for(var i = 0; i <ca.length; i++) { 156 var c = ca[i]; 157 while (c.charAt(0) == ' ') { 158 c = c.substring(1); 159 } 160 if (c.indexOf(name) == 0) { 161 return c.substring(name.length, c.length); 162 } 163 } 164 return ""; 165} 166 167function checkCSUCookie(nr) { 168 var username = getCookie("cookiehinweis1"); 169 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 170 var ck = getCookie("cookiedritt"); 171 $.ajax({ type: 'POST', url: "/functions/cookiecheck.php?action=getcok", data: { username: username, ck: ck, nr: nr }, dataType: 'html' }).done(function( data ) { 172 $('#cookie-content').html(data); 173 }); 174 jQuery("#cookie-disclaimer").hide(); 175 jQuery("#cookie-rebutton").show(); 176 //jQuery('html, body').css({ overflow: 'auto', height: 'auto' }); 177 } else { 178 //jQuery('html, body').css({ overflow: 'hidden', height: '100%' }); 179 jQuery("#cookie-disclaimer").show(); 180 jQuery("#cookie-rebutton").hide(); 181 } 182} 183 184function getCSUaj(data, textStatus) { 185 if (textStatus=="success"){ 186 $('#cookie-content').html(data); 187 } 188} 189 190function checkCSUCookieO(nr) { 191 var username = getCookie("cookiehinweis1"); 192 if ((username == "1") || (username == "2") || (username == "3") || (username == "4")) { 193 var ck = getCookie("cookiedritt"); 194 jQuery.ajax({ 195 type: 'POST', 196 url: "/functions/cookiecheck.php?action=getcok", 197 data: { username: username, ck: ck, nr: nr }, 198 dataType: 'html', 199 success: getaj 200 }); 201 jQuery("#cookie-disclaimer").hide(); 202 jQuery("#cookie-rebutton").show(); 203 jQuery('html, body').css({ overflow: 'inherit', height: 'auto' }); 204 } else { 205 jQuery('html, body').css({ overflow: 'hidden', height: '100%' }); 206 jQuery("#cookie-disclaimer").show(); 207 jQuery("#cookie-rebutton").hide(); 208 } 209}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.