function expandingWindow(F){var D=F;var E=620;var A=580;var C=1;var B=1;newwin=window.open("","expwin","scrollbars=yes, toolbar=no, status=yes, menubar=no, resizable=yes, width="+E+", height="+A+", top="+C+", left="+B);newwin.location=D;newwin.focus()}function expandingWindowNavi(F){var D=F;var E=620;var A=580;var C=1;var B=1;newwin=window.open("","naviwin","scrollbars=yes, toolbar=yes, status=yes, menubar=yes, resizable=yes, width="+E+", height="+A+", top="+C+", left="+B);newwin.location=D;newwin.focus()}function popup(H,F,B,E,G){var D=H;var C=1;var A=1;newwin=window.open("","popwin","scrollbars=yes, toolbar="+E+", status=yes, menubar=yes, resizable="+G+", width="+B+", height="+F+", top="+C+", left="+A);newwin.location=D;newwin.focus()}function isEmpty(B){if(B==null){return true}else{if(B.length==0){return true}}var A=trimSpcs(B);if(A==""){return true}else{if(A.length==0){return true}else{return false}}}function trimSpcs(D){var A=0;if(D!=null){A=D.length}var C=0;var B=A-1;if(B<0){return""}while(hasSpcAt(D,B)){B--}while(hasSpcAt(D,C)){C++}if(B<C){return""}return D.substring(C,B+1)}function hasSpcAt(A,B){if(A==null){return false}else{if(B<0||B>(A.length-1)){return false}else{return hasSpc(A.slice(B,B+1))}}}function hasSpc(A){if(A==null){return false}else{if(A.search(/\s/i)>-1){return true}else{return false}}};