function LoadFlash(url,wmode,width,Height,param)
{ 
document.write(
  '<embed src="' + url + '" FlashVars="'+param+'" wmode=' + wmode +
  ' quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="' + width + 
  '" height="' + Height + '"></embed>');   
}
function gettime(){
var _date=new Date();

var _year=_date.getYear();
var _month=_date.getMonth()+1;
var _day=_date.getDate();

var _week=_date.getDay();
var _cn_week=["日","一","二","三","四","五","六"];
_week=_cn_week[_week];

var _hour=_date.getHours();
var _minute=_date.getMinutes();
var _second=_date.getSeconds();

var hello;
hello = _year+"年";
hello += _month+"月";
hello += _day+"日 星期";
hello += _week+" ";
hello += _hour+":";
hello += _minute+":";
hello += _second+"";

document.write(hello);
}
function resizepic(o)
{ 
var maxwidth=550;   //定义最大宽度
var maxheight=800;  //定义最大高度
var a=new Image();
a.src=o.src
if(a.width > maxwidth)
{
  o.style.width=maxwidth;
}
if (a.height> maxheight)
{
  o.style.height=maxheight;
 }
}
//无级缩放图片大小
function bbimg(o)
{
  var zoom=parseInt(o.style.zoom, 10)||100;
  zoom+=event.wheelDelta/12;
  if (zoom>0) o.style.zoom=zoom+'%';
  return false;
}