function show_about_us(){
	var url = 'about_us.php?r='+Math.random();
	obj_about_us_popup.setSource(url);
	obj_about_us_popup.setCssClassMessageBox(false);
	obj_about_us_popup.setSize(780,400);
	obj_about_us_popup.setShadowDivVisible(true);	// Enable shadow for these boxes
	obj_about_us_popup.display();
}

function show_capcon_faq(){
	var url = 'capcon_faq.php?r='+Math.random();
	obj_about_us_popup.setSource(url);
	obj_about_us_popup.setCssClassMessageBox(false);
	obj_about_us_popup.setSize(780,400);
	obj_about_us_popup.setShadowDivVisible(true);	// Enable shadow for these boxes
	obj_about_us_popup.display();
}

function close_about_us(){
	jQuery('#DHTMLSuite_modalBox_contentDiv').html(''); // clear running vdo & sound
	obj_about_us_popup.close();
}

function toggle_block(s_block_id){
    jQuery('#' + s_block_id + ' .content').slideToggle('fast');
	
	if (jQuery('#' + s_block_id + ' .title .ico_plus').css('display') != 'none'){
		jQuery('#' + s_block_id + ' .title a').attr('title', 'Click here to hide');		
		jQuery('#' + s_block_id + ' .title .ico_plus').hide();
		jQuery('#' + s_block_id + ' .title .ico_minus').show();
	}else{
		jQuery('#' + s_block_id + ' .title a').attr('title', 'Click here to expand');
		jQuery('#' + s_block_id + ' .title .ico_plus').show();
		jQuery('#' + s_block_id + ' .title .ico_minus').hide();
	}
}

function show_tbs_detail(tbs_name){
	var url = 'tbs_detail_popup.php?tbs_name=' + tbs_name + '&rand=' + Math.random();
	obj_about_us_popup.setSource(url);
	obj_about_us_popup.setCssClassMessageBox(false);
	obj_about_us_popup.setSize(606,400);
	obj_about_us_popup.setShadowDivVisible(true);	// Enable shadow for these boxes
	obj_about_us_popup.display();
}

function close_tbs_detail(){
	jQuery('#DHTMLSuite_modalBox_contentDiv').html(''); // clear running vdo & sound
	obj_about_us_popup.close();
}

function show_hatch_screen(){
	var url = 'hatch_screen.php?r='+Math.random();
	obj_about_us_popup.setSource(url);
	obj_about_us_popup.setCssClassMessageBox(false);
	obj_about_us_popup.setSize(770,391);
	obj_about_us_popup.setShadowDivVisible(true);	// Enable shadow for these boxes
	obj_about_us_popup.display();
}

