//globale Variablen
	var bFrmSerialize 	= false;
	var bFrmTransfer 	= false;
	
	var bResizableOverlayAX 	= false;				//global Overlay Resizable
	
	var htmlIMGQueue = '';
	var htmlIMGLoad = '';
	
	var arrNicEditor 	= new Array();
	var arrCKEditor  	= new Array();
	var arrTineMCEditor  = new Array();
	
	var scrptE = '';
	var scrptF = '';
	
	var strAjax = '';
	var jsCode 			= '';
	var arrJSCode 		= new Array();  //Priorität3

//START ajax_transition 
	/*
	 * Ajax Aufruf einleiten
	 * 
	 * valid jsonVals
	 * 
	 * 	@param		Url			-> Url der aufzurufenden Datei
	 * 
	 * 		@param		DivID		-> DIV-Bereich bei denen die Ausgae erscheinen soll
	 *  ||	@param		Location	-> Set('_self', '_blank')
	 * 
	 * ######## Option Para ###############
	 * 
	 * 	@param 			Action		-> weiterführende Aktionen für den angegebenen DivLayer "clear", "close"
	 * 	@param 			bShow		-> DivLayer wird am Ende eingeblenden 	$('#DivID').show();
	 *  @param 			setPos		-> set('Full', 'BottomRight', 'TopCenter', 'TopLeft', 'TopRight', 'MiddleCenter', 'BottomLeft', 'BottomLeft', 'BottomCenter')
	 * 								-> NULL = Keine zusätzliche Positionierung od. Einblendung
	 * 								-> Full = DivLayer wird während der Bearb. über das ganze Fenster dargestellt
	 * 								-> BottomRight 	= DivLayer fixiert ganz unten rechts
	 * 								-> TopCenter 	= DivLayer fixiert zentriert ganz oben 
	 * 								-> weitere: TopLeft, TopRight, MiddleCenter, BottomLeft, BottomCenter
	 * 	OLD@param 		bFullScreen	-> DivLayer wird während der Bearb. über das ganze Fenster dargestellt
	 * 	@param 			GET			-> zu übertragene POST Parameter
	 * 
	 * 		@param		POST		-> zu übertragene GET  Parameter
	 * 	|| 	@param		frmID		-> zu übertragene Formulardaten der angegebenen FormularID _> method POST
	 * 		@param		bFrmSubmit	-> Action des angegebenen Formulares wird ausgeführt
	 * 
	 * 	@param			Prio		-> Set('1', '2', '3') Default 2; -> dieser kann geändert werden, um mehrere unwichtige Ajax-Aufruf im Hintergrund abzuwickeln 
	 * 
	 */
	function ajax_transition(jsonVals){		
		return at(jsonVals);
	}
	function at(jsonVals){				
		
		
	//GetUrl
		var Url = jsonVals.Url;
		if(!Url) Url = jsonVals.link;							//OldValue

	//GetLocation
		var Location = jsonVals.Location;
		if(!Location) Location = jsonVals.location;			//OldValue
		
	//GetDivID
		var DivID = jsonVals.DivID;
		if(!DivID) DivID = jsonVals.div_id;					//OldValue
		
	//GetAction
		var Action = jsonVals.Action;
		if(!Action) Action = jsonVals.action;										//OldValue
			
		//	alert ("TEST " +jsonVals.ASync);
		var bASync = jsonVals.ASync;
		if(typeof(bASync) == "undefined") bASync = true; 	
		
		var bShowLoad = jsonVals.ShowLoad;
		if(typeof(bShowLoad) == "undefined") bShowLoad = true; 	
			
	//	alert(bASync);
		
		if((DivID || Location == '_self' || Location == '_blank') && (Url || Action)){
			//GetParaGET
				var GET = jsonVals.GET;
				if(!GET) GET = jsonVals.para_get;									//OldValue
				
			//GetParaPost
				var POST = jsonVals.POST;
				if(!POST) POST = jsonVals.para_post;								//OldValue

			//GetPrio
				var Prio = jsonVals.Prio;
				if(Prio != 1 &&  Prio != 2 && Prio != 3) Prio = jsonVals.prio;		//OldValue
				if(Prio != 1 &&  Prio != 2 && Prio != 3) Prio = 2;					//Default Value

			//GetFrmID 
				var frmID = jsonVals.frmID;
				if(!frmID) frmID = jsonVals.frm_id;									//OldValue

			//GetFrmSubmit 
				var bFrmSubmit = jsonVals.bFrmSubmit;
				if(!bFrmSubmit) bFrmSubmit = jsonVals.frm_id;						//OldValue
				
			//GetImgDivID 
				var ImgDivID = jsonVals.ImgDivID;
				if(!ImgDivID) ImgDivID = jsonVals.frm_submit;						//OldValue
				
			//GetPosition
				var setPos		= jsonVals.setPos;
				
				var bFullScreen = jsonVals.bFullScreen;
				if(!bFullScreen) bFullScreen = jsonVals.FullScreen;					//OldValue
				if(bFullScreen == '1') setPos = 'Full';
				
			//GetImgUrlLoad
				var ImgUrlLoad = jsonVals.ImgUrlLoad;
				if(!ImgUrlLoad) ImgUrlLoad = jsonVals.img_load;						//OldValue
				
			//GetImgUrlLoad
				var ImgUrlQueue = jsonVals.ImgUrlQueue;
				if(!ImgUrlQueue) ImgUrlQueue = jsonVals.img_queue;					//OldValue
				
				
			//GetFrmSubmit 
				var bResizable = jsonVals.bResizable;
				if(!bResizable) bResizable = jsonVals.Resizable;						//OldValue
				if(!bResizable) bResizable = jsonVals.resizable;						//OldValue
				if(DivID == 'OverlayAX' && bResizableOverlayAX) bResizable = true;
				
			if(GET){
				Url += "?"+GET+"&div_id="+DivID+"&DivID="+DivID;
			}else{
				Url += "?div_id="+DivID+"&DivID="+DivID;
			}
			if(Action){ 
				if (Action == 'clear' && frmID) {
					//coming soon
				}else if(Action == 'close'){
					if(DivID == 'OverlayAX'){
						$('#'+DivID).hide('slow');
						$('#'+DivID+'Background').hide('');
						
						/*
						$('#'+args.div_id).hide('slide');
						$('#'+args.div_id+'Overlay').hide('fold');
						*/
					}
					document.getElementById(DivID).innerHTML = '';
					return true;
				}else if(Action == 'submit'){
					bFrmSubmit = '1';
				}else{
					Url += "&action="+Action+"&Action="+Action;
				}
			}else Url += "&action=&Action=";

			if(Location == '_self' || Location == '_blank'){
				Url = jsonVals.Url;
				if(!Url) Url = jsonVals.link;							//OldValue
			}

			if(frmID){	
				do{	
					if(bFrmTransfer == false){
						bFrmSerialize = true;
						
						//this.submit.closureListener(this)
						$('#'+DivID+' .NicEdit').each(function(){
					        // alert($(this).attr('id'));
					        if(arrNicEditor[DivID+'_'+$(this).attr('id')]){
								arrNicEditor[DivID+'_'+$(this).attr('id')].instanceById($(this).attr('id')).saveContent();
							}
						});
						
						$('#'+DivID+' .TinyMCE').each(function(){
					        //alert($('#'+$(this).attr('id')).html());	
					     /*   $('#'+$(this).attr('id')).tinymce().hide();
						
							var grz         = 255
							
							var val     = $('#'+$(this).attr('id')).html();
							var len     = val.length;
							var newStr  = "";							
							for (i=0;i<len;i++) {
								if (val.charCodeAt(i)>grz || val.charCodeAt(i) == '34' || val.charCodeAt(i) == '39') {		//inkl.  ' und " :)
									newStr = newStr + "&#"+val.charCodeAt(i)+";";
								} else {
									newStr = newStr + val.substr(i,1);
								}
							}
							//alert(newStr);
							$('#'+$(this).attr('id')).html(newStr);
				        		*/
						});
						

						$('#'+DivID+' .CKEdit').each(function(){
					         // alert($(this).attr('id'));
							//arrCEditor[$(this).attr('id')].instanceById($(this).attr('id')).saveContent();
							if(arrCKEditor[DivID+'_'+$(this).attr('id')]){
								//arrCKEditor['txtContentLangDesc2DE'] = arrCKEditor[$(this).attr('id')].getData();
								//
								//arrCKEditor[DivID+'_'+$(this).attr('id')].updateElement();
								//alert(arrCKEditor[DivID+'_'+$(this).attr('id')].getData());
								
								//$(this).val(arrCKEditor[DivID+'_'+$(this).attr('id')].getData());
								
								
							}
						});
						
						//Anzeige russischer Schriftzeichen vor der Umwandlung in Ascii
						var temp = new Array();
		
						if(document.getElementsByTagName("form")) var frm_elements = document.getElementsByTagName("form")[frmID];
						else var frm_elements = document.getElementsByTagName("form")[frmID];
						
						if(frm_elements) {
							var elements = frm_elements;
							
							for (var i = 0; i < elements.length; i++) {
								//alert(elements[i].name);
								temp[i] = elements[i].value;							
								js_Convert2ASCII(elements[i]);
							}
							
							//serialize with jquery
							POST = '&'+$(frm_elements).serialize();
							
							for(var i2 = 0; i2 < temp.length; i2++)
							{
								elements[i2].value = temp[i2];
							}
						}
					
					}
					bFrmSerialize = false;
					//alert(args.para_post);
				}while(bFrmTransfer == true);
			}
			//alert("ajax_request("+DivID+", "+Url+", "+POST+", "+ImgUrlLoad+", "+ImgUrlQueue+", "+ImgDivID+", "+bFrmSubmit+", "+bFullScreen+", "+Location+", "+Prio+");");
			
			//Bugfix - auto action	
			if(Location == '_self')/* || Location == '_blank' || bFrmSubmit == true*/
			{
				return false;
				//window.location.href = Url;
				//return true;
				//alert('err please check AjaxRequest');
				
				
			}		
				//if(js_check_submit_request()) eval('document.frm_'+DivID+'.submit();');	
				//window.location.href = Url+POST;
				//window.open(Url+POST);

			/*
			Bugfix, falls kein div vorhanden
			*/
			//START - Create DIV
			if(!document.getElementById(DivID)){ 
				$('#OverlayAX').after('<div id="'+DivID+'" style="position:fixed;height:23px;width:400px;margin-top:0px;margin-left:-200px;top:0;left:50%;">&nbsp;</div>');
				//$('#OverlayAX').after('<div id="'+DivID+'" style="position:fixed;height:23px;width:400px;margin-top:-23px;margin-left:-400px;top:100%;left:100%;">&nbsp;</div>');
				setTimeout("$('#"+DivID+"').remove();", 1000*4);		//4 sec
			}	//ENDE  - Create DIV
			
			if(bShowLoad == true){ 
				StyleAX('Load', DivID, setPos);				
			}
			
			$.ajax(
				{
					url: Url,
					type: "POST",
      				data: POST,
					async: bASync,
				      success: function(ContentResult){
				      	
				         	/*Old Alias*/ 
							 var div_id = DivID;	
				         	
							if(DivID == 'OverlayAX'){	
								/*window.scroll(0,0);*/
							}
							
							$('#'+DivID).removeClass("msgQueue");
							$('#'+DivID).removeClass("msgLoad");
							
				         	/*StyleAXHide(DivID, bFullScreen);*/
				         	StyleAXHide(DivID, setPos);
				         	//$('#'+ImgDivID).hide();
							$('#'+DivID+'IMGLoad').remove();
							
							
				    		//document.getElementById(DivID).innerHTML = ContentResult;		//Error Kontaktformular ZL hinzufügen
					    	$('#'+DivID).html(ContentResult);	
					    	
							//START - ALTE Variante für Datenmanipulation via JS - NEU: JS Script-Tags im Ajax-Aufruf möglich
								if(DivID == 'Search' || DivID == 'SearchAX' || DivID == 'SearchChange' || DivID == 'ContentLeft' || DivID == 'SearchChangeAX' || DivID == 'menu_h2') {
									if(document.getElementById('datepicker_bis')) {
										$("#datepicker_bis").datepicker({ dateFormat: 'dd.mm.yy', monthNamesShort: ['Jan','Feb','März','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'], firstDay: 1, dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], changeYear: true, changeMonth: true, yearRange: '4' });
									}
									if(document.getElementById('datepicker_von')) {
										$("#datepicker_von").datepicker({ dateFormat: 'dd.mm.yy',  monthNamesShort: ['Jan','Feb','März','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'], firstDay: 1, dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], changeYear: true, changeMonth: true, yearRange: '4' });
									}
									
									if(document.getElementById('DatepickerBisChange')) {
										$("#DatepickerBisChange").datepicker({ dateFormat: 'dd.mm.yy', monthNamesShort: ['Jan','Feb','März','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'], firstDay: 1, dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], changeYear: true, changeMonth: true, yearRange: '4' });
									}
									if(document.getElementById('DatepickerVonChange')) {
										$("#DatepickerVonChange").datepicker({ dateFormat: 'dd.mm.yy',  monthNamesShort: ['Jan','Feb','März','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'], firstDay: 1, dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], changeYear: true, changeMonth: true, yearRange: '4' });
									}
								} else if(DivID == 'buchungen_suche_ax') {
									//$("#txt_date_von").datepicker({ dateFormat: 'dd.mm.yy', changeYear: false, changeMonth: false, yearRange: '-10:+0' });
									//$("#txt_date_bis").datepicker({ dateFormat: 'dd.mm.yy', changeYear: false, changeMonth: false, yearRange: '-10:+0' });
									//ajax_refresh('buchungen_liste_ax');
								} else if(DivID == 'preis_liste_ax'){
									//alert("prices loaded, please check table_preis_liste_submit-"+document.getElementById('rad_kabine_id')+"-");
									if(!document.getElementById('rad_kabine_id') && document.getElementById('table_preis_liste_submit')){
										document.getElementById('table_preis_liste_submit').style.display = 'none';
									}else if(document.getElementById('rad_kabine_id') && document.getElementById('table_preis_liste_submit')){
										document.getElementById('table_preis_liste_submit').style.display = '';
									}
								} else if(DivID == 'menu_h2'){
									$('#'+DivID).removeClass().addClass(div_id);
								} else if(DivID == 'ContentActionAX'){
									  if(document.getElementById('txtThemeData')) {
										  arrNicEditor['txtThemeData'] = new nicEditor({fullPanel : true}).panelInstance('txtThemeData');
									  }
								}
							//END  - ALTE Variante für Datenmanipulation via JS - NEU: JS Script-Tags im Ajax-Aufruf möglich
								
								
							//INIT Default - WYSIWYG-Editor - TinyMCE
							
							$('#'+DivID+' .TinyMCE').each(function(){
								//alert(DivID+'_'+$(this).attr('id'));
								
								 $('#'+$(this).attr('id')).tinymce({
									// Location of TinyMCE script
									//script_url : 'http://ronny.linuxubuntu/nees/schiffsreisen.de/Libs/JS/TinyMCE/jscripts/tiny_mce/tiny_mce.js',
								
									force_br_newlines : true,
									force_p_newlines : false,
									forced_root_block : '', 
									
									// General options
									theme : "advanced",
									plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
									
									// Theme options
									//theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
									//theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
									//theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
									//theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
									
									//theme_advanced_buttons1 : "undo,redo,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|,cleanup,code,preview,fullscreen",
									//theme_advanced_buttons2 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,|,link,unlink,|,forecolor,backcolor,|,formatselect,fontsizeselect",
								
									
									theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,forecolor,backcolor,|,formatselect,fontsizeselect",
									theme_advanced_buttons2 : "undo,redo,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|,code,preview,fullscreen,|, bullist,numlist,tablecontrols",
									//theme_advanced_buttons2 : "",
									theme_advanced_buttons3 : "",
									theme_advanced_buttons4 : "",
									
									theme_advanced_toolbar_location : "top",
									theme_advanced_toolbar_align : "left",
									theme_advanced_statusbar_location : "bottom",
								//	theme_advanced_statusbar_location : false,
									theme_advanced_resizing : true,
									//theme_advanced_min_height : 300
									
									// Example content CSS (should be your site CSS)
									content_css : "http://www.schiffsreisen.de/Libs/JS/TinyMCE/Layout/css/content.css"
									
									// Drop lists for link/image/media/template dialogs
									// template_external_list_url : "http://ronny.linuxubuntu/nees/schiffsreisen.de/Libs/JS/TinyMCE/Layout/lists/template_list.js",
									// external_link_list_url : "http://ronny.linuxubuntu/nees/schiffsreisen.de/Libs/JS/TinyMCE/Layout/lists/link_list.js",
									// external_image_list_url : "http://ronny.linuxubuntu/nees/schiffsreisen.de/Libs/JS/TinyMCE/Layout/lists/image_list.js",
									// media_external_list_url : "http://ronny.linuxubuntu/nees/schiffsreisen.de/Libs/JS/TinyMCE/Layout/lists/media_list.js",
									
									// Replace values for the template plugin
									// template_replace_values : {
									// 	username : "SR User",
									// 	staffid : "991234"
									// }
								});	
								/**/					
							});
									
							//INIT Default - WYSIWYG-Editor - NicEditor
								 $('#'+DivID+' .NicEdit').each(function(){
									 arrNicEditor[DivID+'_'+$(this).attr('id')] = new nicEditor({fullPanel : true}).panelInstance($(this).attr('id'));
                                     
								  });
								 
							//INIT default Button	
								 $('#'+DivID+' .Button').each(function(){$(this).button();});
								 
	
							//INIT Default - WYSIWYG-Editor - CKEditor
								 $('#'+DivID+' .CKEdit').each(function(){
							          if(document.getElementById($(this).attr('id'))) {
							        	  arrCKEditor[DivID+'_'+$(this).attr('id')] = CKEDITOR.editor.replace( 	$(this).attr('id') , { skin : 'office2003'});
							          }
								  });
								 
	
							//INIT Default - JQuery Datepicker
								 $('#'+DivID+' .Datepicker').each(function(){
							         $('#'+DivID+' #'+$(this).attr('id')).datepicker({ dateFormat: 'dd.mm.yy',  monthNamesShort: ['Jan','Feb','März','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'], firstDay: 1, dayNamesMin: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], changeYear: true, changeMonth: true, yearRange: '+0:+5' });
								  });
								  
								if(	bResizable &&  typeof(Get_Cookie) == "function" &&  typeof(Set_Cookie) == "function"){ 
									if ( Get_Cookie( 'CP_'+DivID+'SettingHeight' ) ){
										$("#"+DivID).height(Get_Cookie('CP_'+DivID+'SettingHeight'));
									}								 
									if ( Get_Cookie( 'CP_'+DivID+'SettingWidth' ) ){
									var CP_SettingWidth = Get_Cookie('CP_'+DivID+'SettingWidth');
										if(DivID == 'OverlayAX') $("#"+DivID).css("margin-left", "-"+(CP_SettingWidth / 2)+"px");
										$("#"+DivID).css("width", "-"+(CP_SettingWidth)+"px");								
									}
									$("#"+DivID).resizable( "destroy" );
									$("#"+DivID).resizable({
										resize: function() {
											Set_Cookie( 'CP_'+DivID+'SettingHeight', $("#"+DivID).height(), '', '/', '', '' );											
											Set_Cookie( 'CP_'+DivID+'SettingWidth', $("#"+DivID).width(), '', '/', '', '' );
											var CP_SettingWidth = $("#"+DivID).width();
											if(DivID == 'OverlayAX') $("#"+DivID).css("margin-left", "-"+(CP_SettingWidth / 2)+"px");
											$("#"+DivID).css("width", "-"+(CP_SettingWidth)+"px");	
										}
									});
								}
								
							return true;
							
							
					    	//var jsCode = '';
		   					//jsCode = GetJavaScriptCode(ContentResult);
							//Script im Ajax wird ignoriert
					    	//alert(jsCode);
							//alert(arrJSCode[i]);
							//INIT JS deb2 after Queue
							/*
				    		if(jsCode != ''){
								 if(document.all){
									// alert('IE');
									 var ss = document.createElement('script');
									 var scr = jsCode.split("&amp;").join("&");
									 ss.text = scr;
									 var hh = document.getElementsByTagName('head')[0];
									 hh.appendChild(ss);
								 } else {
									 //alert('!IE');
									 var ss = document.createElement('script');
									 var scr = jsCode.split("&amp;").join("&");
									 var tt = document.createTextNode(scr);
									 ss.appendChild(tt);
									 var hh = document.getElementsByTagName('head')[0];
									 hh.appendChild(ss);
								 }
				    		}
				    		*/
				      }


				}
			);
			
			//alert(Content);
			/**/
			
			//$('#'+DivID).load(Url);
		}else {
			//err... no current div
			//alter("err("+DivID+", "+Url+", "+Location+")");
		}
		return true;
	}
//ENDE ajax_transition
	
	
	function StyleAX(Type, DivID, setPos, bImg){
		if(setPos == 'Full')  var bFullScreen = '1';
		if(Type == 'Queue'){
		//START - aktuellen Div abdunkeln.... Queue
			$('#'+DivID).removeClass().addClass("msgQueue");
			if(DivID && setPos){
				StyleAXShow(DivID, setPos);

				if(setPos == 'Full') {
					$('#'+DivID).before('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:fixed;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
				} else if(setPos == 'BottomRight') {
					$('#'+DivID).html('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div></div>');
				}
			}else if(DivID == 'action_ax') {			//only Kreuzfahrten.de
				ActionAXShow(bFullScreen);
				if(bFullScreen == '1') {
					$('#'+DivID).before('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:fixed;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
				} else {
					$('#'+DivID).html('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div></div>');
				}
			}else if(DivID == 'preis_liste_ax') {
				$('#'+DivID).before('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:absolute;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Preise werden aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
			} else if(bImg != 'none'){
				$('#'+DivID).before('<div id="'+DivID+'IMGQueue" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:absolute;"><div id="msg_info"><img src="/Image/Ajax/Queue.gif" border="0" ></div>');
			}
		//ENDE  - aktuellen Div abdunkeln.... Queue
		}else if(Type == 'Load'){	
		//START - aktuellen Div abdunkeln.... Load
			$('#'+DivID).removeClass().addClass("msgLoad");
			$('#'+DivID+'IMGQueue').remove();
			if(DivID && setPos){
				StyleAXShow(DivID, setPos);
				if(setPos == 'Full') {
					$('#'+DivID).before('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:fixed;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
				} else if(setPos == 'BottomRight'){
					$('#'+DivID).html('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div></div>');
				}
			} else if(DivID == 'OverlayAX'){
				$('#'+DivID+'Background').show('');
				$('#'+DivID).show('slow');
				
				$('#'+DivID).html('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:absolute;"><div id="msg_info"><img src="/Image/Ajax/Load.gif" border="0" ></div></div>');
			} else if(DivID == 'action_ax') {			//old - only kreuzfahrten.de
				ActionAXShow(bFullScreen);
				if(bFullScreen == '1') {
					$('#'+DivID).before('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:fixed;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
				} else {
					$('#'+DivID).html('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Seite aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div></div>');
				}
			}else if(DivID == 'preis_liste_ax') {
				$('#'+DivID).before('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:absolute;"><div id="msg_info"><img id="preise_wait_img1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"> Preise werden aktualisiert. <img id="preise_wait_img1_1" src="/Image/Ajax/Load.gif" border="0" style="margin-top:2px;"></div><img style="margin-top:10px;" src="/Image/Ajax/LoadBig.gif" border="0"></div>');
			} else if(bImg != 'none') {
				$('#'+DivID).before('<div id="'+DivID+'IMGLoad" style="height:'+$('#'+DivID).height()+'px;width:'+$('#'+DivID).width()+'px;text-align: center;position:absolute;"><div id="msg_info"><img src="/Image/Ajax/Load.gif" border="0" ></div></div>');
			}
		//ENDE - aktuellen Div abdunkeln.... Load
		}else {		//Hide
			
		}
	}
    
    function StyleAXShow(DivID, setPos) {
    	if(setPos == 'Full') {
    		
			$("#"+DivID).height("100%");
			$("#"+DivID).width("100%");
			
			$("#"+DivID).css("top", "0px");
			$("#"+DivID).css("left", "0px");
			$("#"+DivID).css("margin-top", "0px");
			$("#"+DivID).css("margin-left", "0px");
			
			$("#"+DivID).css("filter", "alpha(opacity=30)");
			$("#"+DivID).css("-moz-opacity", "0.3");
			$("#"+DivID).css("opacity", "0.3");

			$("#"+DivID).animate({backgroundColor: "#eeeeee", color: "#007abb" }, "slow");
			
			/*
    		$("#"+DivID).animate({ 	height: "100%",
    								width: "100%",
    								top: "0px",
    								left: "0px", 
    								filter: "alpha(opacity=30)",
    								opacity: "0.3"  }, "slow");
    		$("#"+DivID).animate({backgroundColor: "#eeeeee", color: "#007abb" }, "slow");*/
			
    	} else if(setPos == 'BottomRight'){
			$("#"+DivID).height("23px");
			$("#"+DivID).width("400px");
			$("#"+DivID).css("margin-top", "-23px");
			$("#"+DivID).css("margin-left", "-400px");
			$("#"+DivID).css("top", "100%");
			$("#"+DivID).css("left", "100%");
			
			$("#"+DivID).css("filter", "alpha(opacity=70)");
			$("#"+DivID).css("-moz-opacity", "0.7");
			$("#"+DivID).css("opacity", "0.7");
    	}
    	return false;
    }
    
    function StyleAXHide(DivID, setPos) {
    	if($("#"+DivID) && setPos) {
			$("#"+DivID).height("1px");
			$("#"+DivID).width("1px");
			$("#"+DivID).css("top", "100%");
			$("#"+DivID).css("left", "100%");
			$("#"+DivID).css("margin-top", "0px");
			$("#"+DivID).css("margin-left", "0px");
    	}
    	return false;
    }
    
 


