// JavaScript Document
// CUSTOM FUNCTIONS FOR CLTS PAGES 
// AUTHOR: JEFF DAVIS - Jeff@brandedux.com



// SHOW & HIDE ALL SERVICES
	function showAllServices() {
	showAirServices();
	showOceanServices();
	showGroundServices();
	showWarehouseServices();
	document.getElementById("view_services").style.display="none";
	document.getElementById("hide_services").style.display="block";
	}
	
	function hideAllServices() {
	hideAirServices();
	hideOceanServices();
	hideGroundServices();
	hideWarehouseServices();
	document.getElementById("view_services").style.display="block";
	document.getElementById("hide_services").style.display="none";
	}
	
	
// SHOW & HIDE ALL CONTAINERS
	function showAllContainers() {
	showStandard();
	showOpentop();
	showFlatrack();
	showCollapsable();
	showReefer();
	showHighcube();
	showPlatform();
	document.getElementById("view_containers").style.display="none";
	document.getElementById("hide_containers").style.display="block";
	}
	
	function hideAllContainers() {
	hideStandard();
	hideOpentop();
	hideFlatrack();
	hideCollapsable();
	hideReefer();
	hideHighcube();
	hidePlatform();
	document.getElementById("view_containers").style.display="block";
	document.getElementById("hide_containers").style.display="none";
	}	
	
	
	
	
// Air Freight Services
	function showAirServices() {
		document.getElementById("Air_Freight_services").style.display="block";
	}
	function hideAirServices() {
		document.getElementById("Air_Freight_services").style.display="none";
	}	
	
// Ocean Freight Services
	function showOceanServices() {
		document.getElementById("Ocean_Freight_services").style.display="block";
	}
	function hideOceanServices() {
		document.getElementById("Ocean_Freight_services").style.display="none";
	}	
	
// Ground Freight Services
	function showGroundServices() {
		document.getElementById("Ground_Freight_services").style.display="block";
	}
	function hideGroundServices() {
		document.getElementById("Ground_Freight_services").style.display="none";
	}	

	
// Specialized Freight Services
	function showSpecializedServices() {
		document.getElementById("Specialized_Freight_services").style.display="block";
	}
	function hideSpecializedServices() {
		document.getElementById("Specialized_Freight_services").style.display="none";
	}	

// Warehouse Storage Services
	function showWarehouseServices() {
		document.getElementById("Warehouse_services").style.display="block";
	}
	function hideWarehouseServices() {
		document.getElementById("Warehouse_services").style.display="none";
	}	
	
	
// END OF SERVICES    

// BEGINING OF CONTAINERS
// Standard Container
	function showStandard() {
		document.getElementById("standard").style.display="block";
	}
	function hideStandard() {
		document.getElementById("standard").style.display="none";
	}
// Opentop Container
	function showOpentop() {
		document.getElementById("opentop").style.display="block";
	}
	function hideOpentop() {
		document.getElementById("opentop").style.display="none";
	}
// Flatrack Container
	function showFlatrack() {
		document.getElementById("flatrack").style.display="block";
	}
	function hideFlatrack() {
		document.getElementById("flatrack").style.display="none";
	}
// Collapsable Container
	function showCollapsable() {
		document.getElementById("collapsable").style.display="block";
	}
	function hideCollapsable() {
		document.getElementById("collapsable").style.display="none";
	}
//  Reefer Container
	function showReefer() {
		document.getElementById("reefer").style.display="block";
	}
	function hideReefer() {
		document.getElementById("reefer").style.display="none";
	}
//  Highcube Container
	function showHighcube() {
		document.getElementById("highcube").style.display="block";
	}
	function hideHighcube() {
		document.getElementById("highcube").style.display="none";
	}
//  Platform Container
	function showPlatform() {
		document.getElementById("platform").style.display="block";
	}
	function hidePlatform() {
		document.getElementById("platform").style.display="none";
	}
	
	

// SIDEBAR
	function showSidebar() {
		document.getElementById("content").style.display="block";
		document.getElementById("sidebar").style.display="block";
	}
	function hideSidebar() {
		document.getElementById("content").style.display="none";
		document.getElementById("sidebar").style.display="none";
	}
