document.writeln("<script type=\"text/javascript\">");
document.writeln("var $$ = function (id) {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" return \"string\" == typeof id ? document.getElementById(id) : id;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("};");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("var Extend = function(destination, source) {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" for (var property in source) {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  destination[property] = source[property];");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" return destination;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("var CurrentStyle = function(element){");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" return element.currentStyle || document.defaultView.getComputedStyle(element, null);");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("var Bind = function(object, fun) {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" var args = Array.prototype.slice.call(arguments).slice(2);");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" return function() {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  return fun.apply(object, args.concat(Array.prototype.slice.call(arguments)));");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("var forEach = function(array, callback, thisObject){");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" if(array.forEach){");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  array.forEach(callback, thisObject);");
document.writeln("");
document.writeln(" }else{");
document.writeln("");
document.writeln("  for (var i = 0, len = array.length; i < len; i++) { callback.call(thisObject, array[i], i, array); }");
document.writeln("");
document.writeln(" }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("var Tween = {");
document.writeln("");
document.writeln(" Quart: {");
document.writeln("");
document.writeln("  easeOut: function(t,b,c,d){");
document.writeln("");
document.writeln("   return -c * ((t=t/d-1)*t*t*t - 1) + b;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" },");
document.writeln("");
document.writeln(" Back: {");
document.writeln("");
document.writeln(" easeOut: function(t,b,c,d,s){");
document.writeln("");
document.writeln("   if (s == undefined) s = 1.70158;");
document.writeln("");
document.writeln("   return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" },");
document.writeln("");
document.writeln(" Bounce: {");
document.writeln("");
document.writeln("  easeOut: function(t,b,c,d){");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("   if ((t/=d) < (1/2.75)) {");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("    return c*(7.5625*t*t) + b;");
document.writeln("");
document.writeln("   } else if (t < (2/2.75)) {");
document.writeln("");
document.writeln("    return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;");
document.writeln("");
document.writeln("   } else if (t < (2.5/2.75)) {");
document.writeln("");
document.writeln("    return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;");
document.writeln("");
document.writeln("   } else {");
document.writeln("");
document.writeln("    return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;");
document.writeln("");
document.writeln("   }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("//容器对象,滑动对象,切换数量");
document.writeln("");
document.writeln("var SlideTrans = function(container, slider, count, options) {");
document.writeln("");
document.writeln(" this._slider = $$(slider);");
document.writeln("");
document.writeln(" this._container = $$(container);//容器对象");
document.writeln("");
document.writeln(" this._timer = null;//定时器");
document.writeln("");
document.writeln(" this._count = Math.abs(count);//切换数量");
document.writeln("");
document.writeln(" this._target = 0;//目标值");
document.writeln("");
document.writeln(" this._t = this._b = this._c = 0;//tween参数");
document.writeln("");
document.writeln(" this.Index = 0;//当前索引");
document.writeln("");
document.writeln(" this.SetOptions(options);");
document.writeln("");
document.writeln(" this.Auto = !!this.options.Auto;");
document.writeln("");
document.writeln(" this.Duration = Math.abs(this.options.Duration);");
document.writeln("");
document.writeln(" this.Time = Math.abs(this.options.Time);");
document.writeln("");
document.writeln(" this.Pause = Math.abs(this.options.Pause);");
document.writeln("");
document.writeln(" this.Tween = this.options.Tween;");
document.writeln("");
document.writeln(" this.onStart = this.options.onStart;");
document.writeln("");
document.writeln(" this.onFinish = this.options.onFinish;");
document.writeln("");
document.writeln(" var bVertical = !!this.options.Vertical;");
document.writeln("");
document.writeln(" this._css = bVertical ? \"top\" : \"left\";//方向");
document.writeln("");
document.writeln(" //样式设置");
document.writeln("");
document.writeln(" var p = CurrentStyle(this._container).position;");
document.writeln("");
document.writeln(" p == \"relative\" || p == \"absolute\" || (this._container.style.position = \"relative\");");
document.writeln("");
document.writeln(" this._container.style.overflow = \"hidden\";");
document.writeln("");
document.writeln(" this._slider.style.position = \"absolute\";");
document.writeln("");
document.writeln(" this.Change = this.options.Change ? this.options.Change :");
document.writeln("");
document.writeln("  this._slider[bVertical ? \"offsetHeight\" : \"offsetWidth\"] / this._count;");
document.writeln("");
document.writeln("};");
document.writeln("");
document.writeln("SlideTrans.prototype = {");
document.writeln("");
document.writeln("  //设置默认属性");
document.writeln("");
document.writeln("  SetOptions: function(options) {");
document.writeln("");
document.writeln(" this.options = {//默认值");
document.writeln("");
document.writeln("  Vertical: true,//是否垂直方向（方向不能改）");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("  Auto:  true,//是否自动");
document.writeln("");
document.writeln("  Change:  0,//改变量");
document.writeln("");
document.writeln("  Duration: 30,//滑动持续时间");
document.writeln("");
document.writeln("  Time:  10,//滑动延时");
document.writeln("");
document.writeln("  Pause:  3000,//停顿时间(Auto为true时有效)");
document.writeln("");
document.writeln("  onStart: function(){},//开始转换时执行");
document.writeln("");
document.writeln("  onFinish: function(){},//完成转换时执行");
document.writeln("");
document.writeln("  Tween:  Tween.Quart.easeOut//tween算子");
document.writeln("");
document.writeln(" };");
document.writeln("");
document.writeln(" Extend(this.options, options || {});");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //开始切换");
document.writeln("");
document.writeln("  Run: function(index) {");
document.writeln("");
document.writeln(" //修正index");
document.writeln("");
document.writeln(" index == undefined && (index = this.Index);");
document.writeln("");
document.writeln(" index < 0 && (index = this._count - 1) || index >= this._count && (index = 0);");
document.writeln("");
document.writeln(" //设置参数");
document.writeln("");
document.writeln(" this._target = -Math.abs(this.Change) * (this.Index = index);");
document.writeln("");
document.writeln(" this._t = 0;");
document.writeln("");
document.writeln(" this._b = parseInt(CurrentStyle(this._slider)[this.options.Vertical ? \"top\" : \"left\"]);");
document.writeln("");
document.writeln(" this._c = this._target - this._b;");
document.writeln("");
document.writeln(" this.onStart();");
document.writeln("");
document.writeln(" this.Move();");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //移动");
document.writeln("");
document.writeln("  Move: function() {");
document.writeln("");
document.writeln(" clearTimeout(this._timer);");
document.writeln("");
document.writeln(" //未到达目标继续移动否则进行下一次滑动");
document.writeln("");
document.writeln(" if (this._c && this._t < this.Duration) {");
document.writeln("");
document.writeln("  this.MoveTo(Math.round(this.Tween(this._t++, this._b, this._c, this.Duration)));");
document.writeln("");
document.writeln("  this._timer = setTimeout(Bind(this, this.Move), this.Time);");
document.writeln("");
document.writeln(" }else{");
document.writeln("");
document.writeln("  this.MoveTo(this._target);");
document.writeln("");
document.writeln("  this.Auto && (this._timer = setTimeout(Bind(this, this.Next), this.Pause));");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln(" }");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //移动到");
document.writeln("");
document.writeln("  MoveTo: function(i) {");
document.writeln("");
document.writeln(" this._slider.style[this._css] = i + \"px\";");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //下一个");
document.writeln("");
document.writeln("  Next: function() {");
document.writeln("");
document.writeln(" this.Run(++this.Index);");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //上一个");
document.writeln("");
document.writeln("  Previous: function() {");
document.writeln("");
document.writeln(" this.Run(--this.Index);");
document.writeln("");
document.writeln("  },");
document.writeln("");
document.writeln("  //停止");
document.writeln("");
document.writeln("  Stop: function() {");
document.writeln("");
document.writeln(" clearTimeout(this._timer); this.MoveTo(this._target);");
document.writeln("");
document.writeln("  }");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("};");
document.writeln("");
document.writeln("</script>			<style type=\"text/css\">");
document.writeln("");
document.writeln(".container, .container img{width:1000px; height:180px;}");
document.writeln("");
document.writeln(".container img{border:0;display:block;}			</style>");
document.writeln("");
document.writeln("			<div class=\"container\" id=\"idContainer\">");
document.writeln("");
document.writeln("				<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" id=\"idSlider\">");
document.writeln("");
document.writeln("					<tbody>");
document.writeln("");
document.writeln("						<tr>");
document.writeln("");
document.writeln("							<td>");
document.writeln("");
document.writeln("								<a href=\"http://s.click.taobao.com/t_8?e=7HZ6jHSTZTldtx8Rvnfx%2BejkW9eCzZ%2FkiB3l3zuPMjCP&p=mm_27599001_0_0\" target=\"_blank\"><img  src=\"/gg/baos.gif\" /></a></td>");
document.writeln("");
document.writeln("							<td>");
document.writeln("");
document.writeln("								<a href=\"http://s.click.taobao.com/t_1?i=qz8ztU7rdDi%2FZw%3D%3D&p=mm_27599001_0_0\" target=\"_blank\"><img src=\"/gg/fx.gif\" /></a></td>");
document.writeln("								<td>");
document.writeln("");
document.writeln("								<a href=\"http://s.click.taobao.com/t_8?e=7HZ6jHSTbIKgefjxVWR7eFma6SeOFTq6yJpjVEKGkfCQ6g%3D%3D&p=mm_27599001_0_0\" target=\"_blank\"><img src=\"/gg/ht.gif\" /></a></td>");
document.writeln("						</tr>");
document.writeln("");
document.writeln("					</tbody>");
document.writeln("");
document.writeln("				</table>");
document.writeln("");
document.writeln("			</div>");
document.writeln("");
document.writeln("<script>");
document.writeln("");
document.writeln("new SlideTrans(\"idContainer\", \"idSlider\", 3, { Vertical: false }).Run();");
document.writeln("");
document.writeln("</script>			<style type=\"text/css\">");
document.writeln("");
document.writeln(".container ul, .container li{list-style:none;margin:0;padding:0;*display:inline;}");
document.writeln("");
document.writeln(".num{ position:absolute; right:5px; bottom:5px; font:12px/1.5 tahoma, arial; height:18px;}");
document.writeln("");
document.writeln(".num li{");
document.writeln("");
document.writeln(" float: left;");
document.writeln("");
document.writeln(" color: #d94b01;");
document.writeln("");
document.writeln(" text-align: center;");
document.writeln("");
document.writeln(" line-height: 16px;");
document.writeln("");
document.writeln(" width: 16px;");
document.writeln("");
document.writeln(" height: 16px;");
document.writeln("");
document.writeln(" font-family: Arial;");
document.writeln("");
document.writeln(" font-size: 11px;");
document.writeln("");
document.writeln(" cursor: pointer;");
document.writeln("");
document.writeln(" margin-left: 3px;");
document.writeln("");
document.writeln(" border: 1px solid #f47500;");
document.writeln("");
document.writeln(" background-color: #fcf2cf;");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln(".num li.on{");
document.writeln("");
document.writeln(" line-height: 18px;");
document.writeln("");
document.writeln(" width: 18px;");
document.writeln("");
document.writeln(" height: 18px;");
document.writeln("");
document.writeln(" font-size: 14px;");
document.writeln("");
document.writeln(" margin-top:-2px;");
document.writeln("");
document.writeln(" background-color: #ff9415;");
document.writeln("");
document.writeln(" font-weight: bold;");
document.writeln("");
document.writeln(" color:#FFF;");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("</style>	");
document.writeln("");
