

	function SwapVisibilityById( targetid )
	{
		if(document.getElementById(targetid).style.visibility == 'visible')
		{
			document.getElementById(targetid).style.visibility = 'hidden';
		}
		else if(document.getElementById(targetid).style.visibility == 'hidden')
		{
			document.getElementById(targetid).style.visibility = 'visible';
		}
	}



	BASE_DIR_common = 'bulles/';

	common_TAB = new Array		(
 BASE_DIR_common + 'blank.gif'
, BASE_DIR_common + 'bullepresentation.png'
, BASE_DIR_common + 'bulleetudes.png'
, BASE_DIR_common + 'bullelogistique.png'
, BASE_DIR_common + 'bullereferences.png'
, BASE_DIR_common + 'bulle_ponctuelles.png'
, BASE_DIR_common + 'bulle_fixes.png'
, BASE_DIR_common + 'bullecatalogue.png'
, BASE_DIR_common + 'bullecontacts.png'
, BASE_DIR_common + 'btdrapeau.png'
, BASE_DIR_common + 'bulle_pgexecution.png'
, BASE_DIR_common + 'imgexecution_ensemble.jpg'
, BASE_DIR_common + 'imgexecution_perspective.jpg'
, BASE_DIR_common + 'imgexecution_plan.jpg'
, BASE_DIR_common + 'imgexecution_pieces.jpg'
, BASE_DIR_common + 'bulle_pgmontage.png'
, BASE_DIR_common + 'imgmontage_ensemble.png'
, BASE_DIR_common + 'imgmontage_perspective.png'
, BASE_DIR_common + 'imgmontage_plan.png'
, BASE_DIR_common + 'imgmontage_profil.png'
, BASE_DIR_common + 'bulle_pgsimulation.png'
, BASE_DIR_common + 'imgsimulation_execution.png'
, BASE_DIR_common + 'imgsimulation_studio3d.png'
, BASE_DIR_common + 'imgsimulation_realisation01.png'
, BASE_DIR_common + 'imgsimulation_realisation02.png'
, BASE_DIR_common + 'bulle_caracteristiques.png'
, BASE_DIR_common + 'bulle_tableaucharges.png'

	);

	function preload()
	{
		var imgload = new Array();
		var imgload_i = 0;
		var debugtxt = '';
		
		for(var j=0;j<preload.arguments.length;j++)
		{
			if(typeof(preload.arguments[j]) == 'string')
			{
				imgload[imgload_i] = new Image();
				imgload[imgload_i].src = preload.arguments[j];
				
				imgload_i++;
			}
			else
			{
				if(typeof(preload.arguments[j]) == 'object' && preload.arguments[j].length > 0)
				{
					for(var u=0;u<preload.arguments[j].length;u++)
					{
						imgload[imgload_i] = new Image();
						imgload[imgload_i].src = preload.arguments[j][u];
						
						imgload_i++;
					}
				}
			}
		}
	}




