var startX = 10
var startY = 10
var vertical_position = (vertical_position) ? vertical_position : 'none'
var horizontal_position = (horizontal_position) ? horizontal_position : 'none'
var always_on_top = (vertical_position != 'none' || horizontal_position != 'none') ? true : false
iens6=document.all||document.getElementById
ns4=document.layers
var crossobj;
var scrollDistance;
var contentheight;
var contentwidth;
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function staticbar(){
barheight = document.getElementById("adBillboard").offsetHeight;
barwidth = document.getElementById("adBillboard").offsetWidth;
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id) {
var el = d.getElementById(id);
el.style.visibility = "visible"
if (d.layers)
el.style = el;
el.sP=function(x,y){
if (x != -1)
this.style.left=x+"px";
if (y != -1)
this.style.top=y+"px";
};
return el;
}
window.stayTopLeft=function() {
oldY = ftlObj.y;
oldX = ftlObj.x;
pageWidth = ns ? window.innerWidth : iecompattest().clientWidth;
switch (vertical_position) {
case "top":
pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y = pY + startY;
break;
case "middle":
pY = ns ? pageYOffset + (innerHeight/2) - (barheight/2) : iecompattest().scrollTop + (iecompattest().clientHeight/2) - (barheight/2);
ftlObj.y = pY;
break;
case "bottom":
pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y = pY - startY;
break;
default:
ftlObj.y = -1;
break;
}
switch (horizontal_position) {
case "right":
pX = ns ? pageXOffset + innerWidth - barwidth - 20: iecompattest().clientWidth - barwidth;
ftlObj.x = pX - startX;
break;
case "center":
pX = ns ? pageXOffset + (innerWidth/2) - (barwidth/2) - 20: (iecompattest().clientWidth/2) - (barwidth/2);
ftlObj.x = (pageWidth-barwidth)/2;
break;
case "left":
ftlObj.x = startX;
default:
ftlObj.x = -1;
break;
}
if (oldY != ftlObj.y || oldX != ftlObj.x)
ftlObj.sP(ftlObj.x, ftlObj.y);
if (always_on_top)
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("adBillboard");
stayTopLeft();
}
function init() {
if (vertical_position != "none" || horizontal_position != "none")
if (document.getElementById("adBillboard"))
staticbar();
}
if (window.addEventListener)
window.addEventListener("load", init, false)
else if (window.attachEvent)
window.attachEvent("onload", init)
else if (document.getElementById)
window.onload=init
var query = 'http://www.engineseeker.com/members/index.php?controller=adNetwork&action=generateAds&userCampaign=93579&format=Leaderboard&referer=http%3A%2F%2Fwww.inverdoorn.com%2Ftarifs.php%3Fnewlg%3Den&border_color='+border_color.replace(/#/i, "")+'&background_color='+background_color.replace(/#/i, "")+'&title_color='+title_color.replace(/#/i, "")+'&text_color='+text_color.replace(/#/i, "")+'&display_url_color='+display_url_color.replace(/#/i, "");
document.write('');
document.write('');
document.write('');