function timestamp(){
	var a;
	a=new Date(document.lastModified);
	lm_year=a.getYear();lm_year=((lm_year<1000)?((lm_year<70)?2000:1900):0)+lm_year;
	lm_month=a.getMonth()+1;lm_month=((lm_month<10)?'0':'')+lm_month;
	lm_day=a.getDate();lm_day=((lm_day<10)?'0':'')+lm_day;
	document.write("<p class='small_w_s'>最近更新:  " + lm_year + "年" + lm_month+"月"+lm_day+"日");
}
function timestamp1(){
	var a;
	a=new Date(document.lastModified);
	lm_year=a.getYear();
	if (lm_year<1000){ 				//just in case date is delivered with 4 digits
		if (lm_year<70){
		lm_year=2000+lm_year;
		}
		else lm_year=1900+lm_year;
	}								//end workaround
	lm_month=a.getMonth()+1;
	if (lm_month<10){
		lm_month='0'+lm_month;
	}
	lm_day=a.getDate();
	if (lm_day<10){
		lm_day='0'+lm_day;
	}
	
	document.write("<p class='small_b_s'>最近更新: " + lm_year + "年" + lm_month+"月"+lm_day+"日");
}
function scrollit_r2l(seed)
{
  var m1  = "  offering lots of useful information         "; 
  var m2  = "    ....    "; //do not edit here
  var m3  = "  Visit us now!      ";
  var m4  = "  If you have any suggestions,       ";
  var m5  = "  please contact us........   Thanks!!  ";
  var msg=m1+m2+m3+m2+m4+m2+m5;
  var out = "Luckfurt Online                ";
  var c   = 1;
  if (seed > 100) {
    seed--;
    var cmd="scrollit_r2l(" + seed + ")";
    timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 100 && seed > 0) {
    for (c=0 ; c < seed ; c++) {
      out+=" ";
    }
    out+=msg;
    seed--;
    var cmd="scrollit_r2l(" + seed + ")";
    window.status=out;
    timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 0) {
    if (-seed < msg.length) {
      out+=msg.substring(-seed,msg.length);
      seed--;
      var cmd="scrollit_r2l(" + seed + ")";
      window.status=out;
      timerTwo=window.setTimeout(cmd,100);
    }
    else {
      window.status=" ";
      timerTwo=window.setTimeout("scrollit_r2l(100)",75);
    }
  }
}

	var	numpics=20;
	var	staticpic=-1;
	function preload()
	{
		picpath = "gxf/nv_row_";

		pic = new Array();
		for ( var i = 0; i <= numpics; i++)
		{
			pic[i] = new Image();
			pic[i].src = picpath + getpicname(i);
		}
	}

	function getpicname(picnum)
	{
		if (picnum == 0) return "01.jpg";
		if (picnum == 1) return "02.jpg";
	    if (picnum == 2) return "03.jpg";
		if (picnum == 3) return "04.jpg";
		if (picnum == 4) return "05.jpg";
	    if (picnum == 11) return "s_01.jpg";
        if (picnum == 12) return "s_02.jpg";
		if (picnum == 13) return "s_03.jpg";
		return "noname.jpg";
	}

	function showpic(picnum)
	{
		if (picnum >= 0 && picnum <= numpics) {
			document.images['gfx'+picnum].src = "gfx/nv_row_hi_"+getpicname(picnum);
		}
	}

	function hidepic(picnum)
	{
		if (picnum >= 0 && picnum <= numpics && picnum != staticpic) {
			document.images['gfx'+picnum].src = "gfx/nv_row_"+getpicname(picnum);
		}
	}
		
	

