// JavaScript Document

function flashover()
{
    var t = null

    clearTimeout(t);

var x = document.getElementById("flashpagecontent")
//x.style.clip="rect(130px, 420px, 550px, 0px)"
x.style.height = "600px"
x.style.width = "550px"
}

function flashout()
{
var x = document.getElementById("flashpagecontent")
//x.style.clip="rect(130px, 420px, 550px, 0px)"
x.style.height = "130px"
x.style.width = "130px"
}

function TimeOut()
{
    var t = null

    clearTimeout(t);

    t = setTimeout("flashout()",2000)     
}

function DrawFlash()
{
    	var fo = new FlashObject("/images/crosby.swf", "mymovie", "550", "600", "6", ""); 
		fo.write("flashInnerContent"); 
		fo.addVariable("variable", "varvalue"); 
}

function WriteFlash()
{
    var LineOne = "<div id='flashpagecontent' style='position:absolute;top:0px;right:0px; width: 550px; height: 600px; overflow: hidden; text-align: right; z-index: 200' >"
    var LineTwo = "<div id='flashInnerContent' style='position:absolute;top:0px;right:0px; width: 550px; height: 600px; text-align: right;'>"
    var LineThree = "<script language='javascript'>DrawFlash();" + "</" + "script>"
    var LineFour = "</div></div>"
    
    document.write(LineOne + LineTwo + LineThree + LineFour);
}


