// START SEARCH PARENT

	if (parent.frames.length < 1)
	{
	document.location.href = 'index.htm';
	}

// END SEARCH PARENT


// START POPUP

	function PopupPic(sPicURL) { 
	window.open( "popup.htm?"+sPicURL, "",  
	"resizable=1,HEIGHT=200,WIDTH=200"); 
	} 

// END POPUP


// START PORTFOLIO RANDOMIZER
	
	// WEB Portfolio

	var uc = 24;					// Number of URLs
	var u = new Array(uc);			// Array to hold URLs

	// These are all local URLs; they could just as well be URLs
	// pointing to other machines, or a mixture of both. You
	// could even put mailto: or telnet: URLs in here.
	
	u[0] = "web_beautystars.htm";
	u[1] = "web_blochlaw.htm";
	u[2] = "web_caveau.htm";
	u[3] = "web_cavebourg.htm";
	u[4] = "web_cinemagazine.htm";
	u[5] = "web_clubprosper.htm";
	u[6] = "web_concepthos.htm";
	u[7] = "web_couleur3.htm";
	u[8] = "web_domainevogel.htm";
	u[9] = "web_epesses.htm";
	u[10] = "web_fribourg.htm";
	u[11] = "web_jumelles.htm";
	u[12] = "web_kanart.htm";
	u[13] = "web_kbt.htm";
	u[14] = "web_lavaux.htm";
	u[15] = "web_netbuilder.htm";
	u[16] = "web_newie.htm";
	u[17] = "web_pagesjaunes.htm";
	u[18] = "web_payot.htm";
	u[19] = "web_salonauto.htm";
	u[20] = "web_sam.htm";
	u[21] = "web_symphony.htm";
	u[22] = "web_valruz.htm";
	u[23] = "web_vaudoise.htm";
	
	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var	now = new Date();
			return (now.getTime() / 1000) % range;
		}
	}

	// Function: pickRandomURL
	//
	// A very simple function that selects one of the URLs in the
	// 'u' array at random, and returns it as a string.

	function pickRandomURL() {
		var choice = pickRandom(uc);
		return u[choice];
	}
	

	// PRINT Portfolio

	var pc = 11;					// Number of URLs
	var p = new Array(pc);			// Array to hold URLs

	// These are all local URLs; they could just as well be URLs
	// pointing to other machines, or a mixture of both. You
	// could even put mailto: or telnet: URLs in here.
	
	p[0] = "print_aleksy.htm";
	p[1] = "print_aleksylogo.htm";
	p[2] = "print_ballon.htm";
	p[3] = "print_cabinetamethyste.htm";
	p[4] = "print_cinemagazine.htm";
	p[5] = "print_netbuilderlogo.htm";
	p[6] = "print_osses.htm";
	p[7] = "print_perso.htm";
	p[8] = "print_prosper.htm";
	p[9] = "print_senag.htm";
	p[10] = "print_symphony.htm";

	
	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var	now = new Date();
			return (now.getTime() / 1000) % range;
		}
	}

	// Function: pickRandomURL
	//
	// A very simple function that selects one of the URLs in the
	// 'u' array at random, and returns it as a string.

	function pickRandomURL2() {
		var choice = pickRandom(pc);
		return p[choice];
	}
	
// DRAW Portfolio

	var dc = 10;					// Number of URLs
	var d = new Array(dc);			// Array to hold URLs

	// These are all local URLs; they could just as well be URLs
	// pointing to other machines, or a mixture of both. You
	// could even put mailto: or telnet: URLs in here.
	
	d[0] = "draw_aplaceforus.htm";
	d[1] = "draw_concours.htm";
	d[2] = "draw_concours2.htm";
	d[3] = "draw_lifribor.htm";
	d[4] = "draw_nathan.htm";
	d[5] = "draw_nede.htm";
	d[6] = "draw_nightnola.htm";
	d[7] = "draw_sady.htm";
	d[8] = "draw_triptyque.htm";
	d[9] = "draw_lycanthropy.htm";

	
	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var	now = new Date();
			return (now.getTime() / 1000) % range;
		}
	}

	// Function: pickRandomURL
	//
	// A very simple function that selects one of the URLs in the
	// 'u' array at random, and returns it as a string.

	function pickRandomURL3() {
		var choice = pickRandom(dc);
		return d[choice];
	}
	
// END PORTFOLIO RANDOMIZER

