※님 대출신청이 완료되었습니다. 모든캐피탈을 이용해주셔서 감사합니다.^^";
//var test2 =" ※작업완료 정상적으로 저장되었습니다.";
var opend_value = "";
var opens = "";
var speed = 100;//외부속도
var speed2 = 80;//내부속도
var max_window_width = 800;
var max_window_height = 500;
pz = 1;
p=1;
//그림자
function fopen_shadow(){
zwinwin_shadow.style.left = parseInt(zwinwin.style.left)+10;
zwinwin_shadow.style.top = parseInt(zwinwin.style.top)+15;
zwinwin_shadow.style.width = parseInt(zwinwin.style.width);
zwinwin_shadow.style.height = zwinwin.style.height;
if(!bat){ clearTimeout(bat_shadow);}
}
function fopen_z(){
pz ++ ;
//창열기
if(opens == 1){
zwinwin.style.height = max_window_height;
p = zwinwin.style.width.replace("px","");
za = ((parseInt(p) * speed) / parseInt(max_window_width));
zwinwinvalue = parseInt(p) + (parseInt(speed) - parseInt(za));
if(zwinwinvalue > (max_window_width-10)){
frame2_show = setInterval(show_detail,1);
zwinwinvalue = max_window_width;
opens = 2;
//2차오픈내용 설정
zwinwin1.style.top = parseInt(zwinwin.style.top)+parseInt(zwinwin.style.height)-15;
zwinwin1.style.height = 10;
zwinwin1.style.left = parseInt(zwinwin.style.left)+5;
zwinwin1.style.width= parseInt(zwinwin.style.width);
clearTimeout(bat);
}
zwinwin.style.width = zwinwinvalue;
zwinwin.innerHTML = "";
}
//창닫기
else if(opens == 3){
p = zwinwin.style.width.replace("px","");
zwinwin.innerHTML = "";
zwinwinvalue = parseInt(p) - speed;
if(zwinwinvalue < 0){
zwinwin.style.top = -3000;
zwinwin1.style.top = -3000;
zwinwin_shadow.style.top = -3000;
zwinwin1.innerHTML = "";
zwinwinvalue = 0;
clearTimeout(frame2_show);
clearTimeout(bat);
clearTimeout(bat_shadow);
}
zwinwin.style.width = zwinwinvalue;
}
}
function show_detail(){
if((parseInt(zwinwin.style.height) - 30) > parseInt(zwinwin1.style.height)){
qa = zwinwin1.style.height.replace("px","");
za = ((parseInt(qa) * speed2)) / (parseInt(zwinwin.style.height)-30);
qavalue = (parseInt(speed2) - parseInt(za));
zwinwin1.style.top = parseInt(zwinwin1.style.top) - qavalue;
zwinwin1.style.height = parseInt(zwinwin1.style.height) + qavalue;
}
else{
zwinwin1.style.top = parseInt(zwinwin.style.top)+25;
zwinwin1.style.height = parseInt(zwinwin.style.height)-35;
zwinwin1.innerHTML = opend_value;
clearTimeout(frame2_show);
}
}
function talert(val,widt,heigh,st,s_name){
all_shadow.style.width=1280;
all_shadow.style.height=2500;
max_window_width = widt;
max_window_height = heigh;
zwinwin1.style.width=0;
zwinwin1.style.height=0;
zwinwin1.style.top = -1000;
zwinwin1.innerHTML = "";
if(st == 's'){
zwinwin.style.left = parseInt(event.clientX) - parseInt(widt) - 100;
zwinwin.style.top = 100;
}
else if(st == 'r'){
zwinwin.style.left = parseInt(event.clientX) - parseInt(widt) - 10;
zwinwin.style.top = parseInt(event.clientY) - parseInt(heigh);
}
else if(st == 'g'){if(parseInt(heigh)>250){heigh=300; }
if(event_x){
zwinwin.style.left = parseInt(event_x) - parseInt(widt) + 100;
zwinwin.style.top = parseInt(event_y) - parseInt(heigh) + 100;
}
else{
zwinwin.style.left = parseInt(window.screen.width/2) - parseInt(widt) + 200;
zwinwin.style.top = parseInt(window.screen.height/3) - parseInt(heigh) + 1750;
}
}
zwinwin.style.width = 0;
bat = setInterval(fopen_z,1);
bat_shadow = setInterval(fopen_shadow,1);
opens = 1;
//zwinwin1.style.zIndex = 1
var test1="※ "+ s_name +" 님 신청이 완료되었습니다.※ 저희 myLG070 을 이용해주셔서 감사합니다. 최선을 다하겠습니다.. LG070.com (myLG070) 창닫기";
opend_value = eval(val);
}
function close_window(val){
if (document.all)
window.external.AddFavorite('http://www.LG070.com', 'myLG070 / LG070.com 전국가입센터');
all_shadow.style.width=0;
all_shadow.style.height=0;
bat = setInterval(fopen_z,1);
opens = 3;
}
function reset_window(val1,val2){
event_x=val1;
event_y=val2;
}
document.write("");
var cw_value="";
var event_x="";
var event_y="";
|
|
|