/*






function getTime() {
c1 = new Image(); c1.src = "page/images/images/1c.gif";
c2 = new Image(); c2.src = "page/images/images/2c.gif";
c3 = new Image(); c3.src = "page/images/images/3c.gif";
c4 = new Image(); c4.src = "page/images/images/4c.gif";
c5 = new Image(); c5.src = "page/images/images/5c.gif";
c6 = new Image(); c6.src = "page/images/images/6c.gif";
c7 = new Image(); c7.src = "page/images/images/7c.gif";
c8 = new Image(); c8.src = "page/images/images/8c.gif";
c9 = new Image(); c9.src = "page/images/images/9c.gif";
c0 = new Image(); c0.src = "page/images/images/0c.gif";
Cc = new Image(); Cc.src = "page/images/images/Cc.gif";
now = new Date();

//ENTER BELOW THE DATE YOU WISH TO COUNTDOWN TO
later = new Date("August 8 2008 20:00:01");

days = (later - now) / 1000 / 60 / 60 / 24;
daysRound = Math.floor(days);
hours = (later - now) / 1000 / 60 / 60 - (24 * daysRound);
hoursRound = Math.floor(hours);
minutes = (later - now) / 1000 /60 - (24 * 60 * daysRound) - (60 * hoursRound);
minutesRound = Math.floor(minutes);
seconds = (later - now) / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound);
secondsRound = Math.round(seconds);

if (secondsRound <= 9) {
document.images.g.src = c0.src;
document.images.h.src = eval("c"+secondsRound+".src");
}
else {
document.images.g.src = eval("c"+Math.floor(secondsRound/10)+".src");
document.images.h.src = eval("c"+(secondsRound%10)+".src");
}
if (minutesRound <= 9) {
document.images.d.src = c0.src;
document.images.e.src = eval("c"+minutesRound+".src");
}
else {
document.images.d.src = eval("c"+Math.floor(minutesRound/10)+".src");
document.images.e.src = eval("c"+(minutesRound%10)+".src");
}
if (hoursRound <= 9) {
document.images.y.src = c0.src;
document.images.z.src = eval("c"+hoursRound+".src");
}
else {
document.images.y.src = eval("c"+Math.floor(hoursRound/10)+".src");
document.images.z.src = eval("c"+(hoursRound%10)+".src");
}
if (daysRound <= 9) {
document.images.x.src = c0.src;
document.images.a.src = c0.src;
document.images.b.src = eval("c"+daysRound+".src");
}
if (daysRound <= 99) {
document.images.x.src = c0.src;
document.images.a.src = eval("c"+Math.floor((daysRound/10)%10)+".src");
document.images.b.src = eval("c"+Math.floor(daysRound%10)+".src");
}
if (daysRound <= 9999){
document.images.i.src = eval("c"+Math.floor(daysRound/1000)+".src");
document.images.x.src = eval("c"+Math.floor((daysRound/100)%10)+".src");
document.images.a.src = eval("c"+Math.floor((daysRound/10)%10)+".src");
document.images.b.src = eval("c"+Math.floor(daysRound%10)+".src");
}
newtime = window.setTimeout("getTime();", 1000);
}
//  End -->




















self.onError=null;
currentXx = currentYy = 0;
whichItt = null;
lastScrollXx = 0; lastScrollYy = 0;
NSs = (document.layers) ? 1 : 0;
IEs = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeatt() {
if(IEs) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
if(NSs) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollYy) {
percent = .1 * (diffY - lastScrollYy);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IEs) document.all.floater.style.pixelTop += percent;
if(NSs) document.floater.top += percent; 
lastScrollYy = lastScrollYy + percent;
}
if(diffX != lastScrollXx) {
percent = .1 * (diffX - lastScrollXx);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IEs) document.all.floater.style.pixelLeft += percent;
if(NSs) document.floater.left += percent;
lastScrollXx = lastScrollXx + percent;
}
}
<!-- /STALKER CODE -->
<!-- DRAG Drop CODE -->
function checkFocuss(x,y) { 
stalkerx = document.floater.pageX;
stalkery = document.floater.pageY;
stalkerwidth = document.floater.clip.width;
stalkerheight = document.floater.clip.height;
if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;
else return false;
}
function grabItt(e) {
if(IEs) {
whichItt = event.srcElement;
while (whichItt.id.indexOf("floater") == -1) {
whichItt = whichItt.parentElement;
if (whichItt == null) { return true; }
}
whichItt.style.pixelLeft = whichItt.offsetLeft;
whichItt.style.pixelTop = whichItt.offsetTop;
currentXx = (event.clIEsntX + document.body.scrollLeft);
currentYy = (event.clIEsntY + document.body.scrollTop);   
} else { 
window.captureEvents(Event.MOUSEMOVE);
if(checkFocuss (e.pageX,e.pageY)) { 
whichItt = document.floater;
StalkerTouchedX = e.pageX-document.floater.pageX;
StalkerTouchedY = e.pageY-document.floater.pageY;
} 
}
return true;
}
function moveItt(e) {
if (whichItt == null) { return false; }
if(IEs) {
newX = (event.clIEsntX + document.body.scrollLeft);
newY = (event.clIEsntY + document.body.scrollTop);
distanceX = (newX - currentXx);    distanceY = (newY - currentYy);
currentXx = newX;    currentYy = newY;
whichItt.style.pixelLeft += distanceX;
whichItt.style.pixelTop += distanceY;
if(whichItt.style.pixelTop < document.body.scrollTop) whichItt.style.pixelTop = document.body.scrollTop;
if(whichItt.style.pixelLeft < document.body.scrollLeft) whichItt.style.pixelLeft = document.body.scrollLeft;
if(whichItt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichItt.style.pixelWidth - 20) whichItt.style.pixelLeft = document.body.offsetWidth - whichItt.style.pixelWidth - 20;
if(whichItt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichItt.style.pixelHeight - 5) whichItt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichItt.style.pixelHeight - 5;
event.returnValue = false;
} else { 
whichItt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);
if(whichItt.left < 0+self.pageXOffset) whichItt.left = 0+self.pageXOffset;
if(whichItt.top < 0+self.pageYOffset) whichItt.top = 0+self.pageYOffset;
if( (whichItt.left + whichItt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichItt.left = ((window.innerWidth+self.pageXOffset)-whichItt.clip.width)-17;
if( (whichItt.top + whichItt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichItt.top = ((window.innerHeight+self.pageYOffset)-whichItt.clip.height)-17;
return false;
}
return false;
}
function dropItt() {
whichItt = null;
if(NSs) window.releaseEvents (Event.MOUSEMOVE);
return true;
}
<!-- DRAG Drop CODE -->
if(NSs) {
window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);
window.onmousedown = grabItt;
window.onmousemove = moveItt;
window.onmouseup = dropItt;
}
if(NSs || IEs) action = window.setInterval("heartBeatt()",1);
function closeAdd(){
 Layer1sss.style.visibility='hidden';
 Layer2sss.style.visibility='hidden';
dllayer3sss.style.visibility='hidden';
dllayer2sss.style.visibility='hidden';} 



*/








//-------------------------------------------------------------------------
/*var delta=0.015
var collection;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write('<DIV id='+id+' style="Z-INDEX: 0; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');

var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;

this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play()
{
if(screen.width<=800)
{
for(var i=0;i<collection.length;i++)
{
collection[i].object.style.display = 'none';
}
return;
}
for(var i=0;i<collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}

if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
} 

var theFloaters = new floaters();
theFloaters.addItem('followDiv1','document.body.clientWidth-100',0,'</a><br><a href=广告链接地址 target=_blank><img src=广告图片地址 width=100 height=400 border=0></a>');
theFloaters.addItem('followDiv2',0,0,'<br><a href=广告链接地址 target=_blank><img src=广告图片地址 width=100 height=400 border=0></a>');
theFloaters.play(); 
*/
