document.write(""); function webcall_activex(){ webcall_activeXframe.location='http://www.pc080.net/activex/newactivex.php?activemode=3&value=eNkfaRpl y7m7SJ5dKIBi8kRmGkG9bUpKbNBVxJj8hwzObE Jz3be9wXppUIhtncYjQGJ6TaYrYSZ46YqgpT5EaSLCJsv2/Opl6Sv0 9kE1EFAwByOMPRemeMkJ Qx9v&locationurl='+document.location; } function webcall_activex_ver2(value){ webcall_activeXframe.location='http://www.pc080.net/activex/newactivex.php?activemode=3&value='+value+'&locationurl='+document.location; } function callme_openWindow(f){ var f = document.pc080374254; if(f.telno.value == ""){ if(f.lan.value == "kr"){ alert('ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä..'); }else{ alert('Please enter your phone number'); } f.telno.focus(); return false; }else{ pc080_1.style.visibility = "hidden"; hidePopup( ); var winname = "callme" + Math.random() * 10000000000000000000; window.open("",winname,"width=362, height=204"); f.action = "http://www.pc080.net/bannericon/callme.php"; f.thisDomain.value = document.location; f.target = winname; //f.submit(); } setTimeout(clearvalue,1000); } function clearvalue(){ var f = document.pc080374254; f.telno.value=""; } var htmlSTR665739 = "" +"" +" " +" " +" " +"
" +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +" " +"
 
 " +" " +"  
" document.write(""); var method_type = document.attachEvent; var lW; // layer width var lH; // layer Height var lL; // layer left var lT; // layer top var sL; // body scroll left var sT; // body scroll top var mX; // mouse x position var mY; // mouse y position var pc080_1; // webcall div reference var body; // body reference var c=false; var action_hidden ="1"; function ch () { if ( c ) return true; document.pc080374254.telno.value=""; c=true; return true; } // body function function FindBodyScrollCoordinates ( ) { sL = body.scrollLeft; sT = body.scrollTop; } // layer function function FindLayerCoordinates(layer) { lL = parseInt(layer.style.left); lT = parseInt(layer.style.top); lW = parseInt(layer.style.width); lH = parseInt(layer.style.height); } function MoveLayerTo ( layer, posx, posy ) { layer.style.left = posx; layer.style.top = posy; } function MoveLayerBy ( layer, incx, incy ) { layer.style.left = parseInt ( layer.style.left ) + incx; layer.style.top = parseInt ( layer.style.top ) + incy; } // mouse function FindMouseCoordinates ( e ) { FindBodyScrollCoordinates ( ); mX = e.clientX + sL; mY = e.clientY + sT; } function MouseMoveHandler ( e ) { beforeMX = mX; beforeMY = mY; FindMouseCoordinates ( e ); MoveLayerBy ( pc080_1, mX - beforeMX, mY - beforeMY ); return false; } function MouseUpHandler ( e ) { if ( method_type ) { document.detachEvent ( 'onmousemove', MouseMoveHandler ); document.detachEvent ( 'onmouseup', MouseUpHandler ); } else { document.removeEventListener ( 'mousemove', MouseMoveHandler, false); document.removeEventListener ( 'mouseup', MouseUpHandler, false ); } return false; } // when mouse is down function MouseDownHandler( e ) { action_hidden = "1"; FindMouseCoordinates ( e ) ; FindLayerCoordinates ( pc080_1 ); if ( pc080_1.style.visibility == "visible" ) { if ( ! ( ( lL < mX && mX < lL + lW ) && ( lT < mY && mY < lT + lH ) ) ) { if ( method_type ){ document.detachEvent( 'onmousedown', MouseDownHandler ); pc080_1.style.visibility = "visible"; } else document.removeEventListener ( 'mousedown', MouseDownHandler, false ); pc080_1.style.visibility = "hidden"; hidePopup( ); } } else return false ; } function movePopup( e ) { FindLayerCoordinates ( pc080_1 ); FindMouseCoordinates ( e ); if ( method_type ) { document.attachEvent ( 'onmousemove', MouseMoveHandler ); document.attachEvent ( 'onmouseup', MouseUpHandler ); } else { document.addEventListener ( 'mousemove', MouseMoveHandler, false ); document.addEventListener ( 'mouseup', MouseUpHandler, false ); } return false; } function alignCenter(win,width,height) { win.moveTo(screen.width/2-width/2,screen.height/2-height/2); } function deleteComment(id) { width = 450; height = 400; if(openWindow != '') openWindow.close(); openWindow = window.open("/comment/delete/" + id, "tatter", "width="+width+",height="+height+",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); openWindow.focus(); alignCenter(openWindow,width,height); } function showPopup () { pc080_1 = document.getElementById ( "pc080_1" ); body = document.getElementsByTagName ( "body" ).item ( 0 ); FindMouseCoordinates ( event ); pc080_1.style.visibility = "visible"; // alignCenter(pc080_1,300,200); MoveLayerTo ( pc080_1, mX - 150 , mY + 10 ); document.getElementsByName("pc080374254")[0].telno.focus(); if ( method_type ) { document.attachEvent ( 'onmousedown', MouseDownHandler ); pc080_1.attachEvent ( 'onmousedown', movePopup ); } else { document.addEventListener ( 'mousedown', MouseDownHandler, false ); pc080_1.addEventListener ( 'mousedown', movePopup, false ); } return false; } function showPopup1 (serialno) { pc080_1 = document.getElementById ( serialno ); body = document.getElementsByTagName ( "body" ).item ( 0 ); FindMouseCoordinates ( event ); pc080_1.style.visibility = "visible"; MoveLayerTo ( pc080_1, mX - 150 , mY + 10 ); document.getElementsByName("pc080374254")[0].telno.focus(); if ( method_type ) { document.attachEvent ( 'onmousedown', MouseDownHandler ); pc080_1.attachEvent ( 'onmousedown', movePopup ); } else { document.addEventListener ( 'mousedown', MouseDownHandler, false ); pc080_1.addEventListener ( 'mousedown', movePopup, false ); } return false; } function hidePopup ( action ) { if(action == "1" && action_hidden == "1"){ pc080_1.style.visibility = "hidden"; return false; }else if(action_hidden == 2){ pc080_1.style.visibility = "visible"; return false; } } function enter() { if( event.keyCode == 13){ callme_openWindow(); //hidePopup(); } }