var cprmsg="www.plugge-informatik.de\nAlle Rechte bei Plugge Informatik";function handleRMB(e){var bu=0;
if(e&&e.which)bu=e.which;else if(event&&event.button)bu=event.button;if(bu !=1){alert(cprmsg);return false;}}
if(document.captureEvents)document.captureEvents(Event.MOUSEDOWN);document.onmousedown=handleRMB;var curselb=-1;var bn;
var fnCol="#191970";var bnCol="#AFEEEE";var fhCol="#000080";var bhCol="#00BFFF";var fsCol="#F0FFFF";var bsCol="#4682B4";
function gete(id){var e=null;if(document.getElementById){e=document.getElementById(id);} else if(document.all){e=document.all[id];
} else if(document.layers){e=document.layers[id];}return e;}function selbutton(newselb){oldselb=curselb;curselb=-1;
highlight(1,oldselb);highlight(2,newselb);curselb=newselb;}function setbutton(newselb){oldselb=curselb;curselb=-1;
highlight(1,oldselb);highlight(3,newselb);curselb=newselb;}function highlight(action,button){if(button==curselb)return;
var b=gete("m"+button);if(b){if(b.style){switch(action){case 0:b.style.backgroundColor=bhCol;break;
case 1:b.style.backgroundColor=bnCol;break;case 2:case 3:b.style.backgroundColor=bsCol;break;}} else if(b.bgColor){switch(action){
case 0:b.bgColor=bhCol;break;case 1:b.bgColor=bnCol;break;case 2:case 3:b.bgColor=bsCol;break;}}
if(b.childNodes)b=b.childNodes.item(0);else if(b.children)b=b.children(0);else b=0;if(b&&b.style){switch(action){
case 0:b.style.color=fhCol;break;case 1:b.style.color=fnCol;break;case 2:case 3:b.style.color=fsCol;break;}}if(action==2)
window.location.href=b.href;}}function act(action,button){switch(action){case 0:case 1:highlight(action,button);break;
case 2:selbutton(button);break;}}function setnav(buname){var i;if(!bn)bn=new Array("home", "web","soft","cons", "projekt","profil",
"technik","cpr","kontakt");for(i=0;i<bn.length;i++){if(buname==bn[i])break;}setbutton(i);}
