//Free JavaScripts on http://www.ScriptBreaker.com
var scroll = true // true to follow on scrolling , false to make static
var offsetleft = 5
var offsettop = 40
var step = 2 

function init(id)
{
obj_head = document.getElementById(id)
obj_head.style.height = obj_head.offsetHeight +10;
if(scroll)
{
obj_head.style.position = "absolute";
obj_head.style.width = obj_head.offsetWidth + 10;
obj_head.style.top = offsettop;
obj_head.style.left = offsetleft;
}
obj_head.style.visibility="visible";
}
var T1 = null;

var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

function makeStatic() {
id = "head1";
if (ie4) {wtop = document.body.scrollTop+offsettop}
else if (ns6) {wtop = window.pageYOffset+offsettop}
ntop = parseInt(document.getElementById(id).style.top)
if((ntop > (wtop)) && (ntop >(wtop + step))){
document.getElementById(id).style.top = wtop
T1 = setTimeout("makeStatic()",0);
}
else
{
if((ntop < (wtop)) && (ntop < (wtop+ step))){
document.getElementById(id).style.top =  ntop + step
T1 = setTimeout("makeStatic()",0);
}
else {clearTimeout("T1");T1=""}}
}
//Free JavaScripts on http://www.ScriptBreaker.com
if (scroll)
{
if (document.all) window.onscroll = makeStatic
else setInterval ('makeStatic()', 100);}  