<!--

	
	// ****************************************** //
	// E_M_A_I_L Builder                                                //
	// ****************************************** //
	
	function buildE(recipient, domain, linktext){
		if (linktext == '') {
			document.write('<a href=\"' + 'mail' + 'to' + ':' + recipient + '@' + domain + '\" class=\"link\">' + recipient + '@' + domain + '</a>');
		} else {
			document.write('<a href=\"' + 'mail' + 'to' + ':' + recipient + '@' + domain + '\" class=\"link\">' + linktext + '</a>');
		}
	}
	
	
	// ****************************************** //
	// Random Images                                               //
	// ****************************************** //
	
    
    var ic = 5;                     // Number of alternative images
    var i = new Array(ic);          // Array to hold filenames
    
    // Set up the images. save space by including path in the 'writeln' statement 
    for (var loop = 0; loop <ic; loop++)
{
   i[loop] = loop;
}
    
  
    function pickRandom(range) {
        if (Math.random)
            return Math.round(Math.random() * (range-1));
        //for older browser that doesn't support 'Math.random()'
        else {
            var now = new Date();
            return (now.getTime() / 1000) % range; //get rid of the milliseconds for Navigator
        }
    }

    // Write out 3 IMG tags, using a randomly-chosen image name.
        var choice = pickRandom(ic);
        for (loop = 0; loop <1; loop++){   

        document.writeln('<link rel="stylesheet" type="text/css" href="../includes/style' + i[choice] + '.css" />');
        //ensure that we don't go higher than the max of array, but get 3 different in most cases
        if(choice < 4){
            choice++;                 
        }else{
        choice=0;
        }
    }
	
	

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=420,height=620');");
}

	
	
//-->