function linkBuilder(){
				
				jQuery('a').each(function(){
					//alert(jQuery(this).attr('href'));
					var temp = jQuery(this).attr('href');
					//alert(temp);
					jQuery(this).css({"cursor": "pointer"});
					// Linkmanipulation soll nur angewendet werden, wenn es ein interner Link ist	
					if(jQuery(this).attr('target')!='_blank' && jQuery(this).attr('target')!='_parent' && !jQuery(this).hasClass("linksOk")  && !jQuery(this).hasClass("contactaddress")){
						jQuery(this).click(function(){
							//alert();
							jQuery('#values-target').load(temp+' #values',function(){
								
								
								jQuery('#contentboxsource').fadeOut(700,function(){
									
									moveWrapper();
									moveNavigation();
									
									jQuery('#contentboxsource').load(temp+' #content',function(){
										linkBuilder();
										setDimensions();
										jQuery(".mailaddress").yasp();
										jQuery('#contentboxsource').fadeIn(700);
										checkNaviStatus();
										
									});	
								});
							});
							
						
						});
						jQuery(this).removeAttr('href');
						jQuery(this).addClass("linksOk");
					}
					
				});							
			}
			
			function replaceIE6Elements(){
					//jQuery("#imgforwardlink").empty().appent('<img src="images/Pfeile-links-60.gif" alt="Zurück" width="60" height="52" id="imgbacklink" \/>');			
				if(jQuery.browser.msie){
					
					if(parseInt(jQuery.browser.version)=='6'){
						
					}
				}
				
			}
			
			function setDimensions(){
				jQuery('#contentboxwrapper').animate({
					'height':parseInt(jQuery('#ContentHeight').html())+'px',
					'width':parseInt(jQuery('#ContentWidth').html())+'px'
				},1000);
				
				jQuery('#contentboxsource').css({
					'height':parseInt(jQuery('#ContentHeight').html())+'px'
				});
				
				jQuery('#textbox').css({
					'height':(parseInt(jQuery('#ContentHeight').html())-92)+'px',
					'width':(parseInt(jQuery('#ContentWidth').html())-40)+'px',
					'overflow-y':'auto'
				});
				
				jQuery('#content').css({
					'width':parseInt(jQuery('#ContentWidth').html())+'px'
				});
				
				jQuery('#navigation-content').animate({
					'left':((parseInt(jQuery('#ContentWidth').html()))+19+(parseInt(jQuery('#posContentLeft').html())))+'px'
				},1000);
			
			}

			
			function moveNavigation(){
				jQuery('#navigationboxsource').animate({
					
					
				},1000);
			
			}
			
			function moveWrapper(){
				var topContent = parseInt(jQuery('#posContentTop').html());
				var hoeheContent = parseInt(jQuery('#ContentHeight').html());
				var topPositionNavibox = topContent + ( hoeheContent / 2) - 50;
				
				jQuery('#content-target').animate({
					'top':jQuery('#posContentTop').html()+'px',
					'left':jQuery('#posContentLeft').html()+'px'
				},1000);
				
				jQuery('#navigationbox-target').animate({
					'top':topPositionNavibox+'px'
				},1000);
				
				jQuery('#message').text(topContent+' - ' + hoeheContent +' - ' +topPositionNavibox);
			}
			
			function checkNaviStatus(){
				jQuery('#navigation li').each(function(){
					if(this.id == jQuery('#ident').html()){
						jQuery(this).addClass('active');
						//alert(this.id);
					}else{
						jQuery(this).removeClass('active');
					}
					
				})
			}