/* 双击自动滚屏 */
var currentpos,timer; 

function initialize() 
{ 
timer=setInterval("scrollwindow()", 80); 
} 
function sc(){ 
clearInterval(timer); 
} 
function scrollwindow() 
{ 
currentpos=(document.documentElement.scrollTop||document.body.scrollTop); 
window.scroll(0,++currentpos); 
if (currentpos != (document.documentElement.scrollTop||document.body.scrollTop)) 
sc(); 
} 
document.onmousedown=sc 
document.ondblclick=initialize
﻿

function $(id){return document.getElementById(id);}
function GetCurrentStyle (obj, prop) {
	if (obj.currentStyle) {
		return obj.currentStyle[prop];
	}
	else if (window.getComputedStyle) {
		prop = prop.replace (/([A-Z])/g, "-$1");
		prop = prop.toLowerCase ();
		return window.getComputedStyle (obj, "").getPropertyValue(prop);
	}
	return null;
}