(function($){
    //Resize image on ready or resize
    $.fn.supersize = function() {   
        //Invoke the resizenow() function on document ready
        $(document).ready(function() {
            $('#hintergrund').resizenow(); 
        });
        //Invoke the resizenow() function on browser resize
        $(window).bind("resize", function() {
            $('#hintergrund').resizenow(); 
        });
    };
    //Adjust image size
    $.fn.resizenow = function() {
        //Define starting width and height values for the original image
        var startwidth = 1361;  
        var startheight = 1021;
        //Define image ratio
        var ratio = startheight/startwidth;
        //Gather browser dimensions
        var browserwidth = $(window).width();
        var browserheight = $(window).height();
        //Resize image to proper ratio
        if ((browserheight/browserwidth) > ratio) {
            $(this).height(browserheight);
            $(this).width(browserheight / ratio);
            $(this).children().height(browserheight);
            $(this).children().width(browserheight / ratio);
        } else {
            $(this).width(browserwidth);
            $(this).height(browserwidth * ratio);
            $(this).children().width(browserwidth);
            $(this).children().height(browserwidth * ratio);
        }
        //Make sure the image stays center in the window
        $(this).children().css('left', (browserwidth - $(this).width())/2);
        $(this).children().css('top', (browserheight - $(this).height())/2);
    };
})(jQuery);

// JavaScript Document

function init () { 

    Weite = Fensterweite();
    Hoehe = Fensterhoehe();
	Leftwidth = 0;
	
	var w2,h2,h3,hoffset,woffset;
	var xs,ys,s;
/*
	if(Weite <= 1361 && Hoehe <= 1021) {
	// zoom
    
		xs = Weite/1361; 
		ys = Hoehe/1021;
	
		if(xs > ys)	{ s = xs; } else { s = ys;}
	
		w2 = 1361 * s;	
		h2 = 1021 * s;
		
		hoffset = Math.ceil((h2 - Hoehe) / 2);
	    woffset = Math.ceil((w2 - Weite) / 2);
		
		w2 = Math.ceil(w2);
		h2 = Math.ceil(h2);	
		
	//	alert('smaler' + Weite + ' ' + w2 + ' ' + woffset + ' ' + Hoehe + ' ' + h2 + ' ' + hoffset);	
		
		document.getElementById("hintergrund").width  = w2 + 'px';
	    document.getElementById("hintergrund").height = h2 + 'px';
	
		document.getElementById('hintergrund').style.top = -hoffset + 'px';
		document.getElementById('hintergrund').style.left = -woffset + 'px';	
	
		$('.bgimg').width(w2);
		$('.bgimg').height(h2);
	//	alert('hallo');

	}
	if(Weite > 1361 || Hoehe > 1021) {
    	hoffset = woffset = 0;
	    xs = Weite/1361; 
		ys = Hoehe/1021;
	
		if(xs > ys)	{ s = xs; } else { s = ys;}
	
		w2 = 1361 * s;	
		h2 = 1021 * s;	
	
	    hoffset = (h2-Hoehe) / 2;
	    woffset = (w2-Weite) / 2;
		alert('bigger');	
	
		document.getElementById("hintergrund").width  = w2;
	    document.getElementById("hintergrund").height = h2;
		
	    document.getElementById('hintergrund').style.top = -hoffset + 'px';
		document.getElementById('hintergrund').style.left = -woffset + 'px';	
	
	//	document.write("Weite: " + Weite + " Höhe: " + Hoehe + " w2: " + w2 + " h2: " + h2 + " xs: " + xs + " ys: " + ys);
	}
	
	*/

/* document.getElementById('leftDiv').style.width  = ( ((Weite-800)/2) - (((Weite-800)/2)%50) ) + 'px'; */
 
 Leftwidth = (Weite-800)/2; 
// document.getElementById('leftDiv').style.width  =  (Weite-800)/2  + 'px';
 document.getElementById('leftDiv').style.width  =  Math.ceil((Weite-800)/2 + 600)  + 'px';
 document.getElementById('rightDiv').style.width  = Math.ceil((Weite-800)/2 + 624)  + 'px'; 
 
 hideAllBut('');
 fadeItBack();
}

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function neuAufbau () {
  if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
  //  location.href = location.href;
  init();
}

<!--
/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe(); 
}
//-->

/* Überwachung von Internet Explorer initialisieren */
if (!window.Weite && document.body && document.body.offsetWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
  Hoehe = Fensterhoehe();
}

// SpryStuff
function MM_effectBlind(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

function MM_effectSlide(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter)
{
	Spry.Effect.DoGrow(targetElement, {duration: duration, from: from, to: to, toggle: toggle, referHeight: referHeight, growCenter: growFromCenter});
}

function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

function showRightArrow(){
  MM_changeProp('scrollRight3','','visibility','visible','DIV');
}

function hideRightArrow(){
  MM_changeProp('scrollRight3','','visibility','hidden','DIV');
}

function showLeftArrow(){
  MM_changeProp('scrollLeft2','','visibility','visible','DIV');
}

function hideLeftArrow(){
  MM_changeProp('scrollLeft2','','visibility','hidden','DIV');
}

function hoverNum(n){
   if(n == 1) MM_changeProp('oneHover','','height','1px','DIV'); else MM_changeProp('oneHover','','height','10px','DIV');
   if(n == 2) MM_changeProp('twoHover','','height','1px','DIV'); else MM_changeProp('twoHover','','height','10px','DIV');
   if(n == 3) MM_changeProp('threeHover','','height','1px','DIV'); else MM_changeProp('threeHover','','height','10px','DIV');
   if(n == 4) MM_changeProp('fourHover','','height','1px','DIV'); else MM_changeProp('fourHover','','height','10px','DIV');
   if(n == 5) MM_changeProp('fiveHover','','height','1px','DIV'); else MM_changeProp('fiveHover','','height','10px','DIV');
   if(n == 6) MM_changeProp('sixHover','','height','1px','DIV'); else MM_changeProp('sixHover','','height','10px','DIV');
   if(n == 7) MM_changeProp('sevenHover','','height','1px','DIV'); else MM_changeProp('sevenHover','','height','10px','DIV');
   if(n == 75) MM_changeProp('sevenhalfHover','','height','1px','DIV'); else MM_changeProp('sevenhalfHover','','height','10px','DIV'); 
}

function fadeItBack(){

  lastMenu = '';

    MM_changeProp('whatwedoDiv','','visibility','hidden','DIV');
    MM_changeProp('content3','','visibility','hidden','DIV');
	MM_changeProp('scrollRight','','visibility','hidden','DIV');
	MM_changeProp('scrollLeft','','visibility','hidden','DIV');	
	
	MM_changeProp('scrollRight2','','visibility','hidden','DIV');
		
	MM_changeProp('content','','left','-2000px','DIV');
	MM_changeProp('content','','top','-2000px','DIV');		
	MM_changeProp('contentbg','','left','4000px','DIV');
	MM_changeProp('contentbg','','top','4000px','DIV');			
		
	Spry.Effect.DoGrow('schieberHorz', {duration: 1000, from: '100%', to: '624px', toggle: false, referHeight: false, growCenter: false, finish: function() {
		Spry.Effect.DoBlind('schieberVert', {duration: 1000, from: '100%', to: '377px', toggle: false, finish: function() {					
		
		}})
		}})   
}


function hideAllBut(con){
	
	hideRightArrow();
	hideLeftArrow();
	
	
   if(con != 'contentWhatWeThink1') MM_changeProp('contentWhatWeThink1','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink2') MM_changeProp('contentWhatWeThink2','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink3') MM_changeProp('contentWhatWeThink3','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink4') MM_changeProp('contentWhatWeThink4','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink5') MM_changeProp('contentWhatWeThink5','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink6') MM_changeProp('contentWhatWeThink6','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink7') MM_changeProp('contentWhatWeThink7','','visibility','hidden','DIV');
   if(con != 'contentWhatWeThink7_5') MM_changeProp('contentWhatWeThink7_5','','visibility','hidden','DIV');
                                  
   if(con != 'contentWhoWeAre') MM_changeProp('contentWhoWeAre','','visibility','hidden','DIV');                                 
   if(con != 'contentOurNetwork') MM_changeProp('contentOurNetwork','','visibility','hidden','DIV');                                 
   if(con != 'contentWhatWeDid') MM_changeProp('contentWhatWeDid','','visibility','hidden','DIV');                                 
   if(con != 'contentContactUs') MM_changeProp('contentContactUs','','visibility','hidden','DIV');                                 
   if(con != 'contentRezepte') MM_changeProp('contentRezepte','','visibility','hidden','DIV');                                 
   if(con != 'contentWhereWeAre') MM_changeProp('contentWhereWeAre','','visibility','hidden','DIV');    
   
   if(con != 'contentCarusel') MM_changeProp('contentCarusel','','visibility','hidden','DIV'); 
	   
   
   if(con != 'whatwedoDiv') MM_changeProp('whatwedoDiv','','visibility','hidden','DIV');
   if(con != 'content3') MM_changeProp('content3','','visibility','hidden','DIV');
   if(con != 'scrollRight') MM_changeProp('scrollRight','','visibility','hidden','DIV');
   if(con != 'scrollLeft') MM_changeProp('scrollLeft','','visibility','hidden','DIV');		
   if(con != 'scrollRight2') MM_changeProp('scrollRight2','','visibility','hidden','DIV');                          
}

function fadeBgOut(){
  Spry.Effect.DoFade('contentbg',{ duration: 250, from: 80, to: 0});
}

function fadeBgIn(v){
  Spry.Effect.DoFade('contentbg',{ duration: 250, from: v, to: 80});

}

function fadeContentOut(c){
  Spry.Effect.DoFade(c,{ duration: 250, from: 100, to: 0, finish: function() {
     MM_changeProp(c,'','visibility','hidden','DIV');
  }});
}

function fadeContentIn(c){
  lastContent = c;
  MM_changeProp(c,'','visibility','visible','DIV');
  Spry.Effect.DoFade(lastContent,{ duration: 250, from: 0, to: 100});
}

function changeSize(d,l,t,w,h) {
	MM_changeProp(d,'','left',l,'DIV');
	MM_changeProp(d,'','top',t,'DIV');			
	MM_changeProp(d,'','width',w,'DIV');			
	MM_changeProp(d,'','height',h,'DIV');	   
}

function fadeItWhatwethink(con){
    
    hideAllBut(lastContent);   
    leftPos = Math.ceil((Weite-800)/2 + 25)  + 'px';
    topPos = Math.ceil((Hoehe-600)/2 + 137)  + 'px';
	
	if(lastMenu != 'think') {			
     	fadeBgOut();	
	}
	
	if((lastMenu != 'think') && (lastMenu != 'whoweare') && (lastMenu != '' )) { dur = 1000; } else { dur = 10; } 
	
	
 if(con != lastContent) {	
	fadeContentOut(lastContent);
	
		    Spry.Effect.DoGrow('schieberHorz', {duration: dur, from: '100%', to: '624px', toggle: false, referHeight: false, growCenter: false, finish: function() {
        	Spry.Effect.DoBlind('schieberVert', {duration: dur, from: '100%', to: '377px', toggle: false, finish: function() {
												      				
				changeSize(con,leftPos,topPos,'376px','220px');
				changeSize('contentbg',leftPos,topPos,'376px','376px');
											
			     if(lastMenu != 'think') {	fadeBgIn(0); } else { fadeBgIn(80); }
			 
			     fadeContentIn(con);
				 
				 var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });
				
			}});
			}});
		
		 lastMenu = 'think';
 }			
}

function fadeItWhoweare(con){

if(con != lastContent) {
    hideAllBut(lastContent);
  	
	leftPos = Math.ceil((Weite-800)/2 + 375)  + 'px';
    topPos = Math.ceil((Hoehe-600)/2 + 88)  + 'px';	
	
	fadeBgOut();
	if((lastMenu != 'think') && (lastMenu != 'whoweare') && (lastMenu != '' )) { dur = 1000; } else { dur = 10; } 
	
	fadeContentOut(lastContent);
		
	  Spry.Effect.DoGrow('schieberHorz', {duration: dur, from: '100%', to: '624px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: dur, from: '100%', to: '377px', toggle: false, finish: function() {			
			changeSize(con,leftPos,topPos,'326px','425px');
			changeSize('contentbg',leftPos,topPos,'326px','425px');									      		    
			fadeBgIn(0);			
			fadeContentIn(con);
			
			 var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });
				 											
		}});
	   }});
	   lastMenu = 'whoweare';	
  }       
}

function fadeItOurnetwork(con){
 if(con != lastContent) {    
    hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);	
	
	leftPos = Math.ceil((Weite-800)/2 + 101)  + 'px';
    topPos = Math.ceil((Hoehe-600)/2 + 88)  + 'px';
	
	Spry.Effect.DoGrow('schieberHorz', {duration: 1000, from: '100%', to: '24px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: 1000, from: '100%', to: '377px', toggle: false, finish: function() {
								      
		    changeSize(con,leftPos,topPos,'324px','425px');
		    changeSize('contentbg',leftPos,topPos,'324px','425px');
			
			fadeBgIn(0);			
			fadeContentIn(con);		
			
			var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });								
	
	  }});
	}});
				        
 lastMenu = 'network';
 }
}

function fadeItWhatwedid(con){
 if(con != lastContent) {   
    hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);
	  		    
	
	Spry.Effect.DoGrow('schieberHorz', {duration: 1000, from: '100%', to: '1224px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: 1000, from: '100%', to: '0%', toggle: false, finish: function() {
								
				      
		    leftPos = Math.ceil((Weite-800)/2 - 127 - 5)  + 'px';
			leftPos2 = Math.ceil((Weite-800)/2 + 25)  + 'px';
			leftPos3 = Math.ceil((Weite-800)/2 + 675 + 14 + 58 )  + 'px';						
			leftPos5 = Math.ceil((Weite-800)/2 + -124 - 5)  + 'px';									
		    topPos = Math.ceil((Hoehe-600)/2 + 136 - 0)  + 'px';
			
			if( Math.ceil((Weite-800)/2 - 132) < 0 ) 
   			     leftPos4 = 0 + 'px';
		    else leftPos4 = Math.ceil((Weite-800)/2 - 132) + 'px';
						   		    
			changeSize(con,leftPos5,topPos,'872px','1000px');
			changeSize('contentbg',leftPos,topPos,'905px','1000px');
												 	   
										
  		    MM_changeProp('scrollRight','','left',leftPos3,'DIV');
			MM_changeProp('scrollRight','','top',topPos,'DIV');
			
		    MM_changeProp('scrollRight2','','left',leftPos3,'DIV');
			MM_changeProp('scrollRight2','','top',topPos,'DIV');
			
			MM_changeProp('scrollLeft','','left',leftPos4,'DIV');
			MM_changeProp('scrollLeft','','top',topPos,'DIV');
					
			MM_changeProp('scrollRight','','visibility','visible','DIV');
			MM_changeProp('scrollRight2','','visibility','visible','DIV');									
			MM_changeProp('scrollLeft','','visibility','visible','DIV');						

			Spry.Effect.DoFade('scrollRight',{ duration: 250, from: 0, to: 80 });
			Spry.Effect.DoFade('scrollRight2',{ duration: 250, from: 0, to: 80 });			
			Spry.Effect.DoFade('scrollLeft',{ duration: 250, from: 0, to: 80 });				
			fadeBgIn(0);			
			fadeContentIn(con);	
			
			showRightArrow();
			showLeftArrow();
			
			var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });					
		}}); 
	}});
						
 lastMenu = 'did';
 }
}

function fadeItWhatwedo(con){
 if(con != lastContent) {   
   hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);
	  		
	if((lastMenu != 'where')) { dur = 1000; } else { dur = 10; } 
	
	Spry.Effect.DoGrow('schieberHorz', {duration: dur, from: '100%', to: '624px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: dur, from: '100%', to: '0%', toggle: false, finish: function() {
				      
		    leftPos = Math.ceil((Weite-800)/2 + 176)  + 'px';
			leftPosC = Math.ceil((Weite-800)/2 + 176 + 232)  + 'px';
		    topPos  = Math.ceil((Hoehe-600)/2 + 80 - 0)  + 'px';
		    topPos2 = Math.ceil((Hoehe-600)/2 + 80 - 0 + 120)  + 'px';
			topPosC = Math.ceil((Hoehe-600)/2 + 80 - 0 + 120 - 20)  + 'px';
		/*	
		    MM_changeProp('whatwedoDiv','','left',leftPos,'DIV');
			MM_changeProp('whatwedoDiv','','top',topPos2,'DIV');			
			MM_changeProp('content','','left','4000px','DIV');
			MM_changeProp('content','','top',topPos2,'DIV');	
			MM_changeProp('content','','width','316px','DIV');			
			MM_changeProp('content','','height','400px','DIV');	
			MM_changeProp('contentbg','','left',leftPos,'DIV');
			MM_changeProp('contentbg','','top',topPos,'DIV');			
			MM_changeProp('contentbg','','width','316px','DIV');			
			MM_changeProp('contentbg','','height','520px','DIV');						
			*/
			
			MM_changeProp('scrollRight','','visibility','hidden','DIV');
			MM_changeProp('scrollRight2','','visibility','hidden','DIV');	
			MM_changeProp('scrollRight3','','visibility','hidden','DIV');													
			MM_changeProp('scrollLeft','','visibility','hidden','DIV');				
			
			
			changeSize(con,leftPos,topPos2,'316px','408px');
			changeSize('contentbg',leftPos,topPos,'316px','528px');
			
			fadeBgIn(0);			
			fadeContentIn(con);			
			
			changeSize('contentCarusel',leftPosC,topPosC,'178px','40px');		
			MM_changeProp('contentCarusel','','visibility','visible','DIV');
			Spry.Effect.DoFade('contentCarusel',{ duration: 250, from: 0, to: 100});
				
			
			var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php',{ 'uritoload': WB_URL+'/pages/'+lang+'/'+file } , function() {
  					//alert('Load was performed.');
				 });			
		
		}});
		}});
				 
 lastMenu = 'do';
 } 
}

function fadeItRezepte(con){   
 if(con != lastContent) {
     hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);
		 		
	
	Spry.Effect.DoGrow('schieberHorz', {duration: 1000, from: '100%', to: '375px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: 1000, from: '100%', to: '0%', toggle: false, finish: function() {
			
		    leftPos = Math.ceil((Weite-800)/2 + 101)  + 'px';
		    topPos = Math.ceil((Hoehe-600)/2 + 81 - 1)  + 'px';
			topPos2 = Math.ceil((Hoehe-600)/2 + 80 - 1 + 120)  + 'px';
			
			changeSize(con,leftPos,topPos2,'601px','370px');
			changeSize('contentbg',leftPos,topPos,'601px','490px');
										
			fadeBgIn(0);			
			fadeContentIn(con);
			
			var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });
		}});
	}});
				 
  lastMenu = 'rezepte';
  }
}

function fadeItWhereweare(con){
 if(con != lastContent) {      
     hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);
	
	if((lastMenu != 'do')) { dur = 1000; } else { dur = 10; } 
				  			
	Spry.Effect.DoGrow('schieberHorz', {duration: dur, from: '100%', to: '624px', toggle: false, referHeight: false, growCenter: false, finish: function() {
    	Spry.Effect.DoBlind('schieberVert', {duration: dur, from: '100%', to: '0%', toggle: false, finish: function() {
												      
		    leftPos = Math.ceil((Weite-800)/2 + 450)  + 'px';
		    topPos = Math.ceil((Hoehe-600)/2 + 80 - 0)  + 'px';
			
			changeSize(con,leftPos,topPos,'276px','276px');
			changeSize('contentbg',leftPos,topPos,'276px','276px');
									
			fadeBgIn(0);			
			fadeContentIn(con);	
			
			 var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });
	  }});
	}});
				 
 lastMenu = 'where';
 }
}



function fadeItContact(con){
 if(con != lastContent) {
    hideAllBut(lastContent);	    
		
	fadeBgOut();
	fadeContentOut(lastContent);
	  		
	
	Spry.Effect.DoGrow('schieberHorz', {duration: 1000, from: '100%', to: '524px', toggle: false, referHeight: false, growCenter: false, finish: function() {
		Spry.Effect.DoBlind('schieberVert', {duration: 1000, from: '100%', to: '0%', toggle: false, finish: function() {
		    leftPos = Math.ceil((Weite-800)/2 + 626)  + 'px';
		    topPos = Math.ceil((Hoehe-600)/2 + 81 - 1)  + 'px';
			
			changeSize(con,leftPos,topPos,'226px','296px');
			changeSize('contentbg',leftPos,topPos,'226px','296px');
									
			fadeBgIn(0);			
			fadeContentIn(con);	
			
			 var file = con.toLowerCase();
				 $('#'+con).load(WB_URL+'/pages/'+lang+'/'+file+'.php', function() {
  					//alert('Load was performed.');
				 });
									
		}});
	}});
				
   lastMenu = 'contact';
 }   
}

