<!--
var jvers = 1.1;
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1)); 
var not_nav3 = ! (is_nav && (is_major < 4));
function openwin(url,t,w,h)
{
  options = "toolbar=no,menubar=no,status=no,location=no,scrollbars=yes,resizable=yes,copyhistory=yes,width="+w+",height="+h;
  if (jvers == 1.2 && not_nav3 ) {
     setwindow(w,h);
     thisWindow = window.open(url,t,options);
  } else {
    thisWindow = window.open(url,t,options);
  }
  thisWindow.focus();
}
function howtouse()
{
	url = '/howtouse/use2.html'
  options = 'width=850,height=1024,toolbar=no,locationbar=no,directories=no,status=no,scrollbars=yes,resizable=no,menubar=no';
  if (jvers == 1.2 && not_nav3 ) {
     setwindow(630,460);
     thisWindow = window.open(url,"howtouse",options);
  } else {
    thisWindow = window.open(url,"howtouse",options);
  }
  thisWindow.focus();
}
function showstar()
{
	url = '/Members/star.htm'
  options = 'width=630,height=460,toolbar=no,locationbar=no,directories=no,status=no,scrollbars=yes,resizable=no,menubar=no';
  if (jvers == 1.2 && not_nav3 ) {
     setwindow(630,460);
     thisWindow = window.open(url,"HelpWindow",options);
  } else {
    thisWindow = window.open(url,"HelpWindow",options);
  }
  thisWindow.focus();
}
function showhelp(url)
{
  options = 'width=630,height=460,toolbar=no,locationbar=no,directories=no,status=no,scrollbars=no,resizable=no,menubar=no';
  if (jvers == 1.2 && not_nav3 ) {
     setwindow(630,460);
     thisWindow = window.open(url,"HelpWindow",options);
  } else {
    thisWindow = window.open(url,"HelpWindow",options);
  }
  thisWindow.focus();
}
function feedback() {
    options = 'width=474,toolbar=no,locationbar=no,directories=no,status=no,scrollbars=no,resizable=no,menubar=no';
	wh = 322;    
  if( navigator.appName != "Netscape" )
		wh = 300;
  options += ',height=' + wh + ',innerheight=' + wh;
  if (jvers == 1.2 && not_nav3)
     setwindow(474,wh);
  url = "../members/feedback.htm" + "?" + window.location;
  window.open(url,"UserFeedback",options); 
}
function ReadCookie(name)
{
	ck = document.cookie;
	ts = ck.indexOf(name + "=");
	if( ts < 0 )
		return "";
	else
	{
		ts += name.length + 1;
		te = ck.indexOf( ";", ts );
		if( te < 0 ) te = ck.length;
		return unescape(ck.substring(ts,te));
	}
}
function gohome()
{
	ws = ReadCookie("ws");
	if( ws == "" )
		l = ReadCookie("b");
	else
		l = ReadCookie("c");

	if( l == "" )
		l = "0/index.asp";

	if( l.substring(0,4) != "http" )
	{
		if( ws == "" )
			ws = window.location.hostname;

		l = "http://" + ws + "/" + l;
	}
	// Ê¼ÖÕ·µ»ØÄ¬ÈÏÊ×Ò³ edit by panjun
	if( window.location.port == "80" || window.location.port == "" )
		l = "http://" + window.location.hostname + "/0/index.asp";
	else
		l = "http://" + window.location.hostname + ":" + window.location.port + "/0/index.asp";
	// end of edit
	window.location = l;
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// -->
