document.write('\r\n\"Placeholder\"\r\n'); var isDHTML = 0; var isID = 0; var isAll = 0; var isLayers = 0; if (document.getElementById) {isID = 1; isDHTML = 1;} else { if (document.all) {isAll = 1; isDHTML = 1;} else { browserVersion = parseInt(navigator.appVersion); if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) {isLayers = 1; isDHTML = 1;} }} function findDOM(objectID,withStyle) { if (withStyle == 1) { if (isID) { return (document.getElementById(objectID).style) ; } else { if (isAll) { return (document.all[objectID].style); } else { if (isLayers) { return (document.layers[objectID]); } };} } else { if (isID) { return (document.getElementById(objectID)) ; } else { if (isAll) { return (document.all[objectID]); } else { if (isLayers) { return (document.layers[objectID]); } };} } } function findLeft(objectID) { var domStyle = findDOM(objectID,1); var dom = findDOM(objectID,0); if (domStyle.left) return domStyle.left; if (domStyle.pixelLeft) return domStyle.pixelLeft; if (dom.offsetLeft) return dom.offsetLeft; return (null); } function findTop(objectID) { var domStyle = findDOM(objectID,1); var dom = findDOM(objectID,0); if (domStyle.top) return domStyle.top; if (domStyle.pixelTop) return domStyle.pixelTop; if (dom.offsetTop) return dom.offsetTop; return (null); } function moveObjectTo(objectID,x,y) { var domStyle = findDOM(objectID,1); domStyle.left = x; domStyle.top = y; } function moveObjectBy(objectID,deltaX,deltaY) { var domStyle = findDOM(objectID,1); var dom = findDOM(objectID,0); if (domStyle.pixelLeft) { domStyle.pixelLeft += deltaX; domStyle.pixelTop += deltaY; } else { if (dom.offsetLeft != null) { var plusLeft = dom.offsetLeft; var plusTop = dom.offsetTop; domStyle.left = deltaX + plusLeft; domStyle.top = deltaY + plusTop; } else dom.moveBy(deltaX,deltaY); } } function setVisibility(objectID,state) { var dom = findDOM(objectID,1); dom.visibility = state; } function toggleVisibility(objectID) { var dom = findDOM(objectID,1); state = dom.visibility; if (state == 'hidden' || state == 'hide' ) dom.visibility = 'visible'; else { if (state == 'visible' || state=='show') dom.visibility = 'hidden'; else dom.visibility = 'visible'; } } function changeSrc(objectID, newSrc) { var dom = findDOM(objectID,0); dom.src = newSrc; } function setClip(objectID, clipTop, clipRight, clipBottom, clipLeft) { var dom = findDOM(objectID,1); if (dom.clip.left) { dom.clip.top = clipTop; dom.clip.right = clipRight; dom.clip.bottom = clipBottom; dom.clip.left = clipLeft; } dom.clip = 'rect(' + clipTop + ' ' + clipRight + ' ' + clipBottom + ' ' + clipLeft +')'; } function findScrollTop() { if (window.pageYOffset != null) return window.pageYOffset; if (document.body.scrollWidth != null) return document.body.scrollTop; return (null); } function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function getCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } var defaultGIF, defaultLink, bannerWidth, bannerHeight, layerWidth, layerHeight, splashPath, infolayer; bannerWidth = 468; bannerHeight = 45; defaultGIF = new Image(); defaultGIF.src = "http://ad.doubleclick.net/368553/dell_3play_backup_468.gif"; spacerGIF = new Image(); spacerGIF.src = "http://a284.g.akamai.net/f/284/987/12h/lygo.com/s.gif" layerWidth = 468; layerHeight = 285; splashPath = "http://ad.doubleclick.net/368553/468x285a_r2.gif"; framePath = "http://ad.doubleclick.net/368553/dell_computers_468_info.htm"; if (document.all) { // build the adbanner layer document.write('
'); // build the splash layer document.write('
') // build the informational layer document.write('

'); // create functions to move the splash layer to its proper position, display it, and roll it up function Rollup(Speed, layerName, layerHeight) { var shrinkSpeed = Speed; var shrinkLayer = layerName; splashHeight = layerHeight; rollSpeed = 1; rollInt = setInterval("Shrink(" + shrinkSpeed + ", '" + shrinkLayer + "');", 10); } function Shrink(Speed, layerName) { var lname = String(layerName); var dom = findDOM(lname,1); dom.height = splashHeight + "px"; dom.height = splashHeight + "px"; splashHeight -= rollSpeed; rollSpeed += Speed; if (splashHeight < 0) { clearInterval(rollInt); toggleVisibility(lname); } } function OnloadFunc() { var splashYes var placeholderX, placeholderY placeholderX = parseFloat(findLeft('placeholder')); placeholderY = parseFloat(findTop('placeholder')); moveObjectTo('adbanner', placeholderX, placeholderY); toggleVisibility('adbanner'); moveObjectTo('infolayer', placeholderX, placeholderY); moveObjectTo('splashLayer', placeholderX, placeholderY+bannerHeight+15); if (document.cookie != "") splashYes = getCookie('splashShown368553-20020502-111054'); if (!splashYes) { toggleVisibility('splashLayer'); setTimeout('Rollup(2, "splashLayer", 285);', 2000); document.cookie = "splashShown368553-20020502-111054=true"; } } window.onload=OnloadFunc; window.onresize=OnloadFunc; } else { if (document.images) {document.images.placeholder.src = defaultGIF.src} } //--> document.write('');