
			window.onload = function(){ 
				if(window.location.search != '?noscript'){
					if(document.getElementById && document.getElementsByTagName){
						popup = new PopUp();
						popup.addType({
							name: "vedit",
							width: 880,
							height: 690,
							location:true,
							resizable:true,
							scrollbars:true,
							title:"Text Block bearbeiten"
						});
						popup.addType({
							name: "pdf",
							width:  500,
							height: 630,
							center:true,
							status:true,
							resizable:true,
							scrollbars:true,
							title:"dbXwebApp PDF"
						});						
						
						popup.addType({
							name: "ok",
							width: 340,
							height: 100,
							title:"Eintrag ok"
						});						
						popup.addType({
							name: "del",
							width: 340,
							height: 100,
							alert: "Eintrag wirklich löschen",
							title:"Eintrag löschen"
						});
						popup.addType({
							name: "vote",
							width: 640,
							height: 160,
							resizable:true,
							title:"bewerten"
						});
						popup.addType({
							name: "doc",
							width: 600,
							height: 400,
							resizable:true,
							scrollbars:true,
							center:true,
							status:true,
							location:false,
							title:"Dokument"
						});
						popup.addType({
							name: "folder",
							width: 540,
							height: 300,
							resizable:true,
							scrollbars:true,
							center:true,
							status:true,
							location:false,
							title:"Ordner"
						});
						popup.addType({
							name: "user",
							width: 714,
							height: 570,
							resizable:true,
							scrollbars:false,
							center:true,
							status:true,
							title:"dbXwebApp Benutzer"
						});
						popup.addType({
							name: "group",
							width: 530,
							height: 220,
							resizable:true,
							scrollbars:true,
							center:true,
							status:true,
							location:false,
							title:"dbXwebApp Benutzer-Gruppe"
						});
						
						popup.addType({
							name: "mail_link",
							width: 710,
							height: 330,
							resizable:true,
							center:true,
							title:"Seite als eMail-Link senden"
						});
            						
						popup.addType({
							name: "mail",
							width: 800,
							height: 470,
							resizable:true,
							center:true,
							title:"eMail"
						});
						popup.addType({
							name: "event",
							width: 800,
							height: 540,
							location:false,
							resizable:true,
							scrollbars:false,
							center:true,
							status:false,
							title:"Termin"
						});
						popup.addType({
							name: "usel4",
							width: 160,
							height: 260,
							center:true,
							resizable:true,
							title:"Benutzer-Auswahl"
						});

						popup.addType({
							name: "calendars",
							width: 240,
							height: 220,
							center:true,
							resizable:true,
							title:"Kalender"
						});		            
						popup.addType({
							name: "calendarb",
							width: 400,
							height: 360,
							center:true,
							resizable:true,
							title:"Kalender mit Legende"
						});		                     
						popup.addType({
							name: "calendar",
							width: 300,
							height: 240,
							center:true,
							resizable:true,
							title:"Kalender"
						});		            
            
            				
						popup.addType({
							name: "adresse",
							width: 600,
							height: 414,
							center:true,
							resizable:true,
							title:"Adresse"
						});
																		

						popup.addType({
							name: "fracht_get",
							width: 160,
							height: 60,
							center:true,
							resizable:false,
							title:"Fracht in das eigenem Arbeits-Konto übertragen"
						});	
						popup.addType({
							name: "fracht_info",
							width: 500,
							height: 400,
							center:true,
							resizable:false,
							title:"Fracht Informationen anzeigen"
						});			                   



						popup.addType({
							name: "fabbo",
							width: 260,
							height: 150,
							center:true,
							resizable:false,
							title:"Forum Beitrag beaobachten"
						});	
						popup.addType({
							name: "fbeitrag",
							width: 830,
							height: 540,
							center:true,
							resizable:false,
							title:"Forum Beitrag"
						});			                        		            
						popup.addType({
							name: "fthema",
							width: 680,
							height: 600,
							center:true,
							resizable:false,
							title:"Forum Thema"
						});			                        
						popup.addType({
							name: "forum",
							width: 680,
							height: 600,
							center:true,
							resizable:false,
							title:"Forum Forum"
						});			                              
						popup.addType({
							name: "video",
							width: 380,
							height: 350,
							center:true,
							resizable:false,
							status:false,
							title:"Video"
						});			                          			
						popup.apply();
					}
				}
			}
