
var general = new Array();
var positive = new Array();
var negative = new Array();
var comp = new Array();
var lucky = new Array();

/* SECTION (A): Numbers and their significance

					Number '1'
					---------------


POSITIVE QUALITIES OF NUMBER '1':  */

general[0] = "<p><b><font face=verdana size=2>Your Birth Number is :<font color='#FF0000'> 1</font></b></p><p><b><font color='#FF0000'>Number 1 Personality Traits</font></b></p><p>They are born leaders. They are motivating, take quick decisions, and are independent.&nbsp; They do not hesitate to initiate actions for achieving desired results. They are ambitious and deep thinkers.</p>";

positive[0] = "<p><b>General Characteristics</b></p><p>Birth number <b> 1</b> are self-made. Many politicians, corporate leaders, writers are born under this number.<b>1</b>. The positive qualities about this number <b> 1 </b> are- they are creative, enjoy life, daring to face any situation. They are very enthusiastic and generally original in thinking.</p>";

//NEGATIVE QUALITIES OF NUMBER '1':

negative[0] = "<p>The negative qualities- Self-fish and can go any extent to promote their ideas. Their self-centered nature might not attract many friends for them. They are over-confident and believe that they do not require any help.</p>";

comp[0] = "<p><b>Planet- <font color='#FF0000'>Sun</font></b></p><p><b>Lucky days-<font color='#FF0000'> Sunday, Monday</font></b></p>";

lucky[0] = "<p><b>Compatible Birth numbers-<font color='#FF0000'> 7, 4, 8.</font></b></p>";

// -----------------------------------------------------------------------------------------------------
//					NUMBER '2':
//					-----------------

general[1] ="<p><b><font face=verdana size=2>Your Birth Number is :<font color='#FF0000'>  2</font></b></p><p><b><font color='#FF0000'>Number 2 Personality Traits</font></b></p><p>Birth number <b> 2</b> are supportive, diplomatic people. They are understanding and willing to adjust to the situations. The number <b> 2</b> are friendly, shy, and attract others' attention easily.</p>";

//POSITIVE QUALITIES OF NUMBER '2':
positive[1] = "<b>General Characteristics</b></p><p>The positive attributes of the Birth number <b> 2</b> are- They are good mediators and win arguments. They make good listeners and are good at solving disputes in a fair, unbiased manner. They are disciplined and like to follow a routine. Teaching, Marketing, law are suitable professions for them.</p>"; 

//NEGATIVE QUALITIES OF NUMBER '2'
negative[1] = "<p>The negative quality of Birth number <b> 2 </b> is that- they are lazy. They can be pessimistic and prefer less competitive situation.&nbsp;&nbsp;</p>";

//COMPATIBILITY:
comp[1] = "<p><b>Planet-<font color='#FF0000'> Moon</font></b></p><p><b>Lucky days-&nbsp; <font color='#FF0000'>Sunday, Friday.</font></b></p>";

lucky[1] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>2, 8</font></b></p>";

/*					NUMBER '3'
					
POSITIVE QUALITIES OF NUMBER '3': */
general[2] = "<p><b><font face=verdana size=2> Your Birth Number is :<font color='#FF0000'> 3</font></b></p><p><font color='#FF0000'><b>Number 3 Personality Traits</b></font></p><p>Birth number<b> 3</b> are imaginative, peace loving people. Optimistic and fun-loving and strive to uplift and color the environment they live. They are energetic, youthful, enthusiastic like children.&nbsp;</p>";
positive[2] = "<p><b>General Characteristics</b></p><p>Three words that easily define Birth number <b> 3</b> are- sociable, creative,expressive. They think positive, and are very good in oral, verbal skills. They are talented and like to share their talents and natural gifts with others easily. They possess pleasing manners and are sensitive to others' feelings.They are frank and speak openly.</p>";

//NEGATIVE QUALITIES OF NUMBER '3'
negative[2] = "<p>The negative characteristics of this Birth number are- they are not good at handling money. They are frivolous, and have tendency to squander money. It is difficult to understand them. Guard against being critical of others, impatient, intolerant, or sometimes overly optimistic. The number<b> 3</b> can be an enigma and are moody individuals.</p>";

//COMPATIBILITY:
comp[2] = "<p><b>Planet-<font color='#FF0000'> Jupiter</font></b></p><p><b>Lucky days- <font color='#FF0000'>Thursday, Friday and Tuesday are your days.</font></b></p>";

lucky[2] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>3, 1.</font></b></p>";

//-----------------------------------------------------------------------------------------------------
//					NUMBER '4'
general[3] = "<p><b><font face=verdana size=2>Your Birth Number is :<font color='#FF0000'> 4</font></b></p><p><font color='#FF0000'><b>Number 4 Personality Traits</b></font></p><p>Birth number <b>4</b> are hardworking people. Number <b> 4 </b> are traditional, realistic and pragmatic in thinking. They are disciplined, like things to be in order.</p>";

//POSITIVE QUALITIES: (4)
positive[3] = "<p><b> General Characteristics</b></p><p> Number <b> 4</b> are trustworthy, apt to be an excellent organizer and planner because of the innate ability to view things in a very common sense and practical way. They are loyal,devoted and make good business partners. They are achievers- set the goals, carry out the tasks with dedication and perseverance. This number is solidly associated with the element of earth from which it gains it strength and utter sense of reality. Friends may be few in number, but you are very close to them and once friendships are made, they often last a lifetime.&nbsp;</p>";

//NEGATIVE QUALITIES:(4)
negative[3] = "<p>The negative side of this number is that- they are narrow minded, and have tendency to exaggerate situations. They lack tact in negotiations. Their obsessive nature for hard work can irritate many.</p>";

//COMPATIBILITY:
comp[3] = "<p><b>Planet-<font color='#FF0000'> Uranus</font></b></p><p><b>Lucky days- </b><font color='#FF0000'>Saturday, Sunday and Monday.</font></p>";

lucky[3] = "<p><b>Compatible Birth numbers- </b><font color='#FF0000'>1, 7</font></p>";


//NUMBER '5'
					
//POSITIVE QUALITIES:(5)
general[4] = "<p><b><font face=verdana size=2>Your Birth Number is :  <font color='#FF0000'> 5</font></b></p><p><font color='#FF0000'><b>Number 5 Personality Traits</b></font></p><p>Number <b> 5 </b> is of out going, fast moving, need for change and growth. They are daring, unpredictable individuals. They are opportunistic and like to chase till they win.</p>";
positive[4] = "<p><b>General Characteristics</b></p><p>They love to be totally unrestrained, as this is the sign of freedom and independence. Number<b> 5</b> dislike routine,and the love for adventure motivates them to discover new paths in life. They are good communicators, multi-talented, but are likely to be indecisive about career ambitions. They are happy-go-lucky; living for today, and not worrying too much about tomorrow.&nbsp;</p>";

//NEGATIVE QUALITIES OF NUMBER '5'
negative[4] = "<p>The negative aspects of this number are- self-serving and non-dependable.They could be very irresponsible for making decisions regarding home and career.They can be insensitive to others' feeling in pursuit of fun and adventure.&nbsp;</p>";

//COMPATIBILITY: 
comp[4] = "<p><b>Planet-<font color='#FF0000'> Mercury</font></b></p><p><b>Lucky days-&nbsp; <font color='#FF0000'>Wednesday and Friday.</font></b></p>";

lucky[4] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>5, 1</font></b></p>";


//--------------------------------------------------------------------------------------------					
//NUMBER '6'

general[5] = "<p><b><font face=verdana size=2>Your Birth Number is : <font color='#FF0000'> 6</font></b></p><p><font color='#FF0000'><b>Number 6 Personality Traits</b></font></p><p>The <b>6</b> symbolizes nurturing, caring, harmony, the mother-earth type. The six is rarely selfish and share others' sorrow unnecessarily. They love tradition and are health-oriented. Home is best place for number<b> 6</b> and are happy in a conventional or familiar surroundings. They are ruled by the planet Venus and are bestowed with good looks.</p>";

//POSITIVE QUALITIES:(6)
positive[5] = "<p><b> General Characteristics</b><p>Birth number <b> 6</b> exhibit a very strong sense of responsibility. They are supportive and believe in leadership by example. They possess wisdom and are good at problem solving. They make good friends and the most important thing in life for them is family.&nbsp; They are humane and willing to help others in need.</p>";

//NEGATIVE QUALITIES:(6)
negative[5] = "<p>Birth number <b> 6</b> are judgmental. They easily criticise others. They like impress others with their views and opinions and are inclined to judge others severely.This could harm the relationships with others sometimes.</p>";

//COMPATIBILITY:
comp[5] = "<p><b>Planet<font color='#FF0000'></font>-<font color='#FF0000'>Venus</font></b></p><p><b>Lucky days-&nbsp;<font color='#FF0000'> Wednesday and Friday.</font></b></p>";

lucky[5] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>2, 4</font></b></p>";

/* -----------------------------------------------------------------------------------------------------
					NUMBER '7'
					----------------- */

general[6] = "<p><b><font face=verdana size=2>Your Birth Number is : <font color='#FF0000'> 7 </font></b></p><p><font color='#FF0000'><b>Number 7 Personality Traits</b></font></p><p>Number <b>7 </b>stands in symbolism for the planet Neptune. This is associated with moon. They posses some remarkable qualities.</p>";

//POSITIVE QUALITIES:
positive[6] = "<p><b> General Characteristics<br></b>They are independent, original and have a strongly marked individuality. They love to travel to distant places. They make good writers, painters and poets.They show a peculiar philosophic outlook and love to donate money. They are known to have remarkable dreams and interest towards occultism. They are also known for their intuitive powers, and can greatly influence others.</p>";

//NEGATIVE QUALITIES OF NUMBER '7':
negative[6] = "<p>Those born under the number <b>7</b> very rarely display any negative qualities.It is the most fortunate number to be born under. Their only marked quality is that they are restless.</p>";

//COMPATIBILITY:
comp[6] = "<p><b>Planet<font color='#FF0000'></font>-<font color='#FF0000'>Venus</font></b></p><p><b>Lucky days-<font color='#FF0000'>Mondays, Tuesdays.</font></b></p>";

lucky[6] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>1, 4</font></b></p>";

//					NUMBER '8'


general[7] = "<p><b><font face=verdana size=2> Your Birth Number is : <font color='#FF0000'> 8</font></b></p><p> <font color='#FF0000'><b>Number 8 Personality Traits</b></font></p><p> Birth number <b> 8</b> is ruled by Saturn. The <b>8</b> is domination, control and achievement. It is the executive   decision-maker and tends to be rather formal, stern and hard-headed. More   comfortable in the realm of material, tangible facts, the <b> 8</b> will be truly  exceptional as soon as it develops its spiritual connection and intuition. Birth Number <b>8 </b>are good natural leaders with the zeal to achieve any goal.</p>";
positive[7] = "<p><b>General Characteristics</b></p><p>Birth number <b>8</b> love to learn new things. They are independent, and competitive. They are confident and amass wealth during their life-time. They give importance to material success in life. They like to be recognised as achievers. They do well in business and posses good organisational skills. They could be status conscious.&nbsp;</p>";

negative[7] = "<p>They negatives in the number<b> 8</b> is- they are dominating, which could sometimes lead to loneliness and isolation. They cannot express their feelings. Material gains and rewards often become issues of utmost importance,even to the neglect of family, home and peace of mind.</p>";

comp[7] = "<p><b>Planet<font color='#FF0000'> </font>-<font color='#FF0000'> Saturn</font></b></p><p><b>Lucky days- <font color='#FF0000'>Saturdays, Sundays and Mondays.</font></b></p>";

lucky[7] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>8, 7, 1</font></p>";

/*-----------------------------------------------------------------------------------------------------

					NUMBER '9'

POSITIVE QUALITIES OF NUMBER '9' */
general[8] = "<p><b><font face=verdana size=2>Your Birth Number is :  <font color='#FF0000'> 9</font></b></p><p><font color='#FF0000'><b>Number 9 Personality Traits</b></font></p><p>The number <b>9</b> represents the universal philosophy or consciousness.They flourish in the field of arts, medicine,religion, drama- philosophy and metaphysics. They seek solutions to problems rather than brooding over the problems. The are active and infect the environment around them with enthusiasm and energy.</p>";
positive[8] = "<p><b>General Characteristics- </b>They like to dress well, look for appreciation, praise and are not easy to forget. They make an impression on others easily. They are soft spoken and sometimes others could take advantage of their weakness. They forgive others easily. Any career that needs to deal with the public is an excellent one for them, as they possess natural flair for expressing themselves. Advertising and marketing, music, drama/theatre, all are good for this number. They are broadminded, sympathetic,romantic and very passionate about their love. Relationship with the opposite sex can be difficult for those born under number <b>9</b>.</p>";

//NEGATIVE QUALITIES OF NUMBER '9'
negative[8] = "<p>They are not good at making decisions or often not happy about the decisions taken.&nbsp;</p>";

//COMPATIBILITY:
comp[8] = "<p><b>Your Planet- <font color='#FF0000'>Mars</font></b></p><p><b>Lucky days- <font color='#FF0000'>Tuesday, Thursday and Friday.</font></b></p>";

lucky[8] = "<p><b>Compatible Birth numbers- <font color='#FF0000'>9, 6, 4.</font></p>";

var gen = "",pos = "",neg = "",cmp = "",luk = "";

var zPos="", zNeg="", zPos2 = "", zNeg2="", pPos="", pNeg="", fPos="", fNeg="", placePos="", placeNeg="";

function getMessage(val)
{
	nos = new Array();
	nos = val;
	len = nos.length;

//	alert(nos)
	gen = general[nos[0]-1];
	cmp = comp[nos[0]-1];
	luk = lucky[nos[0]-1];
	pos = positive[nos[0]-1];
	neg = negative[nos[0]-1];
	
	zPos = positive[nos[1]-1];
	zNeg = negative[nos[1]-1];

	if(len == 6)
	{
		zPos2 = positive[nos[2]-1];
		zNeg2 = negative[nos[2]-1];
	}


	if(nos[len-1])
	{
		placePos = positive[nos[len-1]-1];
		placeNeg = negative[nos[len-1]-1];		
	}
	
	if(nos[len-2])
	{
		fPos = positive[nos[len-2]-1];
		fNeg = negative[nos[len-2]-1];	
	}

	if(nos[len-3])
	{
		pPos = positive[nos[len-3]-1];
		pNeg = negative[nos[len-3]-1];		
	}

/*	for(i = 1; i < nos.length; i++)
	{
		rpos = rpos + positive[nos[i] - 1];
		rneg = rneg + negative[nos[i] - 1];
	} 
	return(gen+ + "\n\n\n\n\n\n\n" +pos +"\n\n\n\n\n\n"+ neg+ "\n\n\n\n\n" + cmp + "\n\n\n\n\n\n"  + luk);    */

}