function orderConfirm(msg, url){ if(confirm(msg)) document.location.replace( url ); } function message_open(TITLE,URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT + ",scrollbars=yes,resizable=yes,status=no"; window.open(URL, TITLE , windowprops); } function open_window(TITLE,URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT + ",scrollbars=yes"; window.open(URL, TITLE , windowprops); } function open_window2(TITLE,URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT + ",resizable=yes,scrollbars=no"; window.open(URL, TITLE , windowprops); } function GetLength(string) { var ch; var length = 0; if( string == "") return 0; browserName = navigator.appName; browserVer = navigator.appVersion.indexOf("5."); if (browserName == "Netscape") { return string.length; } else { for ( k = 0; k < string.length; k++ ) { ch = string.charAt(k); if ( ch >= '€¡' && ch <= 'ÆR' ) { length += 2; } else if ( ch > 128) { length += 2; } else { length++; } } return length; } } function goBlog(url){ top.location.replace( "http://blog.appledodo.co.kr/"+url ); }