var amp_slide_in = new Object(); amp_slide_in.setMode = function(mode) { this.m = mode; } amp_slide_in.drawSlide = function(w, h) { try { this.moinsWidth = 300 - w; this.scrollLeftLimit = 347; this.h = h; this.w = w; document.write(""); if (document.all) document.write(""); var containerDiv = document.createElement("div"); containerDiv.setAttribute("id", 'amp_slide_in_div'); containerDiv.style.display = 'none'; containerDiv.onmouseover = function (){amp_slide_in.open(false);}; document.write(''); containerDiv.innerHTML = '' + '
' + '
ADVERTISEMENT
' + '
' + '' + 'Ad Space For Rent' + '
Ad space needed!! Please sell your wasted space.
' + '
' + '' + '' + '' + '
'; var b = document.getElementsByTagName("body")[0]; if (b.firstChild != null) b.insertBefore(containerDiv, b.firstChild); else b.appendChild(containerDiv); this.object = document.getElementById('amp_slide_in_div'); this.style = this.object.style; this.style.display = ''; this.timeOutMovement = setTimeout('amp_slide_in.slideRight()', 500); } catch(e){}; } amp_slide_in.slideRight = function() { clearTimeout(this.timeOutMovement); var e = 10; var l = parseInt(this.style.left); if (isNaN(l)) l = -this.scrollLeftLimit; l = e + (isNaN(l) ? -this.w : l); if (l >= -this.moinsWidth) { this.style.left = -this.moinsWidth + "px"; this.timeOutMovement = setTimeout('amp_slide_in.slideLeft()', 6000); } else { this.style.left = (l) + "px"; this.timeOutMovement = setTimeout('amp_slide_in.slideRight()', 10); } } amp_slide_in.open = function(force) { if (force || !this.everClosed) { clearTimeout(this.timeOutMovement); this.style.left = -this.moinsWidth + "px"; } return false; } amp_slide_in.close = function() { this.everClosed = true; clearTimeout(this.timeOutMovement); this.style.left = (-this.scrollLeftLimit) + "px"; return false; } amp_slide_in.hide = function() { this.style.display = 'none'; return false; } amp_slide_in.slideLeft = function() { clearTimeout(this.timeOutMovement); var e = 10; var l = parseInt(this.style.left); l = (isNaN(l) ? -this.w : l); l -= e; var li = this.scrollLeftLimit; if (l <= (-li)) { this.style.left = (-li) + "px"; } else { this.style.left = l + "px"; this.timeOutMovement = setTimeout('amp_slide_in.slideLeft()', 10); } } amp_slide_in.setMode('iframe'); amp_slide_in.drawSlide(300, 150);