function followmouse(){
	try{
	leftright.style.top = window.event.y-1+document.body.scrollTop
	topdown.style.left = window.event.x-1 
	topdown.style.height = window.event.y-1 + document.body.scrollTop + document.body.clientHeight
	  //topdown.style.height = document.body.scrollTop + document.body.clientHeight 
 	}catch(e){}
}
 
 document.onmousemove=followmouse;
 
function init(){
var jsstr = ""
+ "<img src=\"about:blank\" id=\"leftright\" style=\"width:expression(document.body.clientWidth);height:1px;position:absolute;left:0;top:0;background-color:#6699cc;z-index:100;\" \/>\n"
+ "<img src=\"about:blank\" id=\"topdown\" style=\"height:expression(document.body.clientHeight);width:1px;position:absolute;left:0;top:0;background-color:#6699cc;z-index:100;\" \/>\n"
document.writeln(jsstr);
}

init();

			   
//------------------------------------------------------------			   
function changepage(tt){
    
   if(location.href.indexOf('?')==-1){
	   location.href = location.href +"?page="+tt;
   }else{
	   ss=location.href.substring(0,location.href.indexOf('?'));
	   location.href = ss +"?page="+tt;
   }
}
			 
//------------------------------------------------------------
function Setcookie (name, value) { //设置名称为name,值为value的Cookie 

var date=new Date(); 
var ms= 24 * 60 * 60 * 1000; //每分钟有60秒，每秒1000毫秒 
date.setTime(date.getTime()+ms); 
str ="; expires="+date.toGMTString(); 

var argc = Setcookie.arguments.length; 
var argv = Setcookie.arguments; 
var path = (argc > 3) ? argv[3] : null; 
var domain = (argc > 4) ? argv[4] : null; 
var secure = (argc > 5) ? argv[5] : false; 

document.cookie = name + "=" + value + 
((path == null) ? "" : ("; path=" + path)) + 
str + 
((domain == null) ? "" : ("; domain=" + domain)) + 
((secure == true) ? "; secure" : ""); 
 
} 
//-------------------------------------------------------------