// JavaScript Document 
var oPopup;
try {
oPopup = window.createPopup();
} catch (e) {
window.status = '弹出通知消息仅能用于 IE 下 ! ';
}

var popTop = 10 ;
var mytime;

function popmsg(msgstr){
if ( ! oPopup) {
  return ;
}
oPopup.document.body.innerHTML = msgstr;
popshow();
}

function popshow(){
// window.status=popTop; 
if (popTop >   1720 ){
clearTimeout(mytime);
oPopup.hide();
return ;
} else   if (popTop >= 1720   -   137   && popTop <=   1720 ){
  oPopup.show(screen.width - 225 ,screen.height, 207 , 1720   - popTop);
} else   if (popTop >= 1500   && popTop <   1720   -   137 ){
oPopup.show(screen.width - 225 , screen.height -   150   + (popTop -   1500 ), 207 , 137);
} else   if (popTop <= 137 ){
oPopup.show(screen.width - 225 , screen.height, 207 , popTop);
} 
else   if (popTop <= 137 ){
oPopup.show(screen.width - 225 , screen.height - popTop, 207 , 137);
} else {
  // window.status=popTop + "  else"; 
  oPopup.show(screen.width - 225 , screen.height - 150 , 207 , 137);
}

popTop +=   8 ;
mytime = setTimeout( " popshow(); " , 30 );
}

function hidePop() {
  clearTimeout(mytime);
  oPopup.hide();
}

function openPop() {
  window.open('hzm.htm');
  clearTimeout(mytime);
  oPopup.hide();
}

popmsg( " <div onclick='window.parent.openPop()' title='点击打开' style='cursor:pointer; background-image: url(images/hzm/small-1.jpg); width:207; height:137; color:white; padding-top:1em; padding-left:5; font-size:11pt; color:white' ></div> " );
