// ÀÚµ¿¸®»çÀÌÁî
function Biznine_AutoResize(img)
{
foto1= new Image();
foto1.src=(img);
Biznine_Controlla(img);
}
function Biznine_Controlla(img)
{
if((foto1.width!=0)&&(foto1.height!=0))
{
Biznine_viewPhoto(img);
}
else
{
funzione="Biznine_Controlla('"+img+"')";
intervallo=setTimeout(funzione,20);
}
}
function Biznine_viewPhoto(img)
{
largh=foto1.width+20;
altez=foto1.height+20;
var window_left = (screen.width-largh)/2;
var window_top = (screen.height-altez)/2;
stringa="width="+largh+",height="+altez+",top="+window_top+",left="+window_left;
finestra=window.open(img,"",stringa);
}
// ÀÚµ¿¸®»çÀÌÁî// ±âÁ¸ /inc/swf.js À̵¿ 20110514
//ÇÏ´Ù¸¶ÀÌ Ç÷¡½Ã »ðÀÔ ÀÚ¹Ù½ºÅ©¸³Æ®-¾×Ƽºê¿¢½ºÆÐÄ¡´ëºñ
//2006-02-09
//°¢ ¼Ó¼º ¿ÜºÎ ÀÔ·Â.´ÙÁß»ç¿ë.
function includeJS(jsPath){
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
script.setAttribute("src", jsPath);
document.getElementsByTagName("head")[0].appendChild(script);
}
function flash_mobile_check(seq,f_name,type){
if(type=="visual"){
var xmlpath = "/bin/minihome/upload/"+seq+"/visualmaker/"+f_name+".xml";
}else{
var xmlpath = "/bin/minihome/upload/"+seq+"/visualmaker/menu_xml/"+f_name+".xml";
}
var xmlhttp = new XMLHttpRequest();
// minsu ºê¶ó¿ìÀúȣȯ¹®Á¦ var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
xmlhttp.open("GET", xmlpath, false);
xmlhttp.setRequestHeader('Content-Type', 'text/xml');
xmlhttp.send("");
xmlDoc = xmlhttp.responseXML;
if(type=="visual"){
if(xmlDoc.getElementsByTagName("movie")[0]!=null){
if(xmlDoc.getElementsByTagName("movie")[0].attributes.getNamedItem("mobile")){
var check_value = xmlDoc.getElementsByTagName("movie")[0].attributes.getNamedItem("mobile").nodeValue;
}else{
var check_value = "undefined";
}
}else{
var check_value = "undefined";
}
}else if(type=="menu"){
if(xmlDoc.getElementsByTagName("menu")[0]!=null){
if(xmlDoc.getElementsByTagName("menu")[0].attributes.getNamedItem("mobile")){
var check_value = xmlDoc.getElementsByTagName("menu")[0].attributes.getNamedItem("mobile").nodeValue;
}else{
var check_value = "undefined";
}
}else{
var check_value = "undefined";
}
}
return check_value;
}
includeJS("/bin/flash_library/visualmaker/flash_java_loader.js");
includeJS("/bin/flash_library/visualmaker/flash_menu_loader.js");
function FlashInsert(FlashIDName, FlashFileName, FlashWidth, FlashHeight, DNSSetting, WMODESetting, FlashBGColor, QSetting, FlashAlign, FlashVars)
{
var change_url = window.location.href;
var change_seq = change_url.split("?seq=");
var seq_check=0;
if(change_seq.length==2){
seq_check=1;
change_seq[1] = change_seq[1].split("&");
}else{
var change_seq = change_url.split("&seq=");
if(change_seq.length==2){
seq_check=1;
change_seq[1] = change_seq[1].split("&");
}
}
var chsek = new Array;
chsek = FlashFileName.split("&");
var fs_file = chsek[0].substr(chsek[0].indexOf("=")+1,chsek[0].length);
var fs_type= chsek[0].substring(31,chsek[0].indexOf("?"));
// 20140318 ±âº»°ª transparent Ãß°¡
if(WMODESetting == ''){
WMODESetting = "transparent";
}
/*
if(seq_check==1){
var fs_seq = change_seq[1][0];
}else{
var fs_seq = chsek[1].substr(chsek[1].indexOf("=")+1,chsek[1].length);
}
*/
if(seq_check==1){
var fs_seq = change_seq[1][0];
}else{
if(fs_type=="maker_load_v3.swf" || fs_type=="navi.swf"){
var fs_seq = chsek[1].substr(chsek[1].indexOf("=")+1,chsek[1].length);
}
}
if(fs_type=="maker_load_v3.swf"){
var m_chk = flash_mobile_check(fs_seq,fs_file,"visual"); //1¿¡¼± Ç÷¡½ÃX , 2¿¡¼± ¸ð¹ÙÀÏ¿¡¼¸¸ ÀÚ¹Ù , 3Àº ¾ÆÀÌÆù,¾ÆÀÌÆе忡¼¸¸
}else if(fs_type=="navi.swf"){
var m_chk = flash_mobile_check(fs_seq,fs_file,"menu"); //1¿¡¼± Ç÷¡½ÃX , 2¿¡¼± ¸ð¹ÙÀÏ¿¡¼¸¸ ÀÚ¹Ù , 3Àº ¾ÆÀÌÆù,¾ÆÀÌÆе忡¼¸¸
}
var ua = window.navigator.userAgent.toLowerCase();
if(/iphone/.test(ua) || /ipad/.test(ua)|| /android/.test(ua) || /opera/.test(ua) || /bada/.test(ua) || m_chk==1) { //¸ð¹ÙÀÏÀΰæ¿ì
includeJS("/bin/flash_library/visualmaker/jquery-1.7.2.min.js");
includeJS("/bin/flash_library/visualmaker/jquery.transit.js");
includeJS("/bin/flash_library/visualmaker/jquery.easing.1.3.js");
includeJS("/bin/flash_library/visualmaker/jquery.easing.compatibility.js");
includeJS("/bin/flash_library/visualmaker/src/minified/TimelineLite.min.js");
includeJS("/bin/flash_library/visualmaker/src/minified/TweenLite.min.js");
includeJS("/bin/flash_library/visualmaker/src/minified/TweenMax.min.js");
includeJS("/bin/flash_library/visualmaker/src/minified/plugins/CSSPlugin.min.js");
includeJS("/bin/flash_library/visualmaker/src/minified/easing/EasePack.min.js");
// $(document).ready(function(){
if(m_chk==1){ //Ç÷¡½Ã ¾ø¾Ö±â
f_change();
}else if(m_chk==2){
if(/iphone/.test(ua) || /ipad/.test(ua)|| /android/.test(ua) || /opera/.test(ua) || /bada/.test(ua) ){ //2¹ø
f_change();
}//2¹ø³¡
}else if(m_chk==3){
if(/iphone/.test(ua) || /ipad/.test(ua)){
f_change();
}
}else{ //°ªÀÌ ¾ø´Â °æ¿ì ¸ð¹ÙÀÏüũ
if(/iphone/.test(ua) || /ipad/.test(ua)|| /android/.test(ua) || /opera/.test(ua) || /bada/.test(ua) ){ //2¹ø
f_change();
}//2¹ø³¡
}
//})
function f_change(){
if(fs_type=="maker_load_v3.swf"){
//var fs_num = chsek[2].substr(chsek[2].indexOf("=")+1,chsek[2].length);
var fs_num = new Array;
fs_num = FlashFileName.split("&select_page=");
var caer = setInterval(checks,500);
function checks(){
clearInterval(caer);
flash_java_loader(FlashIDName,fs_file,fs_seq,fs_num[1]);
}
}else if(fs_type=="navi.swf"){
var mn_check = setInterval(mn_loader,500);
function mn_loader(){
clearInterval(mn_check);
flash_menu_loader(FlashIDName,fs_file,fs_seq);
}
}//end if
}
}
if (navigator.appName=="Netscape")
{
if(FlashWidth=='') FlashWidth = 0;
if(FlashHeight=='') FlashHeight = 0;
}
document.write('');
document.write('');
document.write('');
}
function f_replace(f_id,img){
var ua = window.navigator.userAgent.toLowerCase();
if(/iphone/.test(ua) || /ipad/.test(ua)|| /android/.test(ua) || /opera/.test(ua) || /bada/.test(ua) || m_chk==1) { //¸ð¹ÙÀÏÀΰæ¿ì
document.getElementById('id_'+f_id).innerHTML ="
";
}
}
// Ç÷¡½Ã äÆà Ãß°¡ // ÇÔ¼ö¸í º¯°æ. .swf ó¸® ??
// ¸ÞÀÎ Ç÷¡½Ã
function setFlashVars(command, buffer,k_name) {
var _string = command;
var _str = "getMovieName('"+k_name+"')."+_string+"('"+buffer+"');";
// ÀÏ´ÜÁÖ¼® 20130410 eval(_str);
}
function fsetMouseOut(k_name)
{
setFlashVars("EVENT_INFO", "MOUSE_OUT",k_name);
}
function fsetMouseOver(k_name)
{
setFlashVars("EVENT_INFO", "MOUSE_OVER",k_name);
}
// ID°ªÀ¸·Î, ÆäÀÌÁö¿¡ ÀÖ´Â Ç÷¡½ÃÆÄÀÏÀ» °Ë»öÇØÁØ´Ù. (À¯¿ë)
function getMovieName(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
//return window[movieName];
return document.getElementById(movieName);
}
else {
//return document[movieName];
return document.getElementsByName(movieName);
}
}
// popup Ãß°¡
function openw(sURL)
{
newwindow=open(sURL,"popupnav","titlebar=no, scrollbars=no, toolbar=no, directories=no, menubar=no, resizable=no, status=no,width=1,height=1, screenX=10000, screenY=10000" );
}
function openw2(sURL)
{
newwindow=open(sURL,"popupnav","titlebar=no, scrollbars=yes, toolbar=no, directories=no, menubar=no, resizable=no, status=no,width=1,height=1, screenX=10000, screenY=10000" );
}
// Ç÷¡½Ã äÆà Ãß°¡ // ÇÔ¼ö¸í º¯°æ. .swf ó¸® ??
function FlashInsertAction(FlashIDName, FlashPathName, FlashFileName, FlashWidth, FlashHeight, DNSSetting, WMODESetting, FlashBGColor, QSetting, FlashAlign, FlashVars)
{
document.write('');
}
// Ç÷¡½Ã äÆà Ãß°¡ // ÇÔ¼ö¸í º¯°æ. .swf ó¸® ??
// vod º¸±â - Ãß°¡ 071028
function showPlayer(fla, width, height, AutoStart, ShowTracker, ShowControls, ShowGotoBar, ShowDisplay, ShowStatusBar, AutoSize)
{
var object =
""
document.write( object );
}
function m_play() {
document.all.player.play();
}
function m_pause() {
document.all.player.pause();
}
function m_stop() {
document.all.player.stop();
}
function showPlayer2(fla, width, height, AutoStart, ShowTracker, ShowControls, ShowGotoBar, ShowDisplay, ShowStatusBar, AutoSize)
{
var object =
""
document.write( object );
}
function m_play2() {
document.all.player2.play();
}
function m_pause2() {
document.all.player2.pause();
}
function m_stop2() {
document.all.player2.stop();
}
// common js Ãß°¡ ÇÕ´Ï´Ù.
//Trim ÇÔ¼ö ±¸Çö
function Trim(inputString) {
var retValue = inputString;
var ch = retValue.substring(0, 1);
while (ch == " ") {
retValue = retValue.substring(1, retValue.length);
ch = retValue.substring(0, 1);
}
ch = retValue.substring(retValue.length-1, retValue.length);
while (ch == " ") {
retValue = retValue.substring(0, retValue.length-1);
ch = retValue.substring(retValue.length-1, retValue.length);
}
while (retValue.indexOf(" ") != -1) {
retValue = retValue.substring(0, retValue.indexOf(" ")) + retValue.substring(retValue.indexOf(" ")+1, retValue.length);
}
return retValue;
}
// shop »ç¿ë : Æ÷ÀÎÆ®
function shop_point_use(f,opt){
ddd = f.od_temp_point.value;
if ( parseInt(opt) < parseInt(ddd)){
alert(" ±Ý¾×À» ´Ù½Ã ¼³Á¤ÇØÁÖ¼¼¿ä! ");
f.od_temp_point.value = 0;
f.od_temp_point.focus();
return;
}
}
// ±Ý¾×Ç¥½Ã
function number_format(data)
{
var tmp = '';
var number = '';
var cutlen = 3;
var comma = ',';
var i;
len = data.length;
mod = (len % cutlen);
k = cutlen - mod;
for (i=0; i 57)){
if(event.preventDefault){
event.preventDefault();
} else {
event.returnValue = false;
}
}
}
function number_format(data)
{
// 20130225 - ¿À·ù ¼öÁ¤
var data0 = data;
var data = data0.replace('-', '');
var tmp = '';
var number = '';
var cutlen = 3;
var comma = ',';
var i;
len = data.length;
mod = (len % cutlen);
k = cutlen - mod;
for (i=0; i 0;
if(isSafari) myWindow=window.open(filename , '',safari);
else myWindow=window.open(filename, '',nsafari);
myWindow.focus();
}
function bizwon_isSafriOpenWin1(filename,safari,nsafari){
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
if(isSafari) {
//myWindow=window.open(filename , '',safari);
location.href=filename;
window.resizeTo(642,690);
}else{
//myWindow=window.open(filename, '',nsafari);
location.href=filename;
window.resizeTo(625,737);
}
myWindow.focus();
}
// full popup
function bizwon_full_popup(url){
window.open(url,'shop_basic_lmain','status=yes,width='+screen.availWidth+',height='+screen.availHeight+',top=200,left=100,toolbar=no,scrollbars=yes,resizable=yes,fullscreen=yes');
}
//
function shop_basic_popup_pop(url){
window.open(url,'shop_basic_lmain','status=yes,width='+screen.availWidth+',height='+screen.availHeight+',top=200,left=100,toolbar=no,scrollbars=yes,resizable=yes,fullscreen=yes');
}
//
var daum_win_zip5 = function(frm_name, frm_zip, frm_addr1, frm_addr2) {
if(typeof daum === 'undefined'){
alert("´ÙÀ½ juso.js ÆÄÀÏÀÌ ·ÎµåµÇÁö ¾Ê¾Ò½À´Ï´Ù.");
return false;
}
new daum.Postcode({
oncomplete: function(data) {
var of = document[frm_name];
of[frm_zip].value = data.zonecode;
of[frm_addr1].value = data.roadAddress;
of[frm_addr2].value = "";
of[frm_addr2].focus();
}
}).open();
}
//get Funtion
function bizwn_getRequest() {
if(location.search.length > 1) {
var get = new Object();
var ret = location.search.substr(1).split('&');
for(var i = 0; i < ret.length; i++) {
var r = ret[i].split('=');
get[r[0]] = r[1];
}
return get;
}else{
return false;
}
}
/* »ç¿ë¿¹
var get = bizwn_getRequest();
var g_aldo = get['_aldo'];
if(typeof(wr_id)!='undefined'){
alert('1');
}else{
alert('2');
}
*/
//
function bizwonfunc_maxLengthCheck(id, title, maxLength){
var obj = $("#"+id);
if(maxLength == null) {
maxLength = obj.attr("maxLength") != null ? obj.attr("maxLength") : 1000;
}
if(Number(bizwonfunc_byteCheck(obj)) > Number(maxLength)) {
alert(title + "ÀÌ(°¡) ÀԷ°¡´É¹®ÀÚ¼ö¸¦ ÃÊ°úÇÏ¿´½À´Ï´Ù.\n(¿µ¹®, ¼ýÀÚ, ÀÏ¹Ý Æ¯¼ö¹®ÀÚ : " + maxLength + " / ÇѱÛ, ÇÑÀÚ, ±âŸ Ư¼ö¹®ÀÚ : " + parseInt(maxLength/2, 10) + ").");
obj.val('');
obj.focus();
return false;
} else {
return true;
}
}
function bizwonfunc_byteCheck(el){
var codeByte = 0;
for (var idx = 0; idx < el.val().length; idx++) {
var oneChar = escape(el.val().charAt(idx));
if ( oneChar.length == 1 ) {
codeByte ++;
} else if (oneChar.indexOf("%u") != -1) {
codeByte += 2;
} else if (oneChar.indexOf("%") != -1) {
codeByte ++;
}
}
return codeByte;
}
/*
»ç¿ë¿¹
onKeyup="bizwonfunc_maxLengthCheck('wr_3', 'À̸§', '10')"
*/
//
//