
if(document.layers) {
    document.write("<style type='text/css'>body{margin: -10px 0 0 -10px;}</style>");
} else {
    document.write("<style type='text/css'>body{margin: 0;}</style>");
}

function chkWinSize() {
  window.onerror=null;
  if (navigator.appVersion.charAt(0)>=4) {
    ww=0; wh=0; sw=0;
    if (document.all) {
      ww=document.body.clientWidth;
    } else if ((document.layers)||(document.getElementById)) {
      ww=window.innerWidth;
    }
	sw=ww-710;
	if(sw<=0) sw=1;
	return sw;
  }
}

function changeUrl( url ) {
  window.opener.location.href = url;
	window.close();
}


