// #################################################################################function adjustIFrameSize (iframeWindow) {    if (iframeWindow.document.height) {        var iframeElement = document.getElementById(iframeWindow.name);        iframeElement.style.height = iframeWindow.document.height + 'px';        iframeElement.style.width = iframeWindow.document.width + 'px';    } else if (document.all) {        var iframeElement = document.all[iframeWindow.name];        if (iframeWindow.document.compatMode && iframeWindow.document.compatMode != 'BackCompat') {            iframeElement.style.height = iframeWindow.document.documentElement.scrollHeight + 5 + 'px';            iframeElement.style.width = iframeWindow.document.documentElement.scrollWidth + 5 + 'px';        } else {            iframeElement.style.height = iframeWindow.document.body.scrollHeight + 5 + 'px';            iframeElement.style.width = iframeWindow.document.body.scrollWidth + 5 + 'px';        }    }}// #################################################################################// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||//// Coded by Travis Beckham// http://www.squidfingers.com | http://www.podlob.com// If want to use this code, feel free to do so, but please leave this message intact.//// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||// --- version date: 02/04/03 ---------------------------------------------------------var ScrollWin = {    w3c : document.getElementById,    iex : document.all,    scrollLoop : false,    scrollInterval : null,    currentBlock : null,    getWindowHeight : function(){        if(this.iex) return (document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.body.clientHeight;        else return window.innerHeight;    },    getScrollLeft : function(){        if(this.iex) return (document.documentElement.scrollLeft) ? document.documentElement.scrollLeft : document.body.scrollLeft;        else return window.pageXOffset;    },    getScrollTop : function(){        if(this.iex) return (document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop;        else return window.pageYOffset;    },    getElementXpos : function(el){        var x = 0;        while(el.offsetParent){            x += el.offsetLeft            el = el.offsetParent;        }        return x;    },    scroll : function(num){        if(!this.w3c){            location.href = "#"+this.anchorName+num;            return;        }        if(this.scrollLoop){            clearInterval(this.scrollInterval);            this.scrollLoop = false;            this.scrollInterval = null;        }        this.currentBlock = document.getElementById(this.blockName+num);        var doc = document.getElementById(this.containerName);        var documentHeight = this.getElementXpos(doc) + doc.offsetHeight;        var windowHeight = this.getWindowHeight();        var xpos = this.getElementXpos(this.currentBlock);        this.scrollTo(xpos,0);    },    scrollTo : function(x,y){        if(this.scrollLoop){            var left = this.getScrollLeft();            var top = this.getScrollTop();            if(Math.abs(left-x) <= 1 && Math.abs(top-y) <= 1){                window.scrollTo(x,y);                clearInterval(this.scrollInterval);                this.scrollLoop = false;                this.scrollInterval = null;            } else{                window.scrollTo(left+(x-left)/2, top+(y-top)/2);            }        } else{            this.scrollInterval = setInterval("ScrollWin.scrollTo("+x+","+y+")",100);            this.scrollLoop = true;        }    }};ScrollWin.containerName = "container";ScrollWin.anchorName    = "anchor";ScrollWin.blockName     = "block";// #################################################################################