window.onscroll = scroll;
var url = "http://www.heating-solutions.biz/";

function getYOffset() {
var pageY;
if(typeof(window.pageYOffset)=='number') {
pageY=window.pageYOffset;
}
else {
pageY=document.documentElement.scrollTop;
}
return pageY;
}

function scroll()
{
 //alert("scroll event detected! "+window.pageXOffset+" "+window.pageYOffset);
 // note: you can use window.innerWidth and window.innerHeight to access the width and height of the viewing area

 if ((  getYOffset() > 354 ) && ( url != document.URL )) {
	 document.getElementById('leftCol').style.top = ( getYOffset() - 354 ) +'px' ;
 } else {
	document.getElementById('leftCol').style.top =  '0px'; 
 }
 
}
