function getStyle(A,B){if(A.style[B]){return A.style[B]}else{if(A.currentStyle){return A.currentStyle[B]}else{if(document.defaultView&&document.defaultView.getComputedStyle){B=B.replace(/([A-Z])/g,"-$1");B=B.toLowerCase();return document.defaultView.getComputedStyle(A,"").getPropertyValue(B)}else{return null}}}}function safeOnload(A){if(typeof A!="function"){return }if(window.onload!=null){var B=window.onload;window.onload=function(){B();A()}}else{window.onload=A}}function toggleAdvSearch(){var C=document.getElementById("SearchFormUL");var A=document.getElementById("fleet");var B=document.getElementById("AdvanceSearch").getElementsByTagName("A")[0];var D=getStyle(C,"display");if(D!="none"){B.innerHTML="\u9ad8\u7ea7\u641c\u7d22";resetSearchForm();C.style.display="none";A.value="1"}else{B.innerHTML="\u5feb\u901f\u641c\u7d22";C.style.display="block";A.value="0"}}function resetSearchForm(){var A=document.forms["SearchForm"].elements;for(var B=0;B<A.length;B++){var C=A[B];if(C.type=="hidden"){continue}if(C.type=="checkbox"){C.checked=0}else{if(C.type=="text"&&C.name!="keyword"){C.value=""}}}}function startList(){if(document.all&&document.getElementById){var A=document.getElementById("ShotTypeLI");if(A.nodeName=="LI"){A.onmouseover=function(){this.className+=" over"};A.onmouseout=function(){this.className=this.className.replace(" over","")}}}}function ah(A){if(A.scrollHeight>300){return 300}else{return"auto"}}function ad2(){document.getElementById("ADPaneBody").innerHTML="124345646435"}
