﻿// JScript File
suspendcode="<DIV id=\"piao\" style='Z-INDEX: 10; LEFT: 896px; POSITION: absolute;TOP:55px; width:100px; height:364px;'><img src='http://www.veduchina.com/doc/reg/img/close.gif' onClick='javascript:return closepiao();' width='100px' height='14px' border='0' vspace='3' alt='关闭对联广告'><a href='http://www.veduchina.com/abroad/' target='_blank' title='艾维达教育专业提供各类留学咨询及服务，包括澳洲留学、美国留学、加拿大留学、英国留学、日本留学、韩国留学、俄罗斯留学、新西兰留学、德国留学等'><img src='http://www.veduchina.com/doc/top/2009/05/abroad_Left.gif' width='100px;' height='350px;' border='0'></a></DIV><DIV id=\"piao1\" style='Z-INDEX: 10; right: 896px; POSITION: absolute;TOP:55px; width:100px; height:364px;'><img src='http://www.veduchina.com/doc/reg/img/close.gif' onClick='javascript:return closepiao();' width='100px;' height='14px;' border='0' vspace='3' alt='关闭对联广告'><a href='http://www.veduchina.com/abroad/'  title='艾维达教育专业提供各类留学咨询及服务，包括澳洲留学、美国留学、加拿大留学、英国留学、日本留学、韩国留学、俄罗斯留学、新西兰留学、德国留学等' target='_blank'><img src='http://www.veduchina.com/doc/top/2009/05/abroad_Right.gif' width='100px' height='350px;' border='0'></a></DIV>"
document.write(suspendcode);

function closepiao(){
       document.getElementById("piao").style.display="none";
       document.getElementById("piao1").style.display="none";
       window.open("http://www.veduchina.com/abroad/", "_blank");
}
document.getElementById("piao").style.left=((document.documentElement.clientWidth-70)-document.getElementById("piao").offsetWidth/2)+"px";
document.getElementById("piao").style.top=(document.documentElement.scrollTop+200)+"px";

document.getElementById("piao1").style.right=((document.documentElement.clientWidth-70)-document.getElementById("piao").offsetWidth/2)+"px";
document.getElementById("piao1").style.top=(document.documentElement.scrollTop+200)+"px";
window.onscroll=changepos;
window.onresize=changepos;

function changepos()
{
    setTimeout("setpos()",200);
}
function setpos(){
       el=document.getElementById("piao");
       el.style.top=(document.documentElement.scrollTop+200)+"px";
       el.style.left=((document.documentElement.clientWidth-70)-el.offsetWidth/2)+"px";
       
       el1=document.getElementById("piao1");
       el1.style.top=(document.documentElement.scrollTop+200)+"px";
       el1.style.right=((document.documentElement.clientWidth-70)-el1.offsetWidth/2)+"px";
}