$(document).ready(function() {
function rand(num){
	num=num + 1; 
return Math.floor(Math.random() * num);
}

var headerIn=function(){
$("div#header:header").each(function(i){
$lugosi=$("div#header:header").eq(i);
$lugosi.remove();
});

$("div#header").html("<div>New</div><div> Media</div><div> Poetry: </div><div>Lewis</div><div> LaCook</div>");

$("div#header > *").each(function(i){
$karloff=$("div#header > *").eq(i);
$karloff.css(
{
position:"absolute",
color:"#FFFFFF",
zIndex:i+i
}
);
$karloff.animate( 
       
{
	
	
	
	left:rand(500),
	top:rand(300),
	letterSpacing:rand(100)+"px",
	opacity: "0." + rand(9),
	fontSize:rand(200)+"px"
}, rand(333));



});


} 

var headerOut=function(){
$("div#header div").each(function(i){
$chaney=$("div#header div").eq(i);
$chaney.remove();
});

$("div#header").html("<h1>New Media Poetry: Lewis LaCook</h1>");


}


$("div#header").hover(headerIn, headerOut);
//end of header hover



});//end document ready