// Version : 1.002
// Original File Name : EinsToggle.js
// Last Modified : 2008/04/18
// Copyright(c) 2008 NewType Inortech. All Rights Reserved. http://www.newtype.com.tw
// Originally published and documented at http://www.einstand.idv.tw
//
//
EinsToggleV1=null;function EinsToggleF1(){var a5="";if(EinsToggleV1==null){var a4="einstoggle";var a1=null;if(document.scripts!=null){a1=document.scripts;}else{a1=document.getElementsByTagName('script');}if(a1!=null){for(var i=0;i<a1.length;i++){a6=a1[i];if(a6.src!=""){var s=a6.src.toLowerCase();var p=s.lastIndexOf(a4);if(p!=-1){a5=a6.src.substr(0,p);}}}}EinsToggleV1=a5;}else{a5=EinsToggleV1;}return a5;}function ToggleItem(a7,a3){var a2=document.getElementById(a3);if((a2!=null)){if(a2.style.display!="none"){a2.style.display="none";a7.src=EinsToggleF1()+"NT_Expand.gif";a7.setAttribute("COLLAPSED",1);}else{a7.setAttribute("COLLAPSED",0);a2.style.display="";a7.src=EinsToggleF1()+"NT_Collapse.gif";}}}