// JavaScript Document
//JQUERY 
$(document).ready(function(){
		if($("div#lyr1").height()>376) {
			$("div#pagecontent_content").addClass("width");
			$("div#scrollbtn").removeClass();
			$("div#scrollbtn").addClass("show");
		} else {
			$("div#scrollbtn").hide();
			}
	
	
});

//setStyle FUNCTIE
function setStyle(where,theclass){
	document.getElementById(where).className=theclass;
	}


//SCROLLFUNCTIE
function init_dw_Scroll() {
    var wndo = new dw_scrollObj('pagecontent_content', 'lyr1');
    wndo.setUpScrollControls('scrollbtn');
}
// if code supported, link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    //dw_writeStyleSheet('css/scroll.css');
    dw_Event.add( window, 'load', init_dw_Scroll);
}


onload=function() {
	var divh = document.getElementById('lyr1').offsetHeight;
	    // alert(divh +"px");
}

