<script type="text/javascript" src="http://oswald.melt.no/~berlin/js/jquery_1.2.js"></script><script type="text/javascript">
$(function(){
var speed = 40;
var delay = 5000;
var mheight = $("marquee").attr("height");
var kjoer;
 $("<div></div>").addClass("alternate").height(mheight).css("position", "relative").css("overflow", "hidden").appendTo("body");
 $("<div></div>").addClass("scroller").css({"position": "absolute", "top": "0px"}).appendTo(".alternate");
 $("marquee").hide().children().appendTo("div.scroller");
 var dim = $(".scroller").clone().appendTo(".alternate").height();
 $(".scroller:eq(1)").css("top", dim);
function scroll(){
$(".scroller").each(function(){
 var a = parseInt($(this).css("top"));
 $(this).css("top", a-1);
 if (a<(0-dim)) tick($(this));
});
};
function tick(obj){
 obj.css("top", dim);
};
function wait(){
 kjoer = setInterval(scroll, speed);
}
var go = setTimeout(wait,delay)
 $(".scroller").hover(function(){clearTimeout(go); clearInterval(kjoer);}
 ,function(){kjoer = setInterval(scroll, speed);})
var dim2 = Math.round(mheight/2)
function curtain(){
$("<div></div>").addClass("curtain").css({"position":"absolute", "background": "#99CC99", "top":"0px"}).height(dim2).width("100%").appendTo(".alternate")
.clone().css("top", dim2).appendTo(".alternate");
$(".curtain")
.each(function(i){
var a=i==0?0-dim2:mheight;
$(this).animate({top: a}, 3000)
});
}
// curtain()
});
</script>