function popup_mm(url,height,width) { window.open(url,"_blank","scrollbars=no,resizable=no,width=" +width+ ",height=" +height+ ""); } function popup_mm2(url , width , height) { window.open(url,"_blank","scrollbars=no,resizable=no,width=" +width+ ",height=" +height+ ""); } function popup_mm3(url , width , height) { window.open(url,"_blank","scrollbars=yes,resizable=no,width=" +width+ ",height=" +height+ ""); } function popup_ss(url,height,width) { window.open(url,"_blank","scrollbars=yes,resizable=no,width=" +width+ ",height=" +height+ ""); } function getCookie(strName) { var strArg = new String(strName + "="); var nArgLen, nCookieLen, nEnd; var i = 0, j; nArgLen = strArg.length; nCookieLen = document.cookie.length; if(nCookieLen > 0) { while(i < nCookieLen) { j = i + nArgLen; if(document.cookie.substring(i, j) == strArg) { nEnd = document.cookie.indexOf (";", j); if(nEnd == -1) nEnd = document.cookie.length; return unescape(document.cookie.substring(j, nEnd)); } i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } } return(""); } function setCookie( name, value, expiredays ) { var today = new Date(); today.setDate( today.getDate() + expiredays ); // document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";"; document.cookie = name + "=" + escape( value ) + "; path=/; "; }