var fxP1;var fxS1;var fxP2;var fxS2;var fxP3;var fxS3;var fxP4;var fxS4;var fxP5;var fxD1;var fxD2;var fxD3;var fxD4;window.addEvent("domready",function(){fxP1=new Fx.Morph("Schema-p1",{duration:250,transition:Fx.Transitions.Linerar});fxS1=new Fx.Morph("Schema-s1",{duration:250,transition:Fx.Transitions.Linerar});fxP2=new Fx.Morph("Schema-p2",{duration:250,transition:Fx.Transitions.Linerar});fxS2=new Fx.Morph("Schema-s2",{duration:250,transition:Fx.Transitions.Linerar});fxP3=new Fx.Morph("Schema-p3",{duration:250,transition:Fx.Transitions.Linerar});fxS3=new Fx.Morph("Schema-s3",{duration:250,transition:Fx.Transitions.Linerar});fxP4=new Fx.Morph("Schema-p4",{duration:250,transition:Fx.Transitions.Linerar});fxS4=new Fx.Morph("Schema-s4",{duration:250,transition:Fx.Transitions.Linerar});fxP5=new Fx.Morph("Schema-p5",{duration:250,transition:Fx.Transitions.Linerar});fxD1=new Fx.Morph("Schema-d1",{duration:250,transition:Fx.Transitions.Linerar});fxD2=new Fx.Morph("Schema-d2",{duration:250,transition:Fx.Transitions.Linerar});fxD3=new Fx.Morph("Schema-d3",{duration:250,transition:Fx.Transitions.Linerar});fxD4=new Fx.Morph("Schema-d4",{duration:250,transition:Fx.Transitions.Linerar});$("Schema-hp1").addEvent("mouseover",function(a){PillarHighlight(1)});$("Schema-hd1").addEvent("mouseover",function(a){PillarHighlight(1)});$("Schema-hp1").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hd1").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hp2").addEvent("mouseover",function(a){PillarHighlight(2)});$("Schema-hd2").addEvent("mouseover",function(a){PillarHighlight(2)});$("Schema-hp2").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hd2").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hp3").addEvent("mouseover",function(a){PillarHighlight(3)});$("Schema-hd3").addEvent("mouseover",function(a){PillarHighlight(3)});$("Schema-hp3").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hd3").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hp4").addEvent("mouseover",function(a){PillarHighlight(4)});$("Schema-hp5").addEvent("mouseover",function(a){PillarHighlight(4)});$("Schema-hd4").addEvent("mouseover",function(a){PillarHighlight(4)});$("Schema-hp4").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hp5").addEvent("mouseout",function(a){PillarHighlight(0)});$("Schema-hd4").addEvent("mouseout",function(a){PillarHighlight(0)});fxD1.set({opacity:"0.4"});fxD2.set({opacity:"0.4"});fxD3.set({opacity:"0.4"});fxD4.set({opacity:"0.4"})});function PillarHighlight(a){if(a==0){OpacityHigh(fxP1);OpacityLow(fxD1);OpacityHigh(fxP2);OpacityLow(fxD2);OpacityHigh(fxP3);OpacityLow(fxD3);OpacityHigh(fxP4);OpacityLow(fxD4);OpacityHigh(fxP5);OpacityHigh(fxS1);OpacityHigh(fxS2);OpacityHigh(fxS3);OpacityHigh(fxS4)}else{if(a==1){OpacityHigh(fxP1);OpacityHigh(fxD1)}else{OpacityLow(fxP1);OpacityLow(fxD1)}if(a==2){OpacityHigh(fxP2);OpacityHigh(fxD2)}else{OpacityLow(fxP2);OpacityLow(fxD2)}if(a==3){OpacityHigh(fxP3);OpacityHigh(fxD3)}else{OpacityLow(fxP3);OpacityLow(fxD3)}if(a==4){OpacityHigh(fxP4);OpacityHigh(fxP5);OpacityHigh(fxD4)}else{OpacityLow(fxP4);OpacityLow(fxP5);OpacityLow(fxD4)}OpacityLow(fxS1);OpacityLow(fxS2);OpacityLow(fxS3);OpacityLow(fxS4)}}function OpacityHigh(a){a.cancel();a.start({opacity:"1"})}function OpacityLow(a){a.cancel();a.start({opacity:"0.4"})};
