

// JAVASCRIPT JUST 4 MENU NOT MORE
$(function(){
	
	var randomnumber=Math.floor(Math.random()*65000)
	
	$('#konstruktion').click(function(){
        document.location.href = LINK.rlink + 'Construction';
    });
	
    $('#produkte').click(function(){
        document.location.href = LINK.rlink + 'Products/'+randomnumber+'/parent/turn/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'';
    });
	
		$('#lefterfirst').click(function(){
        	document.location.href = LINK.rlink + 'Products/'+randomnumber+'/parent/turn/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'';
    	});
		$('#lefter').click(function(){
			
        	document.location.href = LINK.rlink + 'Milling/'+randomnumber+'/parent/mill/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'';
    	});
		$('#lefter2').click(function(){
        	document.location.href = LINK.rlink + 'Products/Grind/parent/grind/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'/' + randomnumber;
    	});
		$('#lefter3').click(function(){
        	document.location.href = LINK.rlink + 'Products/Equipment#1';
    	});

	
    $('#service').click(function(){
        document.location.href = LINK.rlink + 'Service#1';
    });
	
    $('#produktion').click(function(){
        document.location.href = LINK.rlink + 'Production';
    });
	
    $('#ibag').click(function(){
        document.location.href = LINK.rlink + 'Ibag#1';
    });
	
    $('#news').click(function(){
        document.location.href = LINK.rlink + 'News';
    });
	
    $('#download').click(function(){
        document.location.href = LINK.rlink + 'Downloads';
    });
	
    $('#logolnk').click(function(){
        document.location.href = BOOT.base;
    });
    $('#standorte').click(function(){
        document.location.href = LINK.rlink + 'Locations';
    });

	$('.link-to-production-1').click(function(){
        document.location.href = LINK.rlink + 'Products/'+randomnumber+'/parent/turn/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'';
    });
	
	$('.link-to-production-2').click(function(){
        document.location.href = LINK.rlink + 'Milling/'+randomnumber+'/parent/mill/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'';
    });

	$('.link-to-production-3').click(function(){
        document.location.href = LINK.rlink + 'Products/Grind/parent/grind/kat/1/page/1/f/'+LINK.f+'/c/Max.-'+LINK.c+'/w/W/n/Ncm/y/S/s/U/sp/'+LINK.sp+'%20MEGA/ca/'+LINK.ca+'/' + randomnumber;
    });
	$('.link-to-production-4').click(function(){
        document.location.href = LINK.rlink + 'Products/Equipment#4';
    });


});	
