
/*
Always On Top Content Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

//configure the below two variables to determine where the static content will initially be positioned when the document loads, in terms of X and Y cooridinates, respectively

var wf=290
var hf=10
onload:fcontentsub.style.display='none'

wf+=document.body.scrollLeft
hf+=document.body.scrollTop

var leftpos=wf
var toppos=hf
fcontentmain.style.left=wf
fcontentmain.style.top=hf

function onoffflag(){
if (fcontentsub.style.display=='')
fcontentsub.style.display='none'
else
fcontentsub.style.display=''
}

function staticizef(){
w3=document.body.scrollLeft+leftpos
h3=document.body.scrollTop+toppos
fcontentmain.style.left=w3
fcontentmain.style.top=h3
}
window.onscroll=staticizef



