document.writeln('<!-- 请置于所有广告位代码之前 -->')
document.writeln('<!--  <script type=\"text/javascript\" src=\"http://cbjs.baidu.com/js/s.js\"></script> -->')
document.writeln('')
document.writeln('<script charset=\"gb2312\" language=\"javascript\" src=\"/JS/adR.js\"></script>')
document.writeln('')
document.writeln('<script type=\"text/javascript\">')
document.writeln('function scrollDoor(){')
document.writeln('}')
document.writeln('scrollDoor.prototype = {')
document.writeln('	sd : function(menus,divs,openClass,closeClass){')
document.writeln('		var _this = this;')
document.writeln('		if(menus.length != divs.length)')
document.writeln('		{')
document.writeln('			alert(\"菜单层数量和内容层数量不一样!\");')
document.writeln('			return false;')
document.writeln('		}				')
document.writeln('		for(var i = 0 ; i < menus.length ; i++)')
document.writeln('		{	')
document.writeln('			_this.$(menus[i]).value = i;				')
document.writeln('			_this.$(menus[i]).onmouseover = function(){')
document.writeln('					')
document.writeln('				for(var j = 0 ; j < menus.length ; j++)')
document.writeln('				{						')
document.writeln('					_this.$(menus[j]).className = closeClass;')
document.writeln('					_this.$(divs[j]).style.display = \"none\";')
document.writeln('				}')
document.writeln('				_this.$(menus[this.value]).className = openClass;	')
document.writeln('				_this.$(divs[this.value]).style.display = \"block\";				')
document.writeln('			}')
document.writeln('		}')
document.writeln('		},')
document.writeln('	$ : function(oid){')
document.writeln('		if(typeof(oid) == \"string\")')
document.writeln('		return document.getElementById(oid);')
document.writeln('		return oid;')
document.writeln('	}')
document.writeln('}')
document.writeln('window.onload = function(){')
document.writeln('	var SDmodel = new scrollDoor();')
document.writeln('	SDmodel.sd([\"m01\",\"m02\"],[\"c01\",\"c02\"],\"sd01\",\"sd02\");')
document.writeln('')
document.writeln('}')
document.writeln('</SCRIPT>')
document.writeln('')
document.writeln('<SCRIPT language=JavaScript type=text/JavaScript>')
document.writeln('//改变图片大小')
document.writeln('function resizepic(thispic)')
document.writeln('{ ')
document.writeln('if(thispic.width>400) thispic.width=400; ')
document.writeln('}')
document.writeln('//无级缩放图片大小')
document.writeln('function bbimg(o)')
document.writeln('{')
document.writeln('  var zoom=parseInt(o.style.zoom, 10)||100;')
document.writeln('  zoom+=event.wheelDelta/12;')
document.writeln('  if (zoom>0) o.style.zoom=zoom+\"%\";')
document.writeln('  return false;')
document.writeln('}')
document.writeln('</SCRIPT>')

