<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<style type="text/css">
/*<![CDATA[*/
#header {
position:fixed;z-Index:101;left:0px;top:0px;width:100%;height:80px;background-Color:#FFCC66;
}
/*]]>*/
</style>
</head>
<body>
<div id="header" ></div>
<div style="height:3000px;" ></div>
<script type="text/javascript">
/*<![CDATA[*/
// Hide Header (02-October-2013)
// by: Vic Phillips - http://www.vicsjavascripts.org.uk/
var zxcHideHeader={
init:function(o){
var id=o.HeaderID,ht=o.HideTop,st=o.ShowTop,ms=o.Animate,h=document.getElementById(id);
if (h){
o.h=[h,'top',-h.offsetHeight-2,0];
o.ht=typeof(ht)=='number'?ht:0;
o.st=typeof(st)=='number'?st:o.ht;
o.ms=typeof(ms)=='number'&&ms>10?ms:1000;
this.addevt(window,'scroll','scroll',o);
}
},
scroll:function(o){
var t=window.innerHeight?window.pageYOffset:document.documentElement.clientHeight?document.documentElement.scrollTop:document.body.scrollTop;
if ((t>o.ht&&o.h[3]==0)||(t<o.st&&o.h[3]!=0)){
this.animate(o,o.h,o.h[3],t>o.ht?o.h[2]:0,new Date(),o.ms);
}
},
animate:function(o,a,f,t,srt,mS){
clearTimeout(a[4]);
var oop=this,ms=new Date()-srt,n=(t-f)/mS*ms+f;
if (isFinite(n)){
a[3]=n;
a[0].style[a[1]]=a[3]+'px';
}
if (ms<mS){
a[4]=setTimeout(function(){ oop.animate(o,a,f,t,srt,mS); },10);
}
else {
a[3]=t;
a[0].style[a[1]]=t+'px';
}
},
addevt:function(o,t,f,p,p1){
var oop=this;
o.addEventListener?o.addEventListener(t,function(e){ return oop[f](p,p1);},false):o.attachEvent?o.attachEvent('on'+t,function(e){ return oop[f](p,p1); }):null;
}
}
zxcHideHeader.init({
HeaderID:'header', // the unique ID name of the 'header' element. (string)
HideTop:500, // the scroll top to hide the 'header' element. (number)
ShowTop:200, // the scroll top to show the 'header' element. (number)
Animate:1000 // the animation duration in milli seconds. (number)
});
/*]]>*/
</script>
</body>
</html>