<!--

function buttonFun (name,image) {
var theImg;
theImg = document.getElementById(name);
theImg.setAttribute("src",image);
} 

function findDOM(objectID, withStyle) {
    if (withStyle) {
        if (document.getElementById) return (document.getElementById(objectID).style) ; 
        else if (document.all) return (document.all[objectID].style); 
        else if ((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) == 4)) return (document.layers[objectID]); 
    } else {
        if (document.getElementById) return (document.getElementById(objectID)) ; 
        else if (document.all) return (document.all[objectID]); 
        else if ((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) == 4)) return (document.layers[objectID]); 
    }
}

function findBrowserHeight() {
intHeight = (window.innerHeight)? window.innerHeight : document.body.offsetHeight -4
return intHeight
}

function findBrowserWidth() {
intWidth = (window.innerWidth)?  window.innerWidth : document.body.offsetWidth -4
return intWidth
}

function findMainWidth() {
intWidth = (window.innerWidth)?  window.innerWidth - 150 : document.body.offsetWidth - 154
return intWidth;
}

function resizeObject (objectID,amountX,amountY) {
    objectStyle = findDOM(objectID,true);
    if (document.getElementById) {
        moveLeft = amountX + 'px'
        moveTop = amountY + 'px'
    } else {
        moveLeft = amountX
        moveTop = amountY
    }

    objectStyle.width = moveLeft 
    objectStyle.height = moveTop
}

function fixScroll(div) {
    if (document.all)
	{
	}
	else
	{
	var s = div.scrollTop;
    div.childNodes[1].focus();
    div.scrollTop = s;
	}
}

function resizeToPage() {
winH = findBrowserHeight()
winW = findBrowserWidth()

mainW = findMainWidth()

resizeObject('ieFix',mainW-16,winH-101)
resizeObject('main',mainW,winH-101)
resizeObject('menu','150',winH-101)
resizeObject('title',winW,101)
document.getElementById('main').overflow = 'auto'
document.getElementById('ieFix').overflow = 'hidden'
document.body.scroll = "no"
}

function textprint() {
    var pp = window.open();
    with (pp.document) {
        open();
        writeln('<html><head><title>Copyright Dog-Games LTD 2004</title></head><link type="text/css" rel="stylesheet" href="dogit2.css" media="screen" /><link type="text/css" rel="stylesheet" href="print.css" media="print" /><body>');
        writeln(document.getElementById('ieFix').innerHTML)
        writeln('</body></html>');
        close();
    }
    pp.print();
}


-->