/*
☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆
★                                                                  ★
☆                ZqLib - JavaScript版                              ☆
★                                                                  ★
☆  版权所有: 张勤                                                  ☆
★                                                                  ★
☆  程序制作: 张勤                                                  ☆
★            Email:onlyzq@gmail.com                                ★
☆            QQ:17503620                                           ☆
★            Msn:onlyzq@hotmail.com                                ★
★                                                                  ★
★                                                                  ★
☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆
*/

/**引用方法
 strPath是引用页页和本文件的相对路径
 <script language="javascript">
   strPath="../"
 </script>
 <script type='text/javascript' src='zqlib.js'></script>
**/

/*--------------------------------------------------------------------------
小方法：
mouse变成小手    style="cursor:pointer;cursor:hand"
mouse变成等待    style="cursor:wait"
--------------------------------------------------------------------------*/
//ado变量
document.write("<!--#Include File='"+strPath+"adovbs.inc'-->");
//文字震动
document.write("<SCRIPT language='javascript' src='"+strPath+"wzzd.js'></SCRIPT>");
//其它许多功能
document.write("<SCRIPT language='javascript' src='"+strPath+"webfun.js'></SCRIPT>");
//改变当前页面字体大小
document.write("<SCRIPT language='javascript' src='"+strPath+"textsizer.js'></SCRIPT>");
//form验证用的 用法看例子(demo_doc\form_validator目录里，在demo2.html最下面有中文说明)  
document.write("<style>.tfvHighlight{font-weight: bold; color: red;}	.tfvNormal{font-weight: normal;	color: black;}</style>");
document.write("<SCRIPT language='javascript' src='"+strPath+"validator.js'></SCRIPT>");
//table加间隔色
document.write("<SCRIPT language='javascript' src='"+strPath+"table.js'></SCRIPT>");
//tree用的
/*tree的使用方法
	1、在demo_doc\dtreeapi.html有一些说明。
	2、构建树
		d = new dTree('d');
	    d.icon = {  //指定树图片的路径，
			root				: 'img1/base.gif',
			folder			: 'img1/folder.gif',
			folderOpen	: 'img1/folderopen.gif',
			node				: 'img1/page.gif',
			empty				: 'img1/empty.gif',
			line				: 'img1/line.gif',
			join				: 'img1/join.gif',
			joinBottom	: 'img1/joinbottom.gif',
			plus				: 'img1/plus.gif',
			plusBottom	: 'img1/plusbottom.gif',
			minus				: 'img1/minus.gif',
			minusBottom	: 'img1/minusbottom.gif',
			nlPlus			: 'img1/nolines_plus.gif',
			nlMinus			: 'img1/nolines_minus.gif'
	    };
		d.add(0,-1,'My example tree');
		d.add(1,0,'Node 1','example01.html');
		d.add(2,0,'Node 2','example01.html');
		d.add(3,1,'Node 1.1','example01.html');
		d.add(4,0,'Node 3','example01.html');
        d.config.target="_blank";    //指定整个树链接的目标,也可单独指定每个结点的目标（看dtree.js），
		d.config.useIcons=false      //结点不使用图标
		document.write(d);
	3、打开指定结点 d.openTo(4, true);
	4、打开所有结点 d.openAll();
	5、关闭所有结点 d.closeAll();
*/
document.write("<link rel='StyleSheet' href='"+strPath+"dtree.css' type='text/css' />");
document.write("<script type='text/javascript' src='"+strPath+"dtree.js'></script>");

