
cst_book_controller.prototype.controller_init_custom = function( ) {
	jQuery( document ).ready( this.dom_ready.bind( this ) );
}

cst_book_controller.prototype.dom_ready = function( ) {
		pr_content_right_flush();
		pr_content_right_place( this.info_cart.display_element );
}

function pr_content_right_flush( ) {
	document.getElementById('contactbox-links').style.display = 'none';
	var div_boxes = document.getElementById( 'booking-replace' );
	if( div_boxes ) {
		var div_box_count = parseInt( div_boxes.childNodes.length, 10 );
		for( var i = 0; i < div_box_count; i++ ) {
			if( div_boxes.childNodes[i].style ) div_boxes.childNodes[i].style.display = 'none';
		}
	}
}

function pr_content_right_place( element ) {
	var div_target = document.getElementById( 'booking-replace' );
	if( div_target ) div_target.appendChild( element );
}

