function RollOnText(d,c){var a=document.getElementById(d);a.value="Szuka";if(c!=""){var b=document.getElementById(c);b.style.display="block";b.style.bottom="20px";b.style.left="232px";b.style.opacity=".15";b.style.filter="Alpha(opacity=15)"}setTimeout("RollOnStep1('"+d+"', '"+c+"')",7)}function RollOnStep1(d,c){var a=document.getElementById(d);a.value="Szuk";if(c!=""){var b=document.getElementById(c);b.style.bottom="21px";b.style.left="233px";b.style.opacity=".3";b.style.filter="Alpha(opacity=30)"}setTimeout("RollOnStep2('"+d+"', '"+c+"')",7)}function RollOnStep2(d,c){var a=document.getElementById(d);a.value="Szu";if(c!=""){var b=document.getElementById(c);b.style.bottom="22px";b.style.left="234px";b.style.opacity=".45";b.style.filter="Alpha(opacity=45)"}setTimeout("RollOnStep3('"+d+"', '"+c+"')",7)}function RollOnStep3(d,c){var a=document.getElementById(d);a.value="Sz";if(c!=""){var b=document.getElementById(c);b.style.bottom="23px";b.style.left="235px";b.style.opacity=".55";b.style.filter="Alpha(opacity=55)"}setTimeout("RollOnStep4('"+d+"', '"+c+"')",7)}function RollOnStep4(d,c){var a=document.getElementById(d);a.value="S";if(c!=""){var b=document.getElementById(c);b.style.bottom="24px";b.style.left="236px";b.style.opacity=".6";b.style.filter="Alpha(opacity=60)"}setTimeout("RollOnStep5('"+d+"', '"+c+"')",7)}function RollOnStep5(d,c){var a=document.getElementById(d);a.value="";if(c!=""){var b=document.getElementById(c);b.style.bottom="25px";b.style.left="237px";b.style.opacity=".70";b.style.filter="Alpha(opacity=62)"}}function RollOutText(d,c){var a=document.getElementById(d);a.value="S";if(c!=""){var b=document.getElementById(c);b.style.bottom="25px";b.style.left="237px";b.style.opacity=".70";b.style.filter="Alpha(opacity=60)"}setTimeout("RollOutStep1('"+d+"', '"+c+"')",7)}function RollOutStep1(d,c){var a=document.getElementById(d);a.value="Sz";if(c!=""){var b=document.getElementById(c);b.style.bottom="24px";b.style.left="236px";b.style.opacity=".55";b.style.filter="Alpha(opacity=55)"}setTimeout("RollOutStep2('"+d+"', '"+c+"')",7)}function RollOutStep2(d,c){var a=document.getElementById(d);a.value="Szu";if(c!=""){var b=document.getElementById(c);b.style.bottom="23px";b.style.left="235px";b.style.opacity=".45";b.style.filter="Alpha(opacity=45)"}setTimeout("RollOutStep3('"+d+"', '"+c+"')",7)}function RollOutStep3(d,c){var a=document.getElementById(d);a.value="Szuk";if(c!=""){var b=document.getElementById(c);b.style.bottom="22px";b.style.left="234px";b.style.opacity=".3";b.style.filter="Alpha(opacity=30)"}setTimeout("RollOutStep4('"+d+"', '"+c+"')",7)}function RollOutStep4(d,c){var a=document.getElementById(d);a.value="Szuka";if(c!=""){var b=document.getElementById(c);b.style.bottom="21px";b.style.left="233px";b.style.opacity=".15";b.style.filter="Alpha(opacity=15)"}setTimeout("RollOutStep5('"+d+"', '"+c+"')",7)}function RollOutStep5(d,c){var a=document.getElementById(d);a.value="Szukaj";if(c!=""){var b=document.getElementById(c);b.style.display="none";b.style.bottom="20px";b.style.left="232px";b.style.opacity=".0";b.style.filter="Alpha(opacity=0)"}}var ControlTimeOut=new Array();function ChangeElem(b){var a=document.getElementById(b);a.style.borderColor="#818d98";a.style.fontWeight="bold";ControlTimeOut[b]=setTimeout("ChangeElemStep1('"+b+"')",30)}function ChangeElemStep1(b){var a=document.getElementById(b);a.style.borderColor="#667c91";ControlTimeOut[b]=setTimeout("ChangeElemStep2('"+b+"')",30)}function ChangeElemStep2(b){var a=document.getElementById(b);a.style.borderColor="#506e8a";ControlTimeOut[b]=setTimeout("ChangeElemStep3('"+b+"')",30)}function ChangeElemStep3(b){var a=document.getElementById(b);a.style.borderColor="#3d6183";ControlTimeOut[b]=setTimeout("ChangeElemStep4('"+b+"')",30)}function ChangeElemStep4(b){var a=document.getElementById(b);a.style.borderColor="#315577"}function RestoreElem(b){var a=document.getElementById(b);a.style.borderColor="#3d6183";a.style.fontWeight="normal";ControlTimeOut[b]=setTimeout("RestoreElemStep1('"+b+"')",35)}function RestoreElemStep1(b){var a=document.getElementById(b);a.style.borderColor="#667c91";ControlTimeOut[b]=setTimeout("RestoreElemStep2('"+b+"')",35)}function RestoreElemStep2(b){var a=document.getElementById(b);a.style.borderColor="#818d98";ControlTimeOut[b]=setTimeout("RestoreElemStep3('"+b+"')",35)}function RestoreElemStep3(b){var a=document.getElementById(b);a.style.borderColor="#818d98";ControlTimeOut[b]=setTimeout("RestoreElemStep4('"+b+"')",35)}function RestoreElemStep4(b){var a=document.getElementById(b);a.style.borderColor="#989a9c"}function change_view(b){b=b.substr(13);var a=new Array();a[1]=document.getElementById("elem_1");a[2]=document.getElementById("elem_2");a[3]=document.getElementById("elem_3");a[4]=document.getElementById("elem_4");a[5]=document.getElementById("elem_5");for(i=1;i<6;i++){if(b==i){a[i].style.display="block"}else{a[i].style.display="none"}}}function ChangeMenu(){var a=new Array();a[1]=document.getElementById("MenuCat_1");a[2]=document.getElementById("MenuCat_2");if(a[1].style.display=="none"){a[1].style.display="block";a[2].style.display="none"}else{if(a[2].style.display="block"){a[1].style.display="none"}}}function ShowUpElem(a){CurrID=document.getElementById(a);CurrID.style.opacity=".5";CurrID.style.filter="Alpha(opacity=50)";setTimeout("ShowUpStep1('"+a+"')",20)}function ShowUpStep1(a){CurrID=document.getElementById(a);CurrID.style.opacity=".6";CurrID.style.filter="Alpha(opacity=60)";setTimeout("ShowUpStep2('"+a+"')",20)}function ShowUpStep2(a){CurrID=document.getElementById(a);CurrID.style.opacity=".7";CurrID.style.filter="Alpha(opacity=70)";setTimeout("ShowUpStep3('"+a+"')",20)}function ShowUpStep3(a){CurrID=document.getElementById(a);CurrID.style.opacity=".8";CurrID.style.filter="Alpha(opacity=80)";setTimeout("ShowUpStep4('"+a+"')",20)}function ShowUpStep4(a){CurrID=document.getElementById(a);CurrID.style.opacity=".9";CurrID.style.filter="Alpha(opacity=90)"}function ShowDownElem(a){CurrID=document.getElementById(a);CurrID.style.opacity=".8";CurrID.style.filter="Alpha(opacity=80)";setTimeout("ShowDownStep1('"+a+"')",40)}function ShowDownStep1(a){CurrID=document.getElementById(a);CurrID.style.opacity=".72";CurrID.style.filter="Alpha(opacity=72)";setTimeout("ShowDownStep2('"+a+"')",40)}function ShowDownStep2(a){CurrID=document.getElementById(a);CurrID.style.opacity=".64";CurrID.style.filter="Alpha(opacity=64)";setTimeout("ShowDownStep3('"+a+"')",40)}function ShowDownStep3(a){CurrID=document.getElementById(a);CurrID.style.opacity=".56";CurrID.style.filter="Alpha(opacity=56)";setTimeout("ShowDownStep4('"+a+"')",40)}function ShowDownStep4(a){CurrID=document.getElementById(a);CurrID.style.opacity=".48";CurrID.style.filter="Alpha(opacity=48)";setTimeout("ShowDownStep5('"+a+"')",40)}function ShowDownStep5(a){CurrID=document.getElementById(a);CurrID.style.opacity=".4";CurrID.style.filter="Alpha(opacity=40)"};
