bu kod işinize yarar belki

<script type="text/javascript"> <!-- 
document.write('<style type="text/css">#im_popupFixed { z-index: 9999;  position: fixed;  *position:absolute; overflow:hidden; bottom: 0px;  right: 0px;  width: 140px;  height: 205px; *top:expression(eval(document.compatMode && document.compatMode=="CSS1Compat") ? documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop+(document.body.clientHeight-this.clientHeight));} #im_popupDiv {  position: relative;}</style>');

var url="http://www.adport.com.tr";

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 gp_t = Tween.prototype;
gp_t.obj = new Object();
gp_t.prop='';
gp_t.func = function (t, b, c, d) { return c*t/d + b; };
gp_t.begin = 0;
gp_t.change = 0;
gp_t.prevTime = 0;
gp_t.prevPos = 0;
gp_t.looping = false;
gp_t._duration = 0;
gp_t._time = 0;
gp_t._pos = 0;
gp_t._position = 0;
gp_t._startTime = 0;
gp_t._finish = 0;
gp_t.name = '';
gp_t.suffixe = '';
gp_t._listeners = new Array(); 
gp_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();
}
}
gp_t.getTime = function(){
return this._time;
}
gp_t.setDuration = function(d){
this._duration = (d == null || d <= 0) ? 100000 : d;
}
gp_t.getDuration = function(){
return this._duration;
}
gp_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'});
}
gp_t.getPosition = function(t){
if (t == undefined) t = this._time;
return this.func(t, this.begin, this.change, this._duration);
};
gp_t.setFinish = function(f){
this.change = f - this.begin;
};
gp_t.geFinish = function(){
return this.begin + this.change;
};
gp_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);
}
gp_t.start = function(){
this.rewind();
this.startEnterFrame();
//alert('in');
}
gp_t.rewind = function(t){
this.stop();
this._time = (t == undefined) ? 0 : t;
this.fixTime();
this.update();
}
gp_t.fforward = function(){
this._time = this._duration;
this.fixTime();
this.update();
}
gp_t.update = function(){
this.setPosition(this.getPosition(this._time));
}
gp_t.startEnterFrame = function(){
this.stopEnterFrame();
this.isPlaying = true;
this.onEnterFrame();
}
gp_t.onEnterFrame = function(){
if(this.isPlaying) {
this.nextFrame();
setTimeout(Delegate.create(this, this.onEnterFrame), 0);
}
}
gp_t.nextFrame = function(){
this.setTime((this.getTimer() - this._startTime) / 1000);
}
gp_t.stop = function(){
this.stopEnterFrame();
this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});
}
gp_t.stopEnterFrame = function(){
this.isPlaying = false;
}

gp_t.continueTo = function(finish, duration){
this.begin = this._pos;
this.setFinish(finish);
if (this._duration != undefined)
this.setDuration(duration);
this.start();
}
gp_t.resume = function(){
this.fixTime();
this.startEnterFrame();
this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});
}
gp_t.yoyo = function (){
this.continueTo(this.begin,this._time);
}

gp_t.addListener = function(o){
this.removeListener (o);
return this._listeners.push(o);
}
gp_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;
}
gp_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<l; i++){
if(a[i][e])
a[i][e].apply(a[i], arr);
}
}
gp_t.fixTime = function(){
this._startTime = this.getTimer() - this._time * 1000;
}
gp_t.getTimer = function(){
return new Date().getTime() - this._time;
}
Tween.regularEaseOut = function(t,b,c,d){
return -c *(t/=d)*(t-2) + b;
}

// our global object
var gp_popup = {}

/* images */
gp_popup.images = ['http://banner5.adport.com.tr/spacer.gif','http://banner5.adport.com.tr/spacer.gif','http://banner5.adport.com.tr/spacer.gif'];
gp_popup.names = ['<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="190"><param name="movie" value="http://banner5.adport.com.tr/bannerDiv/banner_141_1.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed src="http://banner5.adport.com.tr/bannerDiv/banner_141_1.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="190"></embed>','<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="190"><param name="movie" value="http://banner5.adport.com.tr/bannerDiv/banner_141_2.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed wmode="transparent" src="http://banner5.adport.com.tr/bannerDiv/banner_141_2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="190"></embed>','<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="190"><param name="movie" value="http://banner5.adport.com.tr/bannerDiv/banner_141_3.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed wmode="transparent" src="http://banner5.adport.com.tr/bannerDiv/banner_141_3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="190"></embed>'];
gp_popup.adres = ['http://ads1.adport.com.tr/divBannerClick.php?68CA68C460E44488386430602B4C5ED05CDC69CA67923F7A2F6E317221C45CDC69CA6D923F7A2C682C4C66DE5F923F7A2C6C2D6E2B4C6ED26FCA448838682B60324C60F06FCA6DDC5CD850A4477A72EE725C66D268D26EC26FD26E5C5EDE684C70E467923F7A72EE725C64E464E870E467D229C66ADA21C844883862','http://ads1.adport.com.tr/divBannerClick.php?68CA68C460E44488386430602B4C5ED05CDC69CA67923F7A2F6E317221C45CDC69CA6D923F7A2C682C4C66DE5F923F7A2C6C2D6E2B4C6ED26FCA448838682B60324C60F06FCA6DDC5CD850A4477A72EE725C66D268D26EC26FD26E5C5EDE684C70E467923F7A72EE725C64E464E870E467D229C66ADA21C844883862','http://ads1.adport.com.tr/divBannerClick.php?68CA68C460E44488386430602B4C5ED05CDC69CA67923F7A2F6E317221C45CDC69CA6D923F7A2C682C4C66DE5F923F7A2C6C2D6E2B4C6ED26FCA448838682B60324C60F06FCA6DDC5CD850A4477A72EE725C66D268D26EC26FD26E5C5EDE684C70E467923F7A72EE725C64E464E870E467D229C66ADA21C844883862'];

gp_popup.cookies = { 
createCookie: function(name,value,days) {
if(days) { 
var date=new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires="; expires="+date.toGMTString();
} else {
var expires="";
}
document.cookie = name + "=" + value + expires + "; path=/";
},
readCookie: function(name) { 
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
},
eraseCookie: function(name) { 
createCookie(name,"",-1);
}
}



gp_popup.createPopup = function() {
    var str='<div id="im_blue">';
    str+='			<iframe src="http://ads1.adport.com.tr/runBanner.php?codeID=16270&memberID=2500&siteID=4007&channelID=4769&ptypeID=1&adp_w=140&adp_h=190&bt=d" width="0" height="0" name="difrm" id="difrm" style="border:0px; position:absolute; bottom:100px;"></iframe>';
    str+='        <a id="im_close" href="#"><img src="http://ads1.adport.com.tr/close.png" style="float:right;" border="0"></a>';
    str+='          <a href="http://ads1.adport.com.tr/divBannerClick.php?68CA68C460E44488386430602B4C5ED05CDC69CA67923F7A2F6E317221C45CDC69CA6D923F7A2C682C4C66DE5F923F7A2C6C2D6E2B4C6ED26FCA448838682B60324C60F06FCA6DDC5CD850A4477A72EE725C66D268D26EC26FD26E5C5EDE684C70E467923F7A72EE725C64E464E870E467D229C66ADA21C844883862" target="_blank" id="im_adres">';
    str+='          <img id="im_image" src="http://ads1.adport.com.tr/spacer.gif" style="border:0px; position: absolute; right: 0px; top: 20px; z-index:9999; cursor:pointer;" height="190" width="140" /></a>';
    str+='          <div id="im_name"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="190"><param name="movie" value="http://banner5.adport.com.tr/bannerDiv/banner_141_1.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed src="http://banner5.adport.com.tr/bannerDiv/banner_141_1.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="190"></embed></div></p>';
	str+='    </div>';
	var popup = document.createElement('div');
popup.id = "im_popupDiv";
popup.name = "popupDiv";
popup.style.height = "0";
var newcontent = document.createElement('div');
newcontent.id = "im_popupFixed";
newcontent.style.height="205";
newcontent.appendChild(popup);
popup.innerHTML = str;
var scr = document.getElementById('adportDIV');
scr.parentNode.insertBefore(newcontent,scr);
}
gp_popup.closePopup = function() {
var divBG = document.getElementById('im_popupDiv');
divBG.style.display = 'none';
gp_popup.cookies.createCookie('flc_1','1',1);
return false;
}
gp_popup.show_next_thumb = function() {if (this.current_thumb >= this.total_thumbs) {this.current_thumb = 0;}
//var thumb = document.getElementById('im_image');
var names = document.getElementById('im_name');
var adres = document.getElementById('im_adres');
//thumb.src = ''+this.images[this.current_thumb];
names.innerHTML = this.names[this.current_thumb];
adres.href = this.adres[this.current_thumb];
this.current_thumb += 1;
}
if (!gp_popup.cookies.readCookie('flc_2')) { 
	gp_popup.preloaded_images = new Array(gp_popup.images.length); 
for (var i = 0;i<gp_popup.images.length; i++) {
	gp_popup.preloaded_images[i] = new Image(); 
	gp_popup.preloaded_images[i].src = gp_popup.images[i]; 
	} 
	gp_popup.createPopup(); 
	gp_popup.myWin = document.getElementById('im_popupDiv'); 
	gp_popup.myWin.style.top = gp_popup.myWin.style.height; 
	gp_popup.show = new Tween(gp_popup.myWin.style, 'left', Tween.regularEaseOut,100,0,2,'px'); 
	gp_popup.hide = new Tween(gp_popup.myWin.style, 'left', Tween.regularEaseOut,10,400,5,'px'); 
	gp_popup.hide_timer = null; 
	gp_popup.current_thumb = 1; 
	gp_popup.total_thumbs =  3; 
	gp_popup.animate = function() 
		{
		if (gp_popup.hide_timer) 
			clearTimeout(gp_popup.hide_timer); 
			this.show.start(); 
			this.hide_timer = setTimeout('gp_popup.hide.start()', 13000); 
			}
gp_popup.hide.onMotionFinished = function() { gp_popup.show_next_thumb();gp_popup.animate(); };
setTimeout('gp_popup.animate()', 100);
var x_close = document.getElementById('im_close');
x_close.onclick = function() { 
	gp_popup.closePopup(); 
	return false; 
	};
}
-->
</script>