// »óÀ§ ¸ÞÀιè³Ê 480x212 var rollView120 = function(no) { for(i=1 ; i<=roll120total; i++){ document.getElementById("t"+i).src = "img/main/rollnum0"+i+".gif"; } document.getElementById("t"+no).src = "img/main/rollnum0"+no+"_on.gif"; $.ajax({ url: "/get_moms_banner_ajax.php", type: "POST", data: ({no : roll120arr[no] }), success: function(msg){ str = msg.split("|||"); $("#banner120_title").html(str[0]); $("#banner120_img").html(str[1]); }, error: function(msg){ alert("error" + request.status + "message:" + request.responseText); } }); } // ¸ô ¹è³Ê730x154 var rollView121 = function(no) { roll121order+=no; if (roll121order>roll121total){roll121order=1;} if (roll121order==0){roll121order=roll121total;} $.ajax({ url: "/get_moms_banner_ajax.php", type: "POST", data: ({no : roll121arr[roll121order] }), success: function(msg){ str = msg.split("|||"); $("#banner730X154").html(str[1]); }, error: function(msg){ alert("error" + request.status + "message:" + request.responseText); } }); } /* ³²Àº½Ã°£ - À̺¥Æ®¿ë*/ function getAuctionTime(){ Seconds = Seconds - 1; if(Seconds < 1){ Minutes -= 1; Seconds = 60; if(Minutes < 1){ Hours -= 1; Minutes = 60; if(Hours < 1) { Days -= 1; Hours = 24; } } } Days = String(Days); Hours = String(Hours); Minutes = String(Minutes); Seconds = String(Seconds); if(Days<10){ Day1 = 0; Day2 = Days; }else{ Day1 = Days.substring(0,1); Day2 = Days.substring(1,2); } if(Hours < 10) { Hour1 = 0; Hour2 = Hours; } else { if(Hours == 24) { Hour1 = 0; Hour2 = 0; } else { Hour1 = Hours.substring(0,1); Hour2 = Hours.substring(1,2); } } if(Minutes < 10) { Minute1 = 0; Minute2 = Minutes; } else { if(Minutes == 60) { Minute1 = 0; Minute2 = 0; } else { Minute1 = Minutes.substring(0,1); Minute2 = Minutes.substring(1,2); } } if(Seconds < 10) { Second1 = 0; Second2 = Seconds; } else { if(Seconds == 60) { Second1 = 0; Second2 = 0; } else { Second1 = Seconds.substring(0,1); Second2 = Seconds.substring(1,2); } } document.getElementById("days1").src = "/img/main/111220_100a_num0" + Day1 + ".gif"; document.getElementById("days2").src = "/img/main/111220_100a_num0" + Day2 + ".gif"; document.getElementById("hour1").src = "/img/main/111220_100a_num0" + Hour1 + ".gif"; document.getElementById("hour2").src = "/img/main/111220_100a_num0" + Hour2 + ".gif"; document.getElementById("minute1").src = "/img/main/111220_100a_num0" + Minute1 + ".gif"; document.getElementById("minute2").src = "/img/main/111220_100a_num0" + Minute2 + ".gif"; document.getElementById("second1").src = "/img/main/111220_100a_num0" + Second1 + ".gif"; document.getElementById("second2").src = "/img/main/111220_100a_num0" + Second2 + ".gif"; if (Day1 == 0 && Day2 == 0 && Hour1 == 0 && Hour2 == 0 && Minute1 == 0 && Minute2 == 0 && Second1 == 0 && Second2 == 0) { clearInterval(getAuctionTime); } else { setTimeout("getAuctionTime()", "1000"); } } //getAuctionTime();