window.addEvent('domready', function() {
var activeId="";

runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;

var active=0;
$("navigation").style.backgroundImage="url(images/navigation.jpg)";


$("p1").setOpacity(0);
$("p2").setOpacity(0);
$("frame1").setOpacity(0);
$("frame2").setOpacity(0);
if(window.ie6){
$("white").remove();
$("white2").remove();
}else{
$("white").setOpacity(0);
$("white2").setOpacity(0);
}

var fx1 =$("frame1").effects({duration:3000, transition: Fx.Transitions.Quart.easeOut});	
var fx2 =$("frame2").effects({duration:3000, transition: Fx.Transitions.Quart.easeOut});	
var fx3 =$("frame1").effects({duration:1600, transition: Fx.Transitions.Quint.easeOut}).addEvent("onComplete", function(){
    showPointer();});		
var fx4 =$("frame2").effects({duration:1600, transition: Fx.Transitions.Quint.easeOut});		

var fx5 =$("frame2").effects({duration:1000, transition: Fx.Transitions.Quint.easeOut}).addEvent("onComplete", function(){
    tagCloud1();});		
var fx6 =$("frame2Pic").effects({duration:1000, transition: Fx.Transitions.Quint.easeOut});

var fx7 =$("frame1").effects({duration:1000, transition: Fx.Transitions.Quint.easeOut}).addEvent("onComplete", function(){
    tagCloud2();});		
var fx8 =$("frame1Pic").effects({duration:1000, transition: Fx.Transitions.Quint.easeOut});

var fxpf1 =$("p1").effects({duration:3000, transition: Fx.Transitions.Quart.easeOut});	
var fxpf2 =$("p2").effects({duration:3000, transition: Fx.Transitions.Quart.easeOut});	


fx1.start.delay(1000,fx1,{
		"opacity":1
		});
fx2.start.delay(1000,fx2,{
		"opacity":1
		});
fx3.start.delay(2000,fx3,{
		"margin-left":0
		});		
fx4.start.delay(2000,fx4,{
		"margin-right":0
		});

function showPointer(){
	var fxp1 =$("p1").effects({duration:2000, transition: Fx.Transitions.Quart.easeOut});	
    var fxp2 =$("p2").effects({duration:2000, transition: Fx.Transitions.Quart.easeOut}).addEvent("onComplete", function(){
    activate();});
	fxp1.start({
		"opacity":1
		});
    fxp2.start({
		"opacity":1
		});
}

function activate(){
active=1;
}
$('btn_contact').addEvent('click', function(event) {
	event = new Event(event).stop();
      runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
   runFuncNews=0;
	if(active==1){
	//active=0;
	$("menu").style.backgroundImage="url(images/menu_contact.png)";
	$("navigation").style.backgroundImage="url(images/contact_de.jpg)";
	$("menu").style.width="481px";
	$("logo").style.width="479px";
	$("menu_contact").style.display="block";
	$("menu_useurope").style.display="none";
	$("menu_india").style.display="none";
	var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    lContent.loadContent("frags/frame1.html");
	var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/kontakt_de.php");
	$("nTicker").innerHTML="<div>&nbsp;</div>";
	
	$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#2d3333';
	$("btn_formular").style.fontWeight='900';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	

	
	}
	
});

$('btn_formular').addEvent('click', function(event) {
	event = new Event(event).stop();
   runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	//active=0;
	
	var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    lContent.loadContent("frags/frame1.html");
	var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/kontakt_de.php");
	$("nTicker").innerHTML="<div>&nbsp;</div>";
	
	$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#2d3333';
	$("btn_formular").style.fontWeight='900';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';

    
	
	}
	
});


$('btn_impressum').addEvent('click', function(event) {
	event = new Event(event).stop();
    runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	//active=0;
	var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    lContent.loadContent("frags/frame1.html");
	var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/impressum_de.php");
	$("nTicker").innerHTML="<div>&nbsp;</div>";
	
	$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#2d3333';
	$("btn_impressum").style.fontWeight='900';
	

	
	}
	
});


$('frame1').addEvent('click', function(event) {
	event = new Event(event).stop();
    runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
	$("menu").style.backgroundImage="url(images/menu_useurope.png)";
	$("navigation").style.backgroundImage="url(images/useuropa_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="block";
	$("menu_india").style.display="none";
	
	
	
	fx5.start.delay(500,fx5,{
		'opacity':0
		});
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	
	
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=US_Europa&lang=de");
    /* fx6.start.delay(500,fx6,{
		'width':50,
		'height':50,
		});*/
	
	$("btn_info").style.color= '#2d3333';
	$("btn_info").style.fontWeight='900';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
}

});

$('frame2').addEvent('click', function(event) {
	event = new Event(event).stop();
    runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
	$("menu").style.backgroundImage="url(images/menu_india.png)";
	$("navigation").style.backgroundImage="url(images/india_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="none";
	$("menu_india").style.display="block";
	
	
	
	fx7.start.delay(500,fx7,{
		'opacity':0
		});
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=Indien&lang=de");
    
	$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#2d3333';
	$("btn_infoInd").style.fontWeight='900';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
	}
	/*fx8.start.delay(500,fx8,{
		'width':50,
		'height':50,
		});*/

});

$('p1').addEvent('click', function(event) {
	event = new Event(event).stop();
    runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
	$("menu").style.backgroundImage="url(images/menu_useurope.png)";
	$("navigation").style.backgroundImage="url(images/useuropa_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="block";
	$("menu_india").style.display="none";
	
	
	
	fx5.start.delay(500,fx5,{
		'opacity':0
		});
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	
	
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=US_Europa&lang=de");
    /* fx6.start.delay(500,fx6,{
		'width':50,
		'height':50,
		});*/
	
	$("btn_info").style.color= '#2d3333';
	$("btn_info").style.fontWeight='900';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
}

});

$('p2').addEvent('click', function(event) {
	event = new Event(event).stop();
    runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
	$("menu").style.backgroundImage="url(images/menu_india.png)";
	$("navigation").style.backgroundImage="url(images/india_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="none";
	$("menu_india").style.display="block";
	
	
	
	fx7.start.delay(500,fx7,{
		'opacity':0
		});
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=Indien&lang=de");
    
	$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#2d3333';
	$("btn_infoInd").style.fontWeight='900';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
	}
	/*fx8.start.delay(500,fx8,{
		'width':50,
		'height':50,
		});*/

});

function tagCloud1(){
var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
rContent.loadContent("frags/cloud.php?kat=Info&lang=de&local=US_Europa");/*rContent.loadContent("frags/cloud.php?kat=Info&lang=de&local=US_Europa");*/
active=1;
}

function tagCloud2(){
var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
lContent.loadContent("frags/cloud2.php?kat=Info&lang=de&local=Indien");/*lContent.loadContent("frags/cloud2.php?kat=Info&lang=de&local=Indien");*/
active=1;
}

$('btn_useurope').addEvent('click', function(event) {
	event = new Event(event).stop();
     runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
		var rContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    rContent.loadContent("frags/frame1.html");
	
	$("menu").style.backgroundImage="url(images/menu_useurope.png)";
	$("navigation").style.backgroundImage="url(images/useuropa_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="block";
	$("menu_india").style.display="none";
	
	fx5.start.delay(500,fx5,{
		'opacity':0
		});
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	}
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=US_Europa&lang=de");
     
	$("btn_info").style.color= '#2d3333';
	$("btn_info").style.fontWeight='900';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	 
	
	 /*fx6.start.delay(500,fx6,{
		'width':50,
		'height':50,
		});*/

});

$('btn_india').addEvent('click', function(event) {
	event = new Event(event).stop();
     runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	if(active==1){
	active=0;
	var lContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    lContent.loadContent("frags/frame2.html");
	
	$("menu").style.backgroundImage="url(images/menu_india.png)";
	$("navigation").style.backgroundImage="url(images/india_de.jpg)";
	$("menu").style.width="480px";
	$("logo").style.width="480px";
	$("menu_contact").style.display="none";
	$("menu_useurope").style.display="none";
	$("menu_india").style.display="block";
	
	fx7.start.delay(500,fx7,{
		'opacity':0
		});
	
	fxpf1.start({
    'opacity':0 
	});
	fxpf2.start({
    'opacity':0 
	});
	}
	
	 var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
     newsC.loadContent("frags/news.php?local=Indien&lang=de");
	 
	 $("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#2d3333';
	$("btn_infoInd").style.fontWeight='900';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
	
     /*fx8.start.delay(500,fx8,{
		'width':50,
		'height':50,
		});*/

});

/*$('btn_lang').addEvent('click', function(event) {
	//event = new Event(event).stop();
	


});*/



$('btn_info').addEvent('click', function(event) {
event = new Event(event).stop();
runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
 
var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
rContent.loadContent("frags/cloud.php?kat=Info&lang=de&local=US_Europa");
var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
newsC.loadContent("frags/news.php?local=US_Europa&lang=de");


    $("btn_info").style.color= '#2d3333';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#2d3333';
	$("btn_infoInd").style.fontWeight='900';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	


});
$('btn_clients').addEvent('click', function(event) {
event = new Event(event).stop();
 runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	
	var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    lContent.loadContent("frags/frame1.html");
	var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/about_de.php");
	$("nTicker").innerHTML="<div>&nbsp;</div>";

    $("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#2d3333';
	$("btn_clients").style.fontWeight='900';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
	

});
$('btn_projects').addEvent('click', function(event) {
event = new Event(event).stop();
runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
rContent.loadContent("frags/cloud.php?kat=Projekte&lang=de&local=US_Europa");
$("nTicker").innerHTML="<div>&nbsp;</div>";

$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#2d3333';
	$("btn_projects").style.fontWeight='900';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	

});

$('btn_infoInd').addEvent('click', function(event) {
event = new Event(event).stop();
runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/frame2.html");     
var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
lContent.loadContent("frags/cloud2.php?kat=Info&lang=de&local=Indien");
var newsC = new Spry.Widget.HTMLPanel("nTicker",{evalScripts:true});
newsC.loadContent("frags/news.php?local=Indien&lang=de");

$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#2d3333';
	$("btn_infoInd").style.fontWeight='900';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	


});
$('btn_clientsInd').addEvent('click', function(event) {
event = new Event(event).stop();
 runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
	
	var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
    lContent.loadContent("frags/frame1.html");
	var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/about_de.php");
	$("nTicker").innerHTML="<div>&nbsp;</div>";

$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#2d3333';
	$("btn_clientsInd").style.fontWeight='900';
	
	$("btn_projectsInd").style.color= '#697778';
	$("btn_projectsInd").style.fontWeight='normal';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	
	


});
$('btn_projectsInd').addEvent('click', function(event) {
event = new Event(event).stop();
runFuncInfo=0;
runFuncKunden=0;
runFuncProjekte=0;
   runFuncNews=0;
var rContent = new Spry.Widget.HTMLPanel("rightSide",{evalScripts:true});
    rContent.loadContent("frags/frame2.html");     
var lContent = new Spry.Widget.HTMLPanel("leftSide",{evalScripts:true});
lContent.loadContent("frags/cloud2.php?kat=Projekte&lang=de&local=Indien");
$("nTicker").innerHTML="<div>&nbsp;</div>";

$("btn_info").style.color= '#697778';
	$("btn_info").style.fontWeight='normal';
	
	$("btn_clients").style.color= '#697778';
	$("btn_clients").style.fontWeight='normal';
	
	$("btn_projects").style.color= '#697778';
	$("btn_projects").style.fontWeight='normal';
	
	
	$("btn_infoInd").style.color= '#697778';
	$("btn_infoInd").style.fontWeight='normal';
	
	$("btn_clientsInd").style.color= '#697778';
	$("btn_clientsInd").style.fontWeight='normal';
	
	$("btn_projectsInd").style.color= '#2d3333';
	$("btn_projectsInd").style.fontWeight='900';
	
	$("btn_formular").style.color= '#697778';
	$("btn_formular").style.fontWeight='normal';
	
	$("btn_impressum").style.color= '#697778';
	$("btn_impressum").style.fontWeight='normal';
	


});

	var list = $$('#listContact li a');
list.each(function(element) {
 
	var fxList1 = new Fx.Styles(element, {duration:500, wait:false});
 
	element.addEvent('mouseenter', function(){fxList1.start({'color': '#2d3333'});this.style.fontWeight='900'});
	
	element.addEvent('click', function(){fxList1.start({'color': '#2d3333'});this.style.fontWeight='900';activeId=this.id;});
 
	element.addEvent('mouseleave', function(){if(activeId!=this.id){fxList1.start({'color': '#697778'});this.style.fontWeight='normal'}});
 
});

	var list2 = $$('#listUseurope li a');
list2.each(function(element) {
 
	var fxList2 = new Fx.Styles(element, {duration:500, wait:false});
 
	element.addEvent('mouseenter', function(){fxList2.start({'color': '#2d3333'});this.style.fontWeight='900'});
	
	element.addEvent('click', function(){fxList2.start({'color': '#2d3333'});this.style.fontWeight='900';activeId=this.id;});
 
	element.addEvent('mouseleave', function(){if(activeId!=this.id){fxList2.start({'color': '#697778'});this.style.fontWeight='normal'}});
    


	
});

	var list3 = $$('#listIndia li a');
list3.each(function(element) {
 
	var fxList3 = new Fx.Styles(element, {duration:500, wait:false});
 
	element.addEvent('mouseenter', function(){fxList3.start({'color': '#2d3333'});this.style.fontWeight='900'});
	
	element.addEvent('click', function(){fxList3.start({'color': '#2d3333'});this.style.fontWeight='900';activeId=this.id;});
 
	element.addEvent('mouseleave', function(){if(activeId!=this.id){fxList3.start({'color': '#697778'});this.style.fontWeight='normal'}});
 
});

	var list4 = $$('#tagCloud span a');
list4.each(function(element) {
 
	var fxList4 = new Fx.Styles(element, {duration:500, wait:false});
;
 
	element.addEvent('mouseenter', function(){fxList4.start({'color': '#b7bc00'});});
	
	element.addEvent('click', function(){fxList4.start({'color': '#b7bc00'});});
 
	element.addEvent('mouseleave', function(){fxList4.start({'color': '#697778'});});
 
});


});	