// JavaScript Document

///////////////////////////////////////
/////     Largeurs des photos     /////
///////////////////////////////////////

photo_width = new Object();
photo_width.accueil1	= 554;
photo_width.indus2		= 573;
photo_width.indus3		= 315;

/* PHOTOS D'ARCHITECTURE */
photo_width.arch_1		= 338;
photo_width.arch_2		= 573;
photo_width.arch_3		= 315;

/* PHOTOS D'INDUSTRIE */
photo_width.indus_1		= 529;
photo_width.indus_2		= 425;
photo_width.indus_3		= 649;
photo_width.indus_4		= 521;
photo_width.indus_5		= 406;
photo_width.indus_6		= 620;

/* PHOTOS PERSONNAGE */
photo_width.perso_1		= 336;
photo_width.perso_2		= 347;
photo_width.perso_3		= 450;
photo_width.perso_4		= 342;
photo_width.perso_5		= 289;
photo_width.perso_6		= 396;
photo_width.perso_7		= 394;

/* PHOTOS REPORTAGE */
photo_width.report_1	= 328;
photo_width.report_2	= 534;
photo_width.report_3	= 549;

/* PHOTOS RECHERCHE */
photo_width.rech_1		= 337;
photo_width.rech_2		= 283;
photo_width.rech_3		= 569;


function get_photo_width(obj, obj_name, num){
	var result = ""
	result = photo_width[num]
	return (164+4+(result))
	}
	
///////////////////////////////////////
////    Descriptions des photos    ////
///////////////////////////////////////

photo_descrip = new Object();
photo_descrip.accueil1 	= "Cette image est celle de la page d'accueil";
photo_descrip.indus2 	= "Cette image est d'un parking, ma foi, très contemporain";
photo_descrip.indus3 	= "Ceci est l'image d'une rue en noir et blanc";

/* PHOTOS D'ARCHITECTURE */
photo_descrip.arch_1	= "Voici une image d'un pont prise du dessous afin de lui donner une diagonale évidente.  La ligne dépassera-t-elle?";
photo_descrip.arch_2	= "Cette image est d'un parking, ma foi, très contemporain";
photo_descrip.arch_3	= "Ceci est l'image d'une rue en noir et blanc";

/* PHOTOS D'INDUSTRIE */
photo_descrip.indus_1	= "Des cheminées d'usines";
photo_descrip.indus_2	= "L'intérieur d'une usine";
photo_descrip.indus_3	= "Une bibliothèque dans un endroit lugubre...";
photo_descrip.indus_4	= "Un scientifique entouré d'une technologie de la fine pointe";
photo_descrip.indus_5	= "Dans une usine à fort taux de saturation";
photo_descrip.indus_6	= "Usine pyramidale ou invasion d'extra-terrestres?";

/* PHOTOS PERSONNAGE */
photo_descrip.perso_1	= "Un fier travailleur d'usine";
photo_descrip.perso_2	= "Un scientifique parmi des machines high-tech";
photo_descrip.perso_3	= "Celui-ci est un jardinier en herbe";
photo_descrip.perso_4	= "Monsieur Framatome : qu'est-ce que ça veux dire? Je l'ignore...";
photo_descrip.perso_5	= "Serais-ce le père d'Arnold Shwartzenegger?";
photo_descrip.perso_6	= "Simon le violoniste";
photo_descrip.perso_7	= "Un certain Clodo";

/* PHOTOS REPORTAGE */
photo_descrip.report_1	= "Scène typique de cowboy marchant vers le coucher de soleil";
photo_descrip.report_2	= "Prochain arrêt : Luxembourg!";
photo_descrip.report_3	= "Station RER de Port Royal à Paris";

/* PHOTOS RECHERCHE */
photo_descrip.rech_1	= "Les beaux châteaux de la Loire!";
photo_descrip.rech_2	= "Lomographie au menu";
photo_descrip.rech_3	= "La bicyclette en ville";


function get_photo_descrip(obj, obj_name, num){
	var result = "";
	result = photo_descrip[num];
	return (result);
	}
