
	/************************************************************************************************************
		init scroll - cBox content
	************************************************************************************************************/

	if ( dw_scrollObj.isSupported() ) {
		dw_Event.add( window, 'load', init);
		dw_Event.add( window, 'load', init_scrollLinks);
		dw_Event.add( window, 'load', init_dw_Scroll);
		dw_Event.add( window, 'load', init_dw_Scroll_horizontal);
		dw_Event.add( window, 'load', init_dw_ScrollPosition);

		dw_Event.add( window, 'resize', init_scrollLinks);
		dw_Event.add( window, 'resize', init_dw_Scroll);
		dw_Event.add( window, 'resize', init_dw_Scroll_horizontal);
		dw_Event.add( window, 'resize', init_dw_ScrollPosition);
	}

	function init_dw_Scroll() {

    // Initialize scroll area
    // arguments: id of outer div, id of content div
		var wndo_vertical = new dw_scrollObj('content', 'cScroll');

    // Initialize scroll links
    // id of element within which to locate scroll controls
		wndo_vertical.setUpScrollControls('scroll_links');
	}

	function init_dw_Scroll_horizontal() {

    // Initialize scroll area
    // arguments: id of outer div, id of content div
		var wndo_horizontal = new dw_scrollObj('image', 'iScroll');

    // Initialize scroll links
    // id of element within which to locate scroll controls
		wndo_horizontal.setUpScrollControls('scroll_links_horizontal');
	}

	function init_dw_ScrollPosition() {

    // Initialize scroll position
		var act_offset = document.getElementById('act').offsetTop;
		var cbox_offset = document.getElementById('cBox').offsetHeight;

		var browserHeight = (cbox_offset - 140);

    // scroll to id position "act"
		if(act_offset > browserHeight) {
			dw_scrollObj.scrollToId('content', 'act');
		}
	}

	function init_scrollLinks() {

		var space = 100;
		var cBox = document.getElementById('cBox');
		var cScrollObj = document.getElementById('cScroll');
		var contentObj = document.getElementById('content');
		var scrolllinks = document.getElementById('scroll_links');

		if (navigator.appName == "Microsoft Internet Explorer") {
			// resize cBox content element
			contentObj.style.height = '100%';//(window.innerHeight - '100') + 'px';
		}else{
			// resize cBox content element
			contentObj.style.height = (window.innerHeight - '100') + 'px';
		}

		var browserHeight = (cBox.offsetHeight - space);
		var contentHeight = cScrollObj.offsetHeight;

		if(browserHeight < contentHeight ) {
			scrolllinks.style.display = 'block';
		}else{
			scrolllinks.style.display = 'none';
		}
	}

