var randomSelection = 0;

var consonants = new Array();
consonants[0]='b';
consonants[1]='c';
consonants[2]='d';
consonants[3]='f';
consonants[4]='g';
consonants[5]='h';
consonants[6]='j';
consonants[7]='k';
consonants[8]='l';
consonants[9]='m';
consonants[10]='n';
consonants[11]='p';
consonants[12]='q';
consonants[13]='r';
consonants[14]='s';
consonants[15]='t';
consonants[16]='v';
consonants[17]='w';
consonants[18]='x';
consonants[19]='y';
consonants[20]='z';

var vowels = new Array();
vowels[0]='a';
vowels[1]='e';
vowels[2]='i';
vowels[3]='o';
vowels[4]='u';
vowels[5]='y';


var things = new Array();
things[0]='dog';
things[1]='cat';
things[2]='kitten';
things[3]='puppy';
things[4]='salamander';
things[5]='rabbit';
things[6]='cow';
things[7]='goat';
things[8]='monkey';
things[9]='hog';
things[10]='pig';
things[11]='boar';
things[12]='goose';
things[13]='potato';
things[14]='rat';
things[15]='mouse';
things[16]='guinea pig';
things[17]='star';
things[18]='moon';
things[19]='sun';
things[20]='cloud';
things[21]='river';
things[22]='stream';
things[23]='creek';
things[24]='ocean';
things[25]='beach';
things[26]='mountain';
things[27]='rainbow';
things[28]='lion';
things[29]='arm';
things[30]='foot';
things[31]='hand';
things[32]='ear';
things[33]='eye';
things[34]='nose';
things[35]='toe';
things[36]='finger';
things[37]='belly';
things[38]='heart';
things[39]='panther';
things[40]='leopard';
things[41]='gazelle';
things[42]='crab';
things[43]='lobster';
things[44]='shark';
things[45]='dolphin';
things[46]='alligator';
things[47]='crocodile';
things[48]='wolf';
things[49]='coyote';
things[50]='hare';
things[51]='lemur';
things[52]='mongoose';
things[53]='cobra';
things[54]='rattlesnake';
things[55]='iguana';
things[56]='fish';
things[57]='salmon';
things[58]='guppy';
things[59]='pen';
things[60]='quill';
things[61]='paper';
things[62]='cloth';
things[63]='silk';
things[64]='lace';
things[65]='wool';
things[66]='sheep';
things[67]='pigeon';
things[68]='chicken';
things[69]='rooster';
things[70]='blood';
things[71]='phlegm';
things[72]='bile';
things[73]='wind';
things[74]='earth';
things[75]='water';
things[76]='fire';
things[77]='toad';
things[78]='phosphorus';
things[79]='gold';
things[80]='silver';
things[81]='diamond';
things[82]='time';
things[83]='space';
things[84]='galactic';
things[85]='beetle';
things[86]='scarab';
things[87]='fruitfly';
things[88]='butterfly';
things[89]='mantis';
things[90]='earwig';
things[91]='louse';
things[92]='flea';
things[93]='bedbug';
things[94]='wagon';
things[95]='ship';
things[96]='boat';
things[97]='skate';
things[98]='wheel';
things[99]='book';

var jobs = new Array();
jobs[0]='warrior';
jobs[1]='herder';
jobs[2]='poet';
jobs[3]='writer';
jobs[4]='manager';
jobs[5]='king';
jobs[6]='queen';
jobs[7]='prince';
jobs[8]='princess';
jobs[9]='owner';
jobs[10]='thief';
jobs[11]='tender';
jobs[12]='gazer';
jobs[13]='washer';
jobs[14]='cleaner';
jobs[15]='tamer';
jobs[16]='tanner';
jobs[17]='groomer';
jobs[18]='singer';
jobs[19]='dancer';
jobs[20]='sculptor';
jobs[21]='kicker';
jobs[22]='maker';
jobs[23]='mocker';
jobs[24]='chaser';
jobs[25]='stalker';
jobs[26]='follower';
jobs[27]='reader';
jobs[28]='leader';
jobs[29]='stepper';
jobs[30]='plunker';
jobs[31]='dreamer';
jobs[32]='caller';
jobs[33]='finder';
jobs[34]='seeker';
jobs[35]='talker';
jobs[36]='walker';
jobs[37]='runner';
jobs[38]='thrower';
jobs[39]='swimmer';
jobs[40]='trainer';
jobs[41]='trickster';
jobs[42]='player';
jobs[43]='worker';
jobs[44]='conjurer';
jobs[45]='swiper';
jobs[46]='stickler';
jobs[47]='wrapper';
jobs[48]='ponderer';
jobs[49]='trapper';
jobs[50]='slapper';
jobs[51]='slipper';
jobs[52]='collector';
jobs[53]='creator';
jobs[54]='buyer';
jobs[55]='fabricator';
jobs[56]='dipper';
jobs[57]='dowser';
jobs[58]='dangler';
jobs[59]='dazzler';
jobs[60]='frightener';
jobs[61]='polisher';
jobs[62]='shackler';
jobs[63]='protester';
jobs[64]='dentist';
jobs[65]='doctor';
jobs[66]='magician';
jobs[67]='shaman';
jobs[68]='coaxer';
jobs[69]='pusher';
jobs[70]='dragger';
jobs[71]='jester';
jobs[72]='smelter';
jobs[73]='resistor';
jobs[74]='explorer';
jobs[75]='whisperer';
jobs[76]='biographer';
jobs[77]='choreographer';
jobs[78]='stenographer';
jobs[79]='supplier';
jobs[80]='seller';
jobs[81]='monger';
jobs[82]='camper';
jobs[83]='sleeper';
jobs[84]='sender';
jobs[85]='receiver';
jobs[86]='buckler';
jobs[87]='dodger';
jobs[88]='slider';
jobs[89]='wrestler';
jobs[90]='wrangler';
jobs[91]='reaper';
jobs[92]='barber';
jobs[93]='tackler';
jobs[94]='tickler';
jobs[95]='thunderer';
jobs[96]='shopper';
jobs[97]='skipper';
jobs[98]='checker';
jobs[99]='inspector';

var activities = new Array();
activities[0] = 'running';
activities[1] = 'dancing';
activities[2] = 'singing';
activities[3] = 'lounging';
activities[4] = 'carousing';
activities[5] = 'twirling';
activities[6] = 'spinning';
activities[7] = 'winding';
activities[8] = 'flowing';
activities[9] = 'sliding';
activities[10] = 'shirking';
activities[11] = 'spitting';
activities[12] = 'spilling';
activities[13] = 'spanning';
activities[14] = 'tossing';
activities[15] = 'battling';
activities[16] = 'skipping';
activities[17] = 'tripping';
activities[18] = 'galloping';
activities[19] = 'trotting';
activities[20] = 'sailing';
activities[21] = 'shuffling';
activities[22] = 'crawling';
activities[23] = 'inching';
activities[24] = 'sleeping';
activities[25] = 'taunting';
activities[26] = 'haunting';
activities[27] = 'eating';
activities[28] = 'drinking';
activities[29] = 'stretching';
activities[30] = 'shrinking';
activities[31] = 'growing';
activities[32] = 'ebbing';
activities[33] = 'stumbling';
activities[34] = 'jumping';
activities[35] = 'jostling';
activities[36] = 'knocking';
activities[37] = 'falling';
activities[38] = 'flying';
activities[39] = 'rising';
activities[40] = 'descending';
activities[41] = 'ascending';
activities[42] = 'surfing';
activities[43] = 'swimming';
activities[44] = 'gambling';
activities[45] = 'aiming';
activities[46] = 'colliding';
activities[47] = 'camping';
activities[48] = 'joining';
activities[49] = 'uniting';

var places = new Array();
places[0] = 'the Milky Way';
places[1] = 'the ether';
places[2] = 'Saturn';
places[3] = 'Mars';
places[4] = 'Venus';
places[5] = 'Mercury';
places[6] = 'Jupiter';
places[7] = 'Neptune';
places[8] = 'Pluto';
places[9] = 'the chasm of '+sign();
places[10] = 'the cosmos';
places[11] = 'the universe';
places[12] = 'the lower quadrant';
places[13] = 'the upper quadrant';
places[14] = 'the inner sanctum';
places[15] = 'the outer limit';
places[16] = 'the arena of '+sign() + ",";
places[17] = 'the raiment of '+sign() + ",";
places[18] = 'the house of '+sign() + ",";
places[19] = 'the hearth of '+sign() + ",";
places[20] = 'the crux of '+sign() + ",";
places[21] = 'the gardens of '+sign() + ",";
places[22] = 'the sector of '+sign() + ",";
places[23] = 'the castle of '+sign() + ",";
places[24] = 'the palace of '+sign() + ",";
places[25] = 'the eighth room of '+sign() + ",";
places[26] = 'the cellar of '+sign() + ",";
places[27] = 'the attic of '+sign() + ",";
places[28] = 'the inn of '+sign() + ",";
places[29] = 'the particles of '+sign() + ",";
places[30] = 'the mines of '+sign() + ",";
places[31] = 'the depths of '+sign() + ",";
places[32] = 'the peaks of '+sign() + ",";
places[33] = 'the shadow of '+sign() + ",";
places[34] = 'the reaches of '+sign() + ",";
places[35] = 'the orchards of '+sign() + ",";
places[36] = 'the baths of '+sign() + ",";
places[37] = 'the dark reaches of '+sign() + ",";
places[38] = 'the long traces of '+sign() + ",";
places[39] = 'the bleak wastelands of '+sign() + ",";
places[40] = 'the portal of '+sign() + ",";
places[41] = 'the gates of '+sign() + ",";
places[42] = 'the temple of '+sign() + ",";
places[43] = 'the market of '+sign() + ",";
places[44] = 'the tree of '+sign() + ",";
places[45] = 'the river of '+sign() + ",";
places[46] = 'the lake of '+sign() + ",";
places[47] = 'the beaches of '+sign() + ",";
places[48] = 'the island of '+sign() + ",";
places[49] = 'the domain of '+sign() + ",";

var meanings = new Array();
meanings[0] = 'signaling';
meanings[1] = 'foretelling';
meanings[2] = 'predicting';
meanings[3] = 'implying';
meanings[4] = 'meaning';
meanings[5] = 'suggesting';
meanings[6] = 'warning of';
meanings[7] = 'forecasting';
meanings[8] = 'envisaging';
meanings[9] = 'forewarning';
meanings[10] = 'indicating';
meanings[11] = 'hinting at';
meanings[12] = 'denoting';
meanings[13] = 'entailing';
meanings[14] = 'prognosticating';

var changes = new Array();
changes[0] = 'a change';
changes[1] = 'a turn';
changes[2] = 'no change';
changes[3] = 'catastrophic change';
changes[4] = 'a course correction';
changes[5] = 'trouble brewing';
changes[6] = 'rough waters';
changes[7] = 'smooth sailing';
changes[8] = 'difficult times ahead';
changes[9] = 'fluctuations';
changes[10] = 'confusion';
changes[11] = 'you are on the right track';
changes[12] = 'you are denying your inner voice';
changes[13] = 'peaceful results';
changes[14] = 'resentment';
changes[15] = 'anger';
changes[16] = 'fear';
changes[17] = 'frustration';
changes[18] = 'satisfaction';
changes[19] = 'delight';
changes[20] = 'joy';
changes[21] = 'happiness';
changes[22] = 'contentment';
changes[23] = 'a conclusion';
changes[24] = 'an ending';
changes[25] = 'a new beginning';
changes[26] = 'a fresh start';
changes[27] = 'a clear road';
changes[28] = 'a fork in the road';
changes[29] = 'a choice';
changes[30] = 'a decision';
changes[31] = 'a discussion';
changes[32] = 'a chat';
changes[33] = 'a dialogue';
changes[34] = 'a puzzle';
changes[35] = 'a conundrum';
changes[36] = 'you have a clear head';
changes[37] = 'you are distracted';
changes[38] = 'you are focused';
changes[39] = 'you are unsure';

var regards = new Array();
regards[0] = 'in matters of';
regards[1] = 'in the area of';
regards[2] = 'in regard to';
regards[3] = 'with regard to';
regards[4] = 'around matters of';
regards[5] = 'in reference to';
regards[6] = 'in communion with';
regards[7] = 'concerning';
regards[8] = 'relating to';
regards[9] = 'pertaining to';
regards[10] = 'in relation to';
regards[11] = 'in connection with';


var concerns = new Array();
concerns[0] = 'the heart';
concerns[1] = 'the mind';
concerns[2] = 'the body';
concerns[3] = 'the brain';
concerns[4] = 'money';
concerns[5] = 'love';
concerns[6] = 'children';
concerns[7] = 'family';
concerns[8] = 'parenthood';
concerns[9] = 'romance';
concerns[10] = 'mystery';
concerns[11] = 'intrigue';
concerns[12] = 'secrets';
concerns[13] = 'gossip';
concerns[14] = 'lies';
concerns[15] = 'communication';
concerns[16] = 'transportation';
concerns[17] = 'life';
concerns[18] = 'personal freedom';
concerns[19] = 'education';
concerns[20] = 'diet';
concerns[21] = 'pets';
concerns[22] = 'employment';
concerns[23] = 'safety';
concerns[24] = 'getting ahead';
concerns[25] = 'taking a plunge';
concerns[26] = 'physical exertion';
concerns[27] = 'exercise';
concerns[28] = 'politics';
concerns[29] = 'personal hygiene';
concerns[30] = 'leftover food';
concerns[31] = 'clothing';
concerns[32] = 'hair styles';
concerns[33] = 'mechanical devices';
concerns[34] = 'letters you have written';
concerns[35] = 'letters you have received';
concerns[36] = 'letters you may write';
concerns[37] = 'letters you have not written';
concerns[38] = 'letters you have not received';
concerns[39] = 'a conversation you are delaying';
concerns[40] = 'a gift you have given';
concerns[41] = 'a gift you have received';
concerns[42] = 'a promise you made';
concerns[43] = 'a promise made to you';
concerns[44] = 'a hidden shame';
concerns[45] = 'something that makes you proud';
concerns[46] = 'something that makes you happy';
concerns[47] = 'something that makes you want to sing';
concerns[48] = 'something you hope no one learns about you';
concerns[49] = 'something you want to share with the world';

var admonishments = new Array;
admonishments[0] = 'wary of';
admonishments[1] = 'attentive to';
admonishments[2] = 'careful around';
admonishments[3] = 'watchful over';
admonishments[4] = 'welcoming to';
admonishments[5] = 'suspicious of';
admonishments[6] = 'sensible about';
admonishments[7] = 'cordial to';
admonishments[8] = 'friendly to';
admonishments[9] = 'circumspect around';
admonishments[10] = 'ready to work with';
admonishments[11] = 'anxious to please';
admonishments[12] = 'ready for fun with';
admonishments[13] = 'moderately cautious toward';
admonishments[14] = 'ebullient toward';
admonishments[15] = 'jovial with';
admonishments[16] = 'happy to meet';
admonishments[17] = 'lively and cheerful when you encounter';
admonishments[18] = 'lugubrious when you encounter';
admonishments[19] = 'somber about the prospect of meeting';
admonishments[20] = 'alert to the possibility that you will meet';
admonishments[21] = 'vigilant when talking to';
admonishments[22] = 'guarded when addressing';
admonishments[23] = 'restrained in your dealings with';
admonishments[24] = 'prudent in any dealings with';
admonishments[25] = 'anything but hasty when considering working with';
admonishments[26] = 'bold when you meet';
admonishments[27] = 'courageous when handling a difficult situation with';
admonishments[28] = 'intrepid in your inquiries of';
admonishments[29] = 'gallant in your discussions with';
admonishments[30] = 'dauntless in your dealings with';
admonishments[31] = 'enterprising in your financial arrangements with';
admonishments[32] = 'plucky when you meet up with';
admonishments[33] = 'audacious in a difficult encounter with';
admonishments[34] = 'level-headed when you encounter';
admonishments[35] = 'shrewd when talking to';
admonishments[36] = 'judicious in your agreements with';
admonishments[37] = 'sagacious in your counsel to';
admonishments[38] = 'practical when working with';
admonishments[39] = 'willing to serve';
admonishments[40] = 'willling to negotiate with';
admonishments[41] = 'outgoing in your encounter with';
admonishments[42] = 'pleasant in your interactions with';
admonishments[43] = 'responsive in your communications with';
admonishments[44] = 'affable when confronted by';
admonishments[45] = 'a little distant when chatting with';
admonishments[46] = 'cool and composed when handling';
admonishments[47] = 'serene when listening to';
admonishments[48] = 'soothing when counseling';
admonishments[49] = 'relaxed with';

var descriptions = new Array;
descriptions[0] = 'a tall';
descriptions[1] = 'a short';
descriptions[2] = 'a fat';
descriptions[3] = 'a bald';
descriptions[4] = 'a pretty';
descriptions[5] = 'a handsome';
descriptions[6] = 'an average';
descriptions[7] = 'a dark-haired';
descriptions[8] = 'a short-haired';
descriptions[9] = 'a spiky-haired';
descriptions[10] = 'a long-haired';
descriptions[11] = 'a blonde-haired';
descriptions[12] = 'a red-headed';
descriptions[13] = 'a grey-haired';
descriptions[14] = 'a quiet';
descriptions[15] = 'a loud';
descriptions[16] = 'a sentimental';
descriptions[17] = 'a kind';
descriptions[18] = 'a stern';
descriptions[19] = 'a friendly';
descriptions[20] = 'an angry';
descriptions[21] = 'a cooperative';
descriptions[22] = 'an uncooperative';
descriptions[23] = 'a helpful';
descriptions[24] = 'a sinister';
descriptions[25] = 'a left-handed';
descriptions[26] = 'a bearded';
descriptions[27] = 'a sweet-tempered';
descriptions[28] = 'a brooding';
descriptions[29] = 'a menacing';
descriptions[30] = 'a talkative';
descriptions[31] = 'a gossiping';
descriptions[32] = 'a jolly';
descriptions[33] = 'a laughing';
descriptions[34] = 'a sad';
descriptions[35] = 'a melancholy';
descriptions[36] = 'a cheerful';
descriptions[37] = 'a well dressed';
descriptions[38] = 'a t-shirt clad';
descriptions[39] = 'a pajama-wearing';
descriptions[40] = 'a bikini-wearing';
descriptions[41] = 'a wide-eyed';
descriptions[42] = 'a sleepy';
descriptions[43] = 'a happy';
descriptions[44] = 'a dreamy-eyed';
descriptions[45] = 'a grumpy';
descriptions[46] = 'a bashful';
descriptions[47] = 'a hypochondriacal';
descriptions[48] = 'an inquisitive';
descriptions[49] = 'a rambunctious';

var persons = new Array();
persons[0] = 'man';
persons[1] = 'woman';
persons[2] = 'child';
persons[3] = 'kid';
persons[4] = 'person';
persons[5] = 'mother';
persons[6] = 'father';
persons[7] = 'grandfather';
persons[8] = 'grandmother';
persons[9] = 'authority figure';
persons[10] = 'teacher';
persons[11] = 'student';
persons[12] = 'police officer';
persons[13] = 'individual';
persons[14] = 'character';
persons[15] = 'youngster';
persons[16] = 'youth';
persons[17] = 'teenager';
persons[18] = 'juvenile';
persons[19] = 'toddler';
persons[20] = 'infant';
persons[21] = 'member of the opposite sex';
persons[22] = 'family member';
persons[23] = 'co-worker';
persons[24] = 'acquaintance';
persons[25] = 'friend';
persons[26] = 'rival';
persons[27] = 'competitor';
persons[28] = 'homebody';
persons[29] = 'gossip';
persons[30] = 'flirt';
persons[31] = 'teaser';
persons[32] = 'joker';
persons[33] = 'trickster';
persons[34] = 'salesperson';
persons[35] = 'confidant';
persons[36] = 'soul mate';
persons[37] = 'brother';
persons[38] = 'sister';
persons[39] = 'sibling';
persons[40] = 'pal';
persons[41] = 'buddy';
persons[42] = 'companion';
persons[43] = 'comrade';
persons[44] = 'foe';
persons[45] = 'stranger';
persons[46] = 'ally';
persons[47] = 'supporter';
persons[48] = 'visitor';
persons[49] = 'outsider';


function consonant() {
	randomSelection = Math.floor(Math.random()*21);
	if (randomSelection > 20) randomSelection = 20;
	return consonants[randomSelection];
}
function vowel() {
	randomSelection = Math.floor(Math.random()*6);
	if (randomSelection > 5) randomSelection = 5;
	return vowels[randomSelection];
}
function thing() {
	randomSelection = Math.floor(Math.random()*100);
	if (randomSelection > 99) randomSelection = 99;
	return things[randomSelection];
}
function job() {
	randomSelection = Math.floor(Math.random()*100);
	if (randomSelection > 99) randomSelection = 99;
	return jobs[randomSelection];
}
function sign() {
      var thisThing = thing();
      thisThing = thisThing.charAt(0).toUpperCase() + thisThing.substr(1,thisThing.length);
	var thisJob = job();
	thisJob = thisJob.charAt(0).toUpperCase() + thisJob.substr(1,thisJob.length);
      return consonant().toUpperCase() + vowel() + consonant() + vowel() + consonant() + "us, the " + thisThing + " " + thisJob;
}
function activity() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return activities[randomSelection];
}
function place() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return places[randomSelection];
}
function meaning() {
	randomSelection = Math.floor(Math.random()*15);
	if (randomSelection > 14) randomSelection = 14;
	return meanings[randomSelection];
}

function change() {
	randomSelection = Math.floor(Math.random()*40);
	if (randomSelection > 39) randomSelection = 39;
	return changes[randomSelection];
}

function regard() {
	randomSelection = Math.floor(Math.random()*12);
	if (randomSelection > 11) randomSelection = 11;
	return regards[randomSelection];
}

function concern() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return concerns[randomSelection];
}

function admonishment() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return admonishments[randomSelection];
}	

function description() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return descriptions[randomSelection];
}

function person() {
	randomSelection = Math.floor(Math.random()*50);
	if (randomSelection > 49) randomSelection = 49;
	return persons[randomSelection];
}

function theDate() {
	var now = new Date();
      var monthString = "";
	var yearString = "";
	var dayString = "";

	var dow = new Array();
	dow[0] = "Sunday";
	dow[1] = "Monday";
	dow[2] = "Tuesday";
	dow[3] = "Wednesday";
	dow[4] = "Thursday";
	dow[5] = "Friday";
	dow[6] = "Saturday";
	dayString = dow[now.getDay()];

	var moy = new Array();
	moy[0] = "January";
	moy[1] = "February";
	moy[2] = "March";
	moy[3] = "April";
	moy[4] = "May";
	moy[5] = "June";
	moy[6] = "July";
	moy[7] = "August";
	moy[8] = "September";
	moy[9] = "October";
	moy[10] = "November";
	moy[11] = "December";
	monthString = moy[now.getMonth()];

      var dateString =  dayString + ", " + monthString + now.getDate() + ", " + now.getYear() + ", " + now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds();
	return dateString;
}

function prognosticate() {
	horoscope=window.open("", "Horoscope", "width=600, height=400");
      horoscope.document.write("<html>\n<head>");
	horoscope.document.write("\n<title>Your Epistomoscope for " + theDate() +"</title>\n");
	horoscope.document.write("<style>\n");
	horoscope.document.write("p {font-family:Blackadder ITC,Gigi,Serif;font-style:italic; font-size:32px}");
	horoscope.document.write("h1 {font-family:Blackadder ITC,Gigi,Serif;font-style:italic;font-size:40px}");
	horoscope.document.write("h2 {font-family:Blackadder ITC,Gigi,Serif;font-style:italic;font-size:36px}");
	horoscope.document.write("</style>");
	horoscope.document.write("</head>\n<body bgcolor='#CCBB44' background='./epistomoscope/epistomoscope.jpg'>\n<h1>Epistomoscope</h1>");
	horoscope.document.write("<h2>");
      horoscope.document.write(sign());
      horoscope.document.write("</h2>");
      horoscope.document.write("<p>");
	horoscope.document.write(sign() + ", is " + activity() + " in " + place());
      horoscope.document.write(" " + meaning() + " " + change() + " " + regard() +  " " + concern() + ".");
	horoscope.document.write(" Be " + admonishment() + " " + description() + " " + person() + ".");
	horoscope.document.write("</body>\n</html>");
      horoscope.document.close();
}

