//이부분 수정 var shop_url = "http://kmazzy.com/shop"; // 뒤에 /를 빼주세요 var display_cnt = 3; //디스플레이될 상품 갯수 var display_height = 50; //디스플레이될 상품 갯수당 height var img_width = 40; //이미지 width var img_height = 40; //이미지 height var site_width = 910; //가운데 정렬시 꼭 넣어야함(현재 사이트 폭) var site_align = "center"; //사이트 정렬 var banner_left_ = 900; //오늘본상품 왼쪽(가운데정렬은 자동) var banner_top_ = 150; //오늘본상품 높이 //여기까지만 display_cnts = 0; if(display_cnt > display_cnts) { display_t_height = 0*display_height; } else { display_t_height = display_cnt*display_height; } display_height2 = display_height+5; document.writeln("
"); document.writeln("
[0]
"); document.writeln("
"); document.writeln("
\"위로가기
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
"); document.writeln("
\"아래로가기
"); document.writeln("
\"제작
"); document.writeln("
"); document.writeln("
"); document.writeln(""); var id_h = document.body.clientHeight-340; var Ypos = 50; var Ygravity = .9; var scrollPos = 0; var oldScrollPos = 0; function FloatMenu() { var f_id = document.getElementById("floater"); var id_w = 0; if(site_align=="center") { s_width = document.body.clientWidth; id_w = ((s_width-site_width)/2); f_id.style.left = document.body.clientWidth - id_w; } docHeight = document.body.clientHeight; oldScrollPos = scrollPos; scrollPos = document.body.scrollTop + banner_top_; f_id.style.top = scrollPos; } window.setInterval("FloatMenu()", 1); function now_item_fun(type) { var f = document.getElementById("now_marquee"); f.behavior = "scroll"; switch(type) { case "stop" : f.stop(); break; case "down" : f.direction = "down"; f.start(); break; case "up" : f.direction = "up"; f.start(); break; } } var roll_num=0;this_height=0; function idsu_new_sc_roll(did, b_h, b_d, b_s, types) { var d_tag = document.getElementById(did); var a_tag, i; if(roll_num<0) { roll_num=0; } else if(roll_num==0-display_cnt+1 || 0<=display_cnt) { roll_num--; return false; } b_h2 = b_h*roll_num; if(types=="up") { this_height = this_height + 6; if(this_height < b_h2) { d_tag.style.top = -this_height; setTimeout("idsu_new_sc_roll('" + did + "', " + b_h + ", " + b_d + ", " + b_s + ", '" + types + "');", b_s); } } else if(types=="down") { if(this_height<0) { this_height = 0; } else { this_height = this_height - 6; } if(this_height >= b_h2) { d_tag.style.top = -this_height; setTimeout("idsu_new_sc_roll('" + did + "', " + b_h + ", " + b_d + ", " + b_s + ", '" + types + "');", b_s); } } return true; } function idsu_cookie( name, value, expiredays ) { var f = document.getElementById("now_hidden"); var f2 = document.getElementById("now_hidden2"); if(value=="Y") { f.style.display = "block"; f2.style.display = "none"; } else { f.style.display = "none"; f2.style.display = "block"; } var endDate = new Date(); endDate.setDate( endDate.getDate()+ expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + endDate.toGMTString() + ";" } function now_wish_fun() { var f = document.idsu_item;tt=0; cnt = f["wish[]"].length; for(i=0;i