var PS_opt;function ParseFloat(A){newval=A.replace(/(,)/g,"");return parseFloat(newval)}function Item(C,B,A){this.text=C;this.value=B;this.selected=A}function LoadIncVer(C){var D=C.options;var A=D.length;
PS_opt=new Array(A);for(var B=0;B<A;B++){PS_opt[B]=new Item(D[B].text,D[B].value)}}function StripIncVer(C,G){var F=G.options;var B=F.length;var E=PS_IVs[parseInt(C)];var D=new Array();var H=0;if(E){for(var A=0;
A<B;A++){if(IncVerIsValid(E,F[A].value)){D[H++]=new Item(F[A].text,F[A].value,F[A].selected)}}}for(var A=B-1;A>=0;A--){F[A]=null}for(var A=0;A<H;A++){F[A]=new Option(D[A].text,D[A].value);F[A].selected=D[A].selected
}}function IncVerIsValid(A,B){var D=A.length;for(var C=0;C<D;C++){if(A[C]==B){return true}}return false}function SetIncVer(C,F){var E=F.options;var B=E.length;for(var A=B-1;A>=0;A--){E[A]=null}var D=PS_IVs[parseInt(C)];
if(D){var G;B=D.length;for(var A=0;A<B;A++){G=IVFindItem(D[A]);E[A]=new Option(PS_opt[G].text,PS_opt[G].value)}}}function IVFindItem(A){for(var B=PS_opt.length-1;B>=0;B--){if(PS_opt[B].value==A){return B
}}return -1}function SetIncVerCbl(F,A){var C=PS_AllIVs.length;var I;var B;var G;var H=PS_IVs[parseInt(F)];var J;if(H){J=H.length}for(var E=0;E<C;E++){I=PS_AllIVs[E];if(typeof findObj=='function')B=findObj(A+I);else B=gebi(A+I);G=false;if(H){for(var D=0;
D<J;D++){if(I==H[D]){B.style.display="block";B.style.visibility="visible";G=true;break}}}if(!G){B.style.visibility="hidden";B.style.display="none"}}};