<!-- Hide from older browsers

//-- Start of Popup Window Script
function openWin( windowURL, windowName, windowFeatures ) 
{ 
	return window.open( windowURL, windowName, windowFeatures ) ; 
} 


//-- Start of Image Rollover Script
if(document.images)
{
	homer = new Image(15,280);
	homer.src = "graphics/msg_home.gif";

	aboutusr = new Image(15,280);
	aboutusr.src = "graphics/msg_aboutus.gif";

	d6mapr = new Image(15,280);
	d6mapr.src = "graphics/msg_d6map.gif";

	leaguesr = new Image(15,280);
	leaguesr.src = "graphics/msg_leagues.gif";

	newr = new Image(15,280);
	newr.src = "graphics/msg_new.gif";

	trnyr = new Image(15,280);
	trnyr.src = "graphics/msg_trny.gif";

	contactr = new Image(15,280);
	contactr.src = "graphics/msg_contactus.gif";

	linksr = new Image(15,280);
	linksr.src = "graphics/msg_links.gif";

}
//-----------------------------------------------------------------------------
function img_act(imgName)
{
	if(document.images)
	{
		document["chgimg"].src = eval(imgName + "r.src");
	}
}
//-----------------------------------------------------------------------------
function img_inact(imgName)
{
	if(document.images)
	{
		document["chgimg"].src = "graphics/spacer.gif";
	}
}

//-- Start of Watermark Script

//============ Editable Variables ===============
imageSource = "graphics/ghost.gif"     //The filename of the image
imageWidth = 73                //The width of the image in pixel
imageHeight = 25                //The height of the image in pixel
imageAlign = "bottomright"         //Where would the watermark be placed, can be "topleft","topright","bottomleft", or "bottomright"
linkTo = "index.htm"                        //Where will the watermark link to?  Use "javascript:void(null)" if not linking to anywhere


//============ DO NOT EDIT THE CODES BELOW ============

n = (document.layers) ? 1:0
ie = (document.all) ? 1:0

function init() {
if (n || ie) {
        // initialize objects
        createLayer("watermark",null,0,0,imageWidth,imageHeight,"<A HREF=\'" + linkTo + "\'><IMG SRC=\'" + imageSource + "\' BORDER=0></A>")
        mark = new dynLayer("watermark")
        setInterval("wtrmark()",100)
        }
}

function dynLayer(id,nestref) {
        if (n) {
                        this.css = document.layers[id]
        }
    else if (ie) {
            this.css = document.all[id].style
    }

        this.moveBy = dynLayerMoveBy
        this.moveTo = dynLayerMoveTo
}

function dynLayerMoveBy(x,y) {
        this.x += x
        this.css.left = this.x
        this.y += y
        this.css.top = this.y
}
function dynLayerMoveTo(x,y) {
        this.x = x
        this.css.left = this.x
        this.y = y
        this.css.top = this.y
}

function wtrmark() {
if (n) {
        windowWidth = window.innerWidth-20
        windowHeight = window.innerHeight-10
        if (imageAlign == "topleft")    mark.moveTo(window.pageXOffset,window.pageYOffset)
        if (imageAlign == "topright")   mark.moveTo(windowWidth-imageWidth+window.pageXOffset,window.pageYOffset)
        if (imageAlign == "bottomleft") mark.moveTo(window.pageXOffset,windowHeight-imageHeight+window.pageYOffset)
        if (imageAlign == "bottomright") mark.moveTo(windowWidth-imageWidth+window.pageXOffset,windowHeight-imageHeight+window.pageYOffset)
        }

else if (ie) {
    windowWidth = document.body.clientWidth-17
    windowHeight = document.body.clientHeight-17
        if (imageAlign == "topleft")    mark.moveTo(document.body.scrollLeft,document.body.scrollTop)
        if (imageAlign == "topright")   mark.moveTo(windowWidth-imageWidth+document.body.scrollLeft,document.body.scrollTop)
        if (imageAlign == "bottomleft") mark.moveTo(document.body.scrollLeft,windowHeight-imageHeight+document.body.scrollTop)
        if (imageAlign == "bottomright") mark.moveTo(windowWidth-imageWidth+document.body.scrollLeft,windowHeight-imageHeight+document.body.scrollTop)
        }
}

function createLayer(id,nestref,left,top,width,height,content,bgColor,visibility,zIndex) {
                if (n) {
                        if (nestref) {
                                var lyr = eval("document."+nestref+".document."+id+" = new Layer(width, document."+nestref+")")
                        }
                        else {
                                var lyr = document.layers[id] = new Layer(width)
                                eval("document."+id+" = lyr")
                        }
                        lyr.name = id
                        lyr.left = left
                        lyr.top = top
                        if (height!=null) lyr.clip.height = height
                        if (bgColor!=null) lyr.bgColor = bgColor
                        lyr.visibility = (visibility=='hidden')? 'hide' : 'show'
                        if (zIndex!=null) lyr.zIndex = zIndex
                        if (content) {
                                lyr.document.open()
                                lyr.document.write(content)
                                lyr.document.close()
                        }
                }
                else if (ie) {
                        var str = '\n<DIV id='+id+' style="position:absolute; left:'+left+'; top:'+top+'; width:'+width
                        if (height!=null) {
                                str += '; height:'+height
                                str += '; clip:rect(0,'+width+','+height+',0)'
                        }
                        if (bgColor!=null) str += '; background-color:'+bgColor         
                        if (zIndex!=null) str += '; z-index:'+zIndex
                        if (visibility) str += '; visibility:'+visibility
                        str += ';">'+((content)?content:'')+'</DIV>'
                        if (nestref) {
                                index = nestref.lastIndexOf(".")
                                var nestlyr = (index != -1)? nestref.substr(index+1) : nestref
                                document.all[nestlyr].insertAdjacentHTML("BeforeEnd",str);
                        }
                        else {
                                document.body.insertAdjacentHTML("BeforeEnd",str)
                        }
                }
        }

// End hiding -->
