function Delegate() {} Delegate.create = function (o, f) { var a = new Array() ; var l = arguments.length ; for(var i = 2 ; i < l ; i++) a[i - 2] = arguments[i] ; return function() { var aP = [].concat(arguments, a) ; f.apply(o, aP); } } Tween = function(obj, prop, func, begin, finish, duration, suffixe){ this.init(obj, prop, func, begin, finish, duration, suffixe) } var t = Tween.prototype; t.obj = new Object(); t.prop=''; t.func = function (t, b, c, d) { return c*t/d + b; }; t.begin = 0; t.change = 0; t.prevTime = 0; t.prevPos = 0; t.looping = false; t._duration = 0; t._time = 0; t._pos = 0; t._position = 0; t._startTime = 0; t._finish = 0; t.name = ''; t.suffixe = ''; t._listeners = new Array(); t.setTime = function(t){ this.prevTime = this._time; if (t > this.getDuration()) { if (this.looping) { this.rewind (t - this._duration); this.update(); this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'}); } else { this._time = this._duration; this.update(); this.stop(); this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'}); } } else if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } t.getTime = function(){ return this._time; } t.setDuration = function(d){ this._duration = (d == null || d <= 0) ? 100000 : d; } t.getDuration = function(){ return this._duration; } t.setPosition = function(p){ this.prevPos = this._pos; var a = this.suffixe != '' ? this.suffixe : ''; this.obj[this.prop] = Math.round(p) + a; this._pos = p; this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'}); } t.getPosition = function(t){ if (t == undefined) t = this._time; return this.func(t, this.begin, this.change, this._duration); }; t.setFinish = function(f){ this.change = f - this.begin; }; t.geFinish = function(){ return this.begin + this.change; }; t.init = function(obj, prop, func, begin, finish, duration, suffixe){ if (!arguments.length) return; this._listeners = new Array(); this.addListener(this); if(suffixe) this.suffixe = suffixe; this.obj = obj; this.prop = prop; this.begin = begin; this._pos = begin; this.setDuration(duration); if (func!=null && func!='') { this.func = func; } this.setFinish(finish); } t.start = function(){ this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'}); //alert('in'); } t.rewind = function(t){ this.stop(); this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); } t.fforward = function(){ this._time = this._duration; this.fixTime(); this.update(); } t.update = function(){ this.setPosition(this.getPosition(this._time)); } t.startEnterFrame = function(){ this.stopEnterFrame(); this.isPlaying = true; this.onEnterFrame(); } t.onEnterFrame = function(){ if(this.isPlaying) { this.nextFrame(); setTimeout(Delegate.create(this, this.onEnterFrame), 0); } } t.nextFrame = function(){ this.setTime((this.getTimer() - this._startTime) / 1000); } t.stop = function(){ this.stopEnterFrame(); this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'}); } t.stopEnterFrame = function(){ this.isPlaying = false; } t.continueTo = function(finish, duration){ this.begin = this._pos; this.setFinish(finish); if (this._duration != undefined) this.setDuration(duration); this.start(); } t.resume = function(){ this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'}); } t.yoyo = function (){ this.continueTo(this.begin,this._time); } t.addListener = function(o){ this.removeListener (o); return this._listeners.push(o); } t.removeListener = function(o){ var a = this._listeners; var i = a.length; while (i--) { if (a[i] == o) { a.splice (i, 1); return true; } } return false; } t.broadcastMessage = function(){ var arr = new Array(); for(var i = 0; i < arguments.length; i++){ arr.push(arguments[i]) } var e = arr.shift(); var a = this._listeners; var l = a.length; for (var i=0; i document.body.clientWidth-zeusads.width_closed) { content_w = document.body.clientWidth-zeusads.width_closed; } else { content_w = zeusads.page_width; } } if(state=='opened'){ if(zeusads.page_width > document.body.clientWidth-zeusads.width_opened) { content_w = document.body.clientWidth-zeusads.width_opened; } else { content_w = zeusads.page_width; } } if(content_w) {wrapper.tween("width", content_w);} if(zeusads.side=='left') { if(state=='closed'){content_x =zeusads.width_closed;} if(state=='opened'){content_x =zeusads.width_opened;} } } wrapper.tween("left", content_x); } } zeusads.onWinResize=function(firstTime) { if(zeusads.tween_page && !firstTime) { zeusads.align_page_contents(zeusads.hidden ? 'closed' : 'opened'); } if(zeusads.getWinHeight()-zeusads.min_footer_y#adbar_container { color:black; z-index:16666; background-color:#ece9d8; width:184px; height:100%; position:fixed; top:0px; right:0px; display:none;}#adbar_container a {color:#001e9e;text-decoration:none;font-weight:bold;}#adbar_container a:visited {color:#001e9e;text-decoration:none;font-weight:normal;}#adbar_container a:hover {text-decoration:underline}#adbar_container img {border:none}#adbar_container, #adbar_footer { font-family:"Trebuchet MS",Arial; font-size:12px;}#adbar_container.adbar_right { border-left:1px solid #aaa89b;}#adbar_container.adbar_left { border-right:1px solid #aaa89b;}.adbar_left #adbar_sidebar { background-position:top right;background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/bg_sidebar_leftside.gif);}.adbar_right #adbar_sidebar { background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/bg_sidebar_rightside.gif);}#adbar_sidebar { float:left; width:24px; height:100%; cursor:pointer;}#adbar_open_btn { width:18px; height:26px; position:relative;}.adbar_left #adbar_open_btn{ background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/btn_open_leftside.gif);}.adbar_right #adbar_open_btn{ left:6px; background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/btn_open_rightside.gif);}#adbar_open_btn:hover{ background-position:bottom left;}#adbar_opener_anim { background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/anim_opener.gif); width:18px; height:180px; position:relative; left:6px;}.adbar_left #adbar_opener_anim { left:0px;}#adbar_main { width:160px; height:100%; float:right;}.adbar_left #adbar_main{ float:left;}#adbar_header { width:160px; height:26px; background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/bg_header.png);}.adbar_right #adbar_header { position:relative; left:1px;}#adbar_header #adbar_title{ float:left; margin-left:6px; margin-top:5px; cursor:default;}#adbar_header #adbar_close_btn { background:transparent url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/btn_close.png) no-repeat top left; width:14px; height:14px; margin-right:6px; margin-top:6px; float:right; cursor:default;}#adbar_header #adbar_close_btn:hover { background-image:url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/btn_close_hover.png);}#adbar_body { width:160px; height:100%;}#adbar_footer { position:fixed; bottom:0px; z-index:16667; cursor:pointer; padding:10px; width:140px; /* background-color:#ddd8ba; border-top:1px solid #aaa89b; */}#adbar_footer a { display:block; width:140px; height:32px; background:transparent url(http://webmaster.zeusfiles.com/dev/promo/zeusads/img/btn_download.gif) 0px 0px no-repeat; margin-bottom:0px; text-decoration:none;color:black;}#adbar_footer a:hover {background-position:0px -32px; color:#001e9e}#adbar_footer a:active {background-position:0px -64px; }#adbar_footer a:active span{padding:10px 0 0 39px;}#adbar_footer a span { display:block; padding:8px 0 0 37px;}.clear { clear:both; height:0px;}
Zeusfiles  
 
 
'); zeusads.init(5);