var page_src = "welcome.php"

function goto(what) {
	if(what == 1){set_area_active(0);goto_page(1);}
	if(what == 2){set_area_active(1);goto_page(2);}
	if(what == 3){set_area_active(2);goto_page(3);}
	if(what == 4){set_area_active(3);goto_page(4);}
	if(what == 5){set_area_active(4);goto_page(5);}
	if(what == 6){goto_page(6);}
	if(what == 7){goto_page(7);}
	if(what == 8){goto_page(8);}
	if(what == 9){goto_page(9);}
	if(what == 10){goto_page(10);}
	if(what == 11){goto_page(11);}
	if(what == 12){goto_page(12);}
	if(what == 13){goto_page(13);}
	if(what == 14){goto_page(14);}
	if(what == 15){goto_page(15);}
	if(what == 16){goto_page(16);}
	if(what == 17){goto_page(17);}
	if(what == 18){goto_page(18);}
	if(what == 19){goto_page(19);}
	if(what == 20){goto_page(20);}
	if(what == 21){goto_page(21);}
	if(what == 22){goto_page(22);}
	if(what == 23){goto_page(23);}
	if(what == 24){goto_page(24);}
}

function goto_page(what) {
	if(what == 1){document.getElementById("mainframe").src = "welcome.php";}
	if(what == 2){document.getElementById("mainframe").src = "inside.php";}
	if(what == 3){document.getElementById("mainframe").src = "leistungen.php";}
	if(what == 4){document.getElementById("mainframe").src = "partref.php";}
	if(what == 5){document.getElementById("mainframe").src = "termine.php";}
	if(what == 6){document.getElementById("mainframe").src = "team.php";}
	if(what == 7){document.getElementById("mainframe").src = "wert.php";}
	if(what == 8){document.getElementById("mainframe").src = "konzept.php";}
	if(what == 9){document.getElementById("mainframe").src = "karriere.php";}
	if(what == 10){document.getElementById("mainframe").src = "kontakt.php";}
	if(what == 11){document.getElementById("mainframe").src = "idee.php";}
	if(what == 12){document.getElementById("mainframe").src = "dialog.php";}
	if(what == 13){document.getElementById("mainframe").src = "medien.php";}
	if(what == 14){document.getElementById("mainframe").src = "partner.php";}
	if(what == 15){Kundenlogin = window.open("http://kundenlogin.canudo.de", "Canudo_Kundenlogin");Kundenlogin.focus();}
	if(what == 16){document.getElementById("mainframe").src = "referenzen.php";}
	if(what == 17){document.getElementById("mainframe").src = "kalender.php";}
	if(what == 18){document.getElementById("mainframe").src = "news.php";}
	if(what == 19){document.getElementById("mainframe").src = "newsservice.php";}
	if(what == 20){Policy = window.open("datenschutz.php", "Canudo_Datenschutz","left=100,top=0,width=600,height=350,resizable=0, scrollbars=yes");Policy.focus();}
	if(what == 21){document.getElementById("mainframe").src = "impressum.php";}
	if(what == 22){document.getElementById("mainframe").src = "gimmick.php";}
	if(what == 23){ENG = window.open("canudo_eng.php", "Canudo_ENG","left=100,top=50,width=700,height=500,resizable=0, scrollbars=yes");ENG.focus();}
	if(what == 24){document.getElementById("mainframe").src = "tools.php";}
	str = document.getElementById("mainframe").src;
	page_src = str.substring(str.length-11,str.length);
}

function goto_contentpage(what) {
	parent.document.getElementById("startframe").src = "content/start.php?page="+what+"";
}

function m_ov_link (what) {
	document.getElementById("footer_nav_"+what).style.color = "#e75113";
}

function m_ou_link (what) {
	document.getElementById("footer_nav_"+what).style.color = "#666666";
}

function m_ov_icon(what) {
	if(what == 1){document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1_hover.gif')";m_ov_mainframe(1);}
	if(what == 2){document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2_hover.gif')";m_ov_mainframe(2);}
	if(what == 3){document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3_hover.gif')";m_ov_mainframe(3);}
	if(what == 4){document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4_hover.gif')";m_ov_mainframe(4);}
	if(what == 5){document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5_hover.gif')";m_ov_mainframe(5);}
	if(what == 6){document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6_hover.gif')";m_ov_mainframe(1);}
	if(what == 7){document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7_hover.gif')";m_ov_mainframe(2);}
	if(what == 8){document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8_hover.gif')";m_ov_mainframe(3);}
	if(what == 9){document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9_hover.gif')";m_ov_mainframe(1);}
	if(what == 10){document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10_hover.gif')";m_ov_mainframe(2);}
	if(what == 11){document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11_hover.gif')";m_ov_mainframe(3);}
	if(what == 12){document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12_hover.gif')";m_ov_mainframe(1);}
	if(what == 13){document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13_hover.gif')";m_ov_mainframe(2);}
	if(what == 14){document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14_hover.gif')";m_ov_mainframe(3);}
	if(what == 15){document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15_hover.gif')";m_ov_mainframe(6);}
	if(what == 16){document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16_hover.gif')";m_ov_mainframe(4);}
}

function m_ov_icon2(what) {
	if(what == 1){
		document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1_hover.gif')";
		document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2_hover.gif')";
		document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3_hover.gif')";
		document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4_hover.gif')";
		document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5_hover.gif')";
		document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15_hover.gif')";
	}
	if(what == 2){
		document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6_hover.gif')";
		document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7_hover.gif')";
		document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8_hover.gif')";
		document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16_hover.gif')";
	}
	if(what == 3){
		document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9_hover.gif')";
		document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10_hover.gif')";
		document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11_hover.gif')";
	}
	if(what == 4){
		document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12_hover.gif')";
		document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13_hover.gif')";
		document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14_hover.gif')";
	}
}

function m_ov_mainframe(what) {
	if (page_src != "welcome.php") {
		mainframe.m_ov_element_2nd_nav(what);	
	}
}

function m_ou_mainframe(what) {
	if (page_src != "welcome.php") {
		mainframe.m_ou_element_2nd_nav(what);	
	}
}

function m_ou_icon(what) {
	if(what == 1){document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1.gif')";m_ou_mainframe(1);}
	if(what == 2){document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2.gif')";m_ou_mainframe(2);}
	if(what == 3){document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3.gif')";m_ou_mainframe(3);}
	if(what == 4){document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4.gif')";m_ou_mainframe(4);}
	if(what == 5){document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5.gif')";m_ou_mainframe(5);}
	if(what == 6){document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6.gif')";m_ou_mainframe(1);}
	if(what == 7){document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7.gif')";m_ou_mainframe(2);}
	if(what == 8){document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8.gif')";m_ou_mainframe(3);}
	if(what == 9){document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9.gif')";m_ou_mainframe(1);}
	if(what == 10){document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10.gif')";m_ou_mainframe(2);}
	if(what == 11){document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11.gif')";m_ou_mainframe(3);}
	if(what == 12){document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12.gif')";m_ou_mainframe(1);}
	if(what == 13){document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13.gif')";m_ou_mainframe(2);}
	if(what == 14){document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14.gif')";m_ou_mainframe(3);}
	if(what == 15){document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15.gif')";m_ou_mainframe(6);}
	if(what == 16){document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16.gif')";m_ou_mainframe(4);}
}

function m_ou_icon_inaktiv(what) {
	if(what == 1){
		document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1_inaktiv.gif')";
		document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2_inaktiv.gif')";
		document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3_inaktiv.gif')";
		document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4_inaktiv.gif')";
		document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5_inaktiv.gif')";
		document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15_inaktiv.gif')";
	}
	if(what == 2){
		document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6_inaktiv.gif')";
		document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7_inaktiv.gif')";
		document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8_inaktiv.gif')";
		document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16_inaktiv.gif')";
	}
	if(what == 3){
		document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9_inaktiv.gif')";
		document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10_inaktiv.gif')";
		document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11_inaktiv.gif')";
	}
	if(what == 4){
		document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12_inaktiv.gif')";
		document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13_inaktiv.gif')";
		document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14_inaktiv.gif')";
	}
}

function m_si_icon_all() {
	for(var i = 1; i <=15;i++) {
		document.getElementById("icon"+i).style.backgroundImage = "url('../library/images/layout/icon"+i+"_inaktiv.gif')";
	}
}

function m_ov_cat(what) {
	if(what == 1) {m_ov_spacer(1);m_ov_spacer(6);m_ov_icon2(1);}
	if(what == 2) {m_ov_spacer(7);m_ov_spacer(11);m_ov_spacer(12);m_ov_spacer(13);m_ov_icon2(2);}
	if(what == 3) {m_ov_spacer(14);m_ov_spacer(15);m_ov_spacer(21);m_ov_icon2(3);}
	if(what == 4) {m_ov_spacer(22);m_ov_spacer(23);m_ov_spacer(29);m_ov_icon2(4);}
}

function m_ou_cat(what) {
	if(what == 1) {m_ou_icon_inaktiv(1);m_ou_spacer(1);m_ou_spacer(6);}
	if(what == 2) {m_ou_icon_inaktiv(2);m_ou_spacer(7);m_ou_spacer(11);m_ou_spacer(12);m_ou_spacer(13);}
	if(what == 3) {m_ou_icon_inaktiv(3);m_ou_spacer(14);m_ou_spacer(15);m_ou_spacer(21);}
	if(what == 4) {m_ou_icon_inaktiv(4);m_ou_spacer(22);m_ou_spacer(23);m_ou_spacer(29);}	
}

function m_click_cat(what) {
	if(what == 1) {m_sa_icon(1);m_sa_icon(2);m_sa_icon(3);m_sa_icon(4);m_sa_icon(5);m_sa_icon(15);}
	if(what == 2) {m_sa_icon(6);m_sa_icon(7);m_sa_icon(8);m_sa_icon(24);}
	if(what == 3) {m_sa_icon(9);m_sa_icon(10);m_sa_icon(11);}
	if(what == 4) {m_sa_icon(12);m_sa_icon(13);m_sa_icon(14);}	
}

function hide_cat(what) {
	document.getElementById("cat1_1").style.display = "block"; 
	document.getElementById("cat1_2").style.display = "block";
	document.getElementById("cat2_1").style.display = "block";
	document.getElementById("cat2_2").style.display = "block";
	document.getElementById("cat3_1").style.display = "block";
	document.getElementById("cat3_2").style.display = "block";
	document.getElementById("cat3_3").style.display = "block";
	document.getElementById("cat4_1").style.display = "block";
	document.getElementById("cat4_2").style.display = "block";
	document.getElementById("cat4_3").style.display = "block";
	if(what == 1){document.getElementById("cat1_1").style.display = "none"; document.getElementById("cat1_2").style.display = "none";setTimeout("m_ov_spacer2(1)",30);}
	if(what == 2){document.getElementById("cat2_1").style.display = "none"; document.getElementById("cat2_2").style.display = "none";setTimeout("m_ov_spacer2(2)",30);}
	if(what == 3){document.getElementById("cat3_1").style.display = "none"; document.getElementById("cat3_2").style.display = "none"; document.getElementById("cat3_3").style.display = "none";setTimeout("m_ov_spacer2(3)",30);}
	if(what == 4){document.getElementById("cat4_1").style.display = "none"; document.getElementById("cat4_2").style.display = "none"; document.getElementById("cat4_3").style.display = "none";setTimeout("m_ov_spacer2(4)",30);}
}


function set_area_active(what) {
	s_ia_spacer();
	m_si_icon_all();
	if (what == 0) {
		hide_cat(0);
	}
	if(what == 1) {
		hide_cat(1);
	}
	if(what == 2) {
		hide_cat(2);
	}
	if(what == 3) {
		hide_cat(3);
	}
	if(what == 4) {
		hide_cat(4);
	}
}

function m_ov_spacer(what) {
	if(what == 1){document.getElementById("icon_spacer1").style.backgroundImage = "url('../library/images/layout/cat1_hover.gif')";}
	if(what == 6){document.getElementById("icon_spacer6").style.backgroundImage = "url('../library/images/layout/icon_spacer6.gif')";}
	if(what == 7){document.getElementById("icon_spacer7").style.backgroundImage = "url('../library/images/layout/cat2_hover.gif')";}
	if(what == 11){document.getElementById("icon_spacer11").style.backgroundImage = "url('../library/images/layout/icon_spacer11.gif')";}
	if(what == 12){document.getElementById("icon_spacer12").style.backgroundImage = "url('../library/images/layout/icon_spacer12.gif')";}
	if(what == 13){document.getElementById("icon_spacer13").style.backgroundImage = "url('../library/images/layout/icon_spacer13.gif')";}
	if(what == 14){document.getElementById("icon_spacer14").style.backgroundImage = "url('../library/images/layout/icon_spacer14.gif')";}
	if(what == 15){document.getElementById("icon_spacer15").style.backgroundImage = "url('../library/images/layout/cat3_hover.gif')";}
	if(what == 21){document.getElementById("icon_spacer21").style.backgroundImage = "url('../library/images/layout/icon_spacer21.gif')";}
	if(what == 22){document.getElementById("icon_spacer22").style.backgroundImage = "url('../library/images/layout/icon_spacer22.gif')";}
	if(what == 23){document.getElementById("icon_spacer23").style.backgroundImage = "url('../library/images/layout/cat4_hover.gif')";}
	if(what == 29){document.getElementById("icon_spacer29").style.backgroundImage = "url('../library/images/layout/icon_spacer29.gif')";}
}

function m_ov_spacer2(what) {
	if(what == 1){
		document.getElementById("icon_spacer1").style.backgroundImage = "url('../library/images/layout/cat1_hover.gif')";
		document.getElementById("icon_spacer6").style.backgroundImage = "url('../library/images/layout/icon_spacer6.gif')";
	}
	if(what == 2){
		document.getElementById("icon_spacer7").style.backgroundImage = "url('../library/images/layout/cat2_hover.gif')";
		document.getElementById("icon_spacer11").style.backgroundImage = "url('../library/images/layout/icon_spacer11.gif')";
		document.getElementById("icon_spacer12").style.backgroundImage = "url('../library/images/layout/icon_spacer12.gif')";
		document.getElementById("icon_spacer13").style.backgroundImage = "url('../library/images/layout/icon_spacer13.gif')";
	}
	if(what == 3){
		document.getElementById("icon_spacer14").style.backgroundImage = "url('../library/images/layout/icon_spacer14.gif')";
		document.getElementById("icon_spacer15").style.backgroundImage = "url('../library/images/layout/cat3_hover.gif')";
		document.getElementById("icon_spacer21").style.backgroundImage = "url('../library/images/layout/icon_spacer21.gif')";
	}
	if(what == 4){
		document.getElementById("icon_spacer22").style.backgroundImage = "url('../library/images/layout/icon_spacer22.gif')";
		document.getElementById("icon_spacer23").style.backgroundImage = "url('../library/images/layout/cat4_hover.gif')";
		document.getElementById("icon_spacer29").style.backgroundImage = "url('../library/images/layout/icon_spacer29.gif')";
	}
	if(what == 1){
		document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1.gif')";
		document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2.gif')";
		document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3.gif')";
		document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4.gif')";
		document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5.gif')";
		document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15.gif')";
	}
	if(what == 2){
		document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6.gif')";
		document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7.gif')";
		document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8.gif')";
		document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16.gif')";
	}
	if(what == 3){
		document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9.gif')";
		document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10.gif')";
		document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11.gif')";
	}
	if(what == 4){
		document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12.gif')";
		document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13.gif')";
		document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14.gif')";
	}
}

function m_ou_icon2(what) {
	if(what == 1){
		document.getElementById("icon1").style.backgroundImage = "url('../library/images/layout/icon1.gif')";
		document.getElementById("icon2").style.backgroundImage = "url('../library/images/layout/icon2.gif')";
		document.getElementById("icon3").style.backgroundImage = "url('../library/images/layout/icon3.gif')";
		document.getElementById("icon4").style.backgroundImage = "url('../library/images/layout/icon4.gif')";
		document.getElementById("icon5").style.backgroundImage = "url('../library/images/layout/icon5.gif')";
		document.getElementById("icon15").style.backgroundImage = "url('../library/images/layout/icon15.gif')";
	}
	if(what == 2){
		document.getElementById("icon6").style.backgroundImage = "url('../library/images/layout/icon6.gif')";
		document.getElementById("icon7").style.backgroundImage = "url('../library/images/layout/icon7.gif')";
		document.getElementById("icon8").style.backgroundImage = "url('../library/images/layout/icon8.gif')";
		document.getElementById("icon16").style.backgroundImage = "url('../library/images/layout/icon16.gif')";
	}
	if(what == 3){
		document.getElementById("icon9").style.backgroundImage = "url('../library/images/layout/icon9.gif')";
		document.getElementById("icon10").style.backgroundImage = "url('../library/images/layout/icon10.gif')";
		document.getElementById("icon11").style.backgroundImage = "url('../library/images/layout/icon11.gif')";
	}
	if(what == 4){
		document.getElementById("icon12").style.backgroundImage = "url('../library/images/layout/icon12.gif')";
		document.getElementById("icon13").style.backgroundImage = "url('../library/images/layout/icon13.gif')";
		document.getElementById("icon14").style.backgroundImage = "url('../library/images/layout/icon14.gif')";
	}
}

function m_ou_spacer(what) {
	if(what == 1){document.getElementById("icon_spacer1").style.backgroundImage = "url('../library/images/layout/cat1.gif')";}
	if(what == 6){document.getElementById("icon_spacer6").style.backgroundImage = "url('../library/images/layout/icon_spacer6_inaktiv.gif')";}
	if(what == 7){document.getElementById("icon_spacer7").style.backgroundImage = "url('../library/images/layout/cat2.gif')";}
	if(what == 11){document.getElementById("icon_spacer11").style.backgroundImage = "url('../library/images/layout/icon_spacer11_inaktiv.gif')";}
	if(what == 12){document.getElementById("icon_spacer12").style.backgroundImage = "url('../library/images/layout/icon_spacer12_inaktiv.gif')";}
	if(what == 13){document.getElementById("icon_spacer13").style.backgroundImage = "url('../library/images/layout/icon_spacer13_inaktiv.gif')";}
	if(what == 14){document.getElementById("icon_spacer14").style.backgroundImage = "url('../library/images/layout/icon_spacer14_inaktiv.gif')";}
	if(what == 15){document.getElementById("icon_spacer15").style.backgroundImage = "url('../library/images/layout/cat3.gif')";}
	if(what == 21){document.getElementById("icon_spacer21").style.backgroundImage = "url('../library/images/layout/icon_spacer21_inaktiv.gif')";}
	if(what == 22){document.getElementById("icon_spacer22").style.backgroundImage = "url('../library/images/layout/icon_spacer22_inaktiv.gif')";}
	if(what == 23){document.getElementById("icon_spacer23").style.backgroundImage = "url('../library/images/layout/cat4.gif')";}
	if(what == 29){document.getElementById("icon_spacer29").style.backgroundImage = "url('../library/images/layout/icon_spacer29_inaktiv.gif')";}	
}

function s_ia_spacer(what) {
	document.getElementById("icon_spacer1").style.backgroundImage = "url('../library/images/layout/cat1.gif')";
	document.getElementById("icon_spacer6").style.backgroundImage = "url('../library/images/layout/icon_spacer6_inaktiv.gif')";
	document.getElementById("icon_spacer7").style.backgroundImage = "url('../library/images/layout/cat2.gif')";
	document.getElementById("icon_spacer11").style.backgroundImage = "url('../library/images/layout/icon_spacer11_inaktiv.gif')";
	document.getElementById("icon_spacer12").style.backgroundImage = "url('../library/images/layout/icon_spacer12_inaktiv.gif')";
	document.getElementById("icon_spacer13").style.backgroundImage = "url('../library/images/layout/icon_spacer13_inaktiv.gif')";
	document.getElementById("icon_spacer14").style.backgroundImage = "url('../library/images/layout/icon_spacer14_inaktiv.gif')";
	document.getElementById("icon_spacer15").style.backgroundImage = "url('../library/images/layout/cat3.gif')";
	document.getElementById("icon_spacer21").style.backgroundImage = "url('../library/images/layout/icon_spacer21_inaktiv.gif')";
	document.getElementById("icon_spacer22").style.backgroundImage = "url('../library/images/layout/icon_spacer22_inaktiv.gif')";
	document.getElementById("icon_spacer23").style.backgroundImage = "url('../library/images/layout/cat4.gif')";
	document.getElementById("icon_spacer29").style.backgroundImage = "url('../library/images/layout/icon_spacer29_inaktiv.gif')";
}

function set_imprint_active() {
	document.getElementById("footer_nav_6").innerHTML = '<span style="color:#e75113">IMPRESSUM</span>';
	document.getElementById("footer_nav_6").style.cursor = "default";
	document.getElementById("footer_nav_6").onclick = function () {};
	document.getElementById("footer_nav_6").onmouseover = function () {};
	document.getElementById("footer_nav_6").ovmouseout = function () {};
}

function set_imprint_inactive() {
	document.getElementById("footer_nav_6").innerHTML = 'IMPRESSUM';
	document.getElementById("footer_nav_6").style.cursor = "pointer";
	document.getElementById("footer_nav_6").onclick = function () {goto(21);};
	document.getElementById("footer_nav_6").onmouseover = function () {m_ov_link(6);};
	document.getElementById("footer_nav_6").ovmouseout = function () {m_ou_link(6);};
}

function goto_socialweb(what) {
	if (what == 1) {Canudo_Xing = window.open("weiterleitung_xing.php", "Canudo_Xing","left=10,top=50,width=1000,height=600, resizable=yes, scrollbars=yes");Canudo_Xing.focus();}
	if (what == 2) {Canudo_Twitter = window.open("weiterleitung_twitter.php", "Canudo_Twitter","left=50,top=50,width=800,height=600, resizable=yes, scrollbars=yes");Canudo_Twitter.focus();}
	if (what == 3) {Canudo_RSS = window.open("weiterleitung_rss.php", "Canudo_RSS","left=50,top=50,width=800,height=650, resizable=yes, scrollbars=yes");Canudo_RSS.focus();}
}

