
var cardz=new Array(78)
for (i=0; i <78; i++)
{cardz[i]=new Array(4)}

cardz[0][0] = "0 The Fool"
cardz[0][1] = "Gazing at the sky he steps over the brink."
cardz[0][2] = "He is an innocent dreamer to whom a fresh choice is offered.  The goal is great.  He must choose wisely. "
cardz[0][3] = "Ignorance is not bliss! Folly and indiscretion.  A wrong choice is made. Innocence is not the same as ignorance."
cardz[1][0] = "1 The Magus"
cardz[1][1] = "He symbolizes the union of divine and human will."
cardz[1][2] = "A person of creative power: he uses the power from above and makes it real. The plan will work."
cardz[1][3] = "Power used for destructive ends.  Indecision leads to lack of harmony and ineptitude."
cardz[2][0] = "2 The Priestess"
cardz[2][1] = "She is the manifestation of the hidden forces."
cardz[2][2] = "The perfect women; hidden influences Inspiration and creative flowering. Perfection is possible."
cardz[2][3] = "A selfish and ruthless women; outer beauty hides inner corruption. The map is not the territory."
cardz[3][0] = "3 The Empress"
cardz[3][1] = "The Earth Mother; Goddess of Love and Fertility"
cardz[3][2] = "Material wealth: marriage: fertility. The land brings forth many flowers."
cardz[3][3] = "Beware luxury. Infertility: material loss: waste. Possible disruption of mind and home. Do not waste your time."
cardz[4][0] = "4 The Emperor"
cardz[4][1] = "The Lord of all he surveys."
cardz[4][2] = "Leadership and control. The power to make war. Action brings results."
cardz[4][3] = "Control is lost: weakness leads to bondage. Beware fraud. Grow up."
cardz[5][0] = "5 The Hierophant"
cardz[5][1] = "For him the letter of the law is enough."
cardz[5][2] = "The ritual leader: obey the rules. Form is more important than content. The need for conformity; dogma; social approval. "
cardz[5][3] = "Openness to new ideas. Love of creativity and unorthodoxy. Beware of superstition."
cardz[6][0] = "6 The Lovers"
cardz[6][1] = "How will Adam and Eve choose this time?"
cardz[6][2] = "Temptation and attraction. The sacred battles the profane. Inner harmony; outer peace."
cardz[6][3] = "Infidelity and disharmony. Passion overcomes reason. The choice may be faulty."
cardz[7][0] = "7 The Chariot"
cardz[7][1] = "Ride it in triumph; but mind the gaps!"
cardz[7][2] = "Conquest of obstacles within and without. The great one travels in comfort. Control of self leads to control of others."
cardz[7][3] = "You get what you should not have desired. Change is not always for the better. Victory at a cost."
cardz[8][0] = "8 Strength"
cardz[8][1] = "She tames the lion with flowers."
cardz[8][2] = "Force of character. The spirit conquers the material; love defeats hate. A higher nature wins out."
cardz[8][3] = "Domination by material desires. Discord; fear of the unknown; weakness Power is abused."
cardz[9][0] = "9 The Hermit"
cardz[9][1] = "He carries a light to guide the soul"
cardz[9][2] = "Seek help from one who knows the way. Seek him out; he will not come to you. A journey may be necessary."
cardz[9][3] = "The eternal child does not recognize what he needs; he may ignore the one who can show him the way."
cardz[10][0] = "10 The Wheel of Fortune"
cardz[10][1] = "...and where it stops nobody knows!"
cardz[10][2] = "A stroke of luck when it is most needed. You can control your fate by submitting to it.  Come on $<span style='font-size:14px'>&infin;!</span>"
cardz[10][3] = "Bad luck and setbacks; fate is against you.  Courage is needed.  Luck is what you make it."
cardz[11][0] = "11 Justice"
cardz[11][1] = "She holds the sword and the keys."
cardz[11][2] = "Only through a balance of forces can justice be done.  Eliminate the extras and get back to the basics."
cardz[11][3] = "Judge not lest you be judged. You suffer unfair preconceptions; perhaps you are the cause."
cardz[12][0] = "12 The Hanged Man"
cardz[12][1] = "He swings between Earth and Heaven."
cardz[12][2] = "Take a break to reflect.  You are the key to your own liberation. Today yourself; tomorrow the world!"
cardz[12][3] = "The gallows are his own ego. Do not waste time on dreams. The predicted event will not happen."
cardz[13][0] = "13 Death"
cardz[13][1] = "Every end is a new beginning."
cardz[13][2] = "Transformation; rebirth. Destruction of the old leads to renewed vigour. "
cardz[13][3] = "Do not fear drastic change. Who does not move ahead will fall behind. Disaster."
cardz[14][0] = "14 Temperance"
cardz[14][1] = "He is his own guardian angel."
cardz[14][2] = "Imaginings are made real.  Harmony comes from successful combinations.  Control yourself and no one can control you."
cardz[14][3] = "Bad combinations. Conflict leads to separation. The ship is on the rocks."
cardz[15][0] = "15 The Devil"
cardz[15][1] = "He tempts us with chains of gold."
cardz[15][2] = "Do not get drunk on the wine of life. Power is abused. Beware magic."
cardz[15][3] = "You hold the key to the chain. Remove it. Now what?"
cardz[16][0] = "16 The House of God"
cardz[16][1] = "Lightning destroys the tower of pride"
cardz[16][2] = "The house built on lies will collapse. The moment of truth. Catastrophe."
cardz[16][3] = "The price of freedom is too high. Oppression. Arson is suspected."
cardz[17][0] = "17 The Star"
cardz[17][1] = "Contemplate her vibration."
cardz[17][2] = "The gifts of the spirit. Healthy mind and body. Give love to receive it. You must listen to the silence."
cardz[17][3] = "Don't be so stubborn. Sick mind: sick body."
cardz[18][0] = "18 The Moon"
cardz[18][1] = "She shows the way with reflected light."
cardz[18][2] = "In dreams the howling dog is a wolf again. Increased perception reveals new perils. A loved one is in danger. Loop before you leak."
cardz[18][3] = "The storm destroys the house but not the foundation.  The world is not a dream."
cardz[19][0] = "19 The Sun"
cardz[19][1] = "It shines within."
cardz[19][2] = "Everything is beautiful. "
cardz[19][3] = "The future is clouded. You may lose it all. "
cardz[20][0] = "20 Judgement"
cardz[20][1] = "The last trumpet blows: who will hear it?"
cardz[20][2] = " From death comes new life. The ruling is in your favour. No regrets. "
cardz[20][3] = "He fears his own actions. Separation from self and others. Possible loss."
cardz[21][0] = "21 The Cosmos"
cardz[21][1] = "Her dance is all creation."
cardz[21][2] = "Triumph is yours; rejoice! Travel makes the person. The circle is squared."
cardz[21][3] = "Do not cling to what binds you. Success eludes the one who will not move. Remove your blindfold."
cardz[22][0] = "Ace of Wands"
cardz[22][1] = "A hand from a cloud offers a flowering wand."
cardz[22][2] = "A creative beginning; enterprise or profitable journey. Inheritance. New career. Birth."
cardz[22][3] = "New venture stalled; a journey postponed. Lack of determination stops project."
cardz[23][0] = "2 of Wands"
cardz[23][1] = "He waits for his ship to come in."
cardz[23][2] = "Creativity. Courage. Good things to come. Beware unforgiving pride."
cardz[23][3] = "Impatience brings a good beginning to a bad end.  Beware domination."
cardz[24][0] = "3 of Wands"
cardz[24][1] = "The long-awaited ships enter the port."
cardz[24][2] = "Cooperation and partnership bring success. Seek help from the successful."
cardz[24][3] = "Disappointment in business due to pride. Neglect leads to error; do not scatter forces."
cardz[25][0] = "4 of Wands"
cardz[25][1] = "Flowers of celebration held high."
cardz[25][2] = "Well deserved rest. Celebration of the harvest. Love.  Prosperity.  Marriage."
cardz[25][3] = "Appreciate small pleasures. Peace and harmony in family life."
cardz[26][0] = "5 of Wands"
cardz[26][1] = "Five brothers do battle."
cardz[26][2] = "Conflict and competition in business: fight for the right.  Lawsuits and obstacles."
cardz[26][3] = "Harmony.  Opportunity.  Love of athletics. Breaking down to build again."
cardz[27][0] = "6 of Wands"
cardz[27][1] = "He rides in triumph."
cardz[27][2] = "Advancement to victory; a journey as leader. Good news.  Harmony  Friendship."
cardz[27][3] = "Reward postponed; journey delayed. Vain pride; you are not the winner."
cardz[28][0] = "7 of Wands"
cardz[28][1] = "He holds off the invaders."
cardz[28][2] = "Hold your own; you can do it. Victory comes from energy and courage."
cardz[28][3] = "Be patient; the threat will pass. Indecision leads to submission."
cardz[29][0] = "8 of Wands"
cardz[29][1] = "Touchdown on the runway."
cardz[29][2] = "Love is in the open air; fly to your goal. New ideas are realized quickly."
cardz[29][3] = "Arrows of malice find their mark. The message does not come."
cardz[30][0] = "9 of Wands"
cardz[30][1] = "He awaits a new attack."
cardz[30][2] = "Reserve your strength; the battle is not done. Don't be so stubborn. You will win in the end."
cardz[30][3] = "Unreadiness leads to defeat. Good intentions are not enough."
cardz[31][0] = "10 of Wands"
cardz[31][1] = "He staggers on."
cardz[31][2] = "The haul is long; the load heavy.  Ruin and pain  at every step.  Complete failure is at hand."
cardz[31][3] = "Selfish energy; knows how to switch the blame. Desire to harm."
cardz[32][0] = "Page of Wands"
cardz[32][1] = "A fair-haired youth: brilliant and impulsive."
cardz[32][2] = "A bringer of news. Desire for power. Courage.  Favourable testimony."
cardz[32][3] = "A heartbreaker.  Cruel and unstable  May cause conflict.  A change of locale and situation."
cardz[33][0] = "Knight of Wands"
cardz[33][1] = "A fair-haired young man; energetic and fiery"
cardz[33][2] = "Impetuosity and generosity; may be brutal. A change of locale or situation"
cardz[33][3] = "A jealous lover; frustration leads to discord. Interference with work."
cardz[34][0] = "Queen of Wands"
cardz[34][1] = "A fair-haired woman; fruitful in mind and body."
cardz[34][2] = "She knows what she wants and how to get it. Love of home and nature; good with money."
cardz[34][3] = "Domination and infidelity. Quick to avenge imagined wrongs."
cardz[35][0] = "King of Wands"
cardz[35][1] = "A fair-haired man of fire."
cardz[35][2] = "Passionate; agile; loyal; impulsive. Unexpected heritage; good marriage."
cardz[35][3] = "Intolerant and bad-tempered. He follows the high road at any cost."
cardz[36][0] = "Ace of Cups"
cardz[36][1] = "From the cup of life flows the water of love."
cardz[36][2] = "The beginnings of love and joy. Pleasure from productivity."
cardz[36][3] = "False pleasure; joy is clouded. Do not hesitate in love."
cardz[37][0] = "2 of Cups"
cardz[37][1] = "The union of opposite forces."
cardz[37][2] = "Harmony; friendship; reciprocity. Find your complementary soul."
cardz[37][3] = "Violence and false love.  Dissipation. Misunderstanding brings conflict."
cardz[38][0] = "3 of Cups"
cardz[38][1] = "A toast to a successful conclusion."
cardz[38][2] = "Pleasure comes from success. Hospitality."
cardz[38][3] = "Beware gluttony. Success turns to ashes."
cardz[39][0] = "4 of Cups"
cardz[39][1] = "Lost in dreams."
cardz[39][2] = "Too much too late; what do you want? Don't rest too long."
cardz[39][3] = "He awakes from the dream; is it too late? New things possible."
cardz[40][0] = "5 of Cups"
cardz[40][1] = "She mourns what's lost; ignores what's offered."
cardz[40][2] = "Disillusionment in love; regrets. Loss; but not total."
cardz[40][3] = "Happy returns; enjoyment is back. A new alliance."
cardz[41][0] = "6 of Cups"
cardz[41][1] = "Happy memories"
cardz[41][2] = "An old friendship is renewed; a new one born. A gift from an admirer."
cardz[41][3] = "Too much attachment to nostalgia. A gift from the past"
cardz[42][0] = "7 of Cups"
cardz[42][1] = "Fantastic visions."
cardz[42][2] = "He deceives himself with dreams. A legend only in his mind."
cardz[42][3] = "Follow up on small successes The choice is good."
cardz[43][0] = "8 of Cups"
cardz[43][1] = "He abandons success for a dream."
cardz[43][2] = "Aimless wandering; disappointment in love."
cardz[43][3] = "The search for a higher goal."
cardz[44][0] = "9 of Cups"
cardz[44][1] = "The spiritual is replaced by the material. "
cardz[44][2] = "New love. The fulfillment of wishes."
cardz[44][3] = "Physical satisfaction. The wish is not granted. Do not place trust in false freedom."
cardz[45][0] = "10 of Cups"
cardz[45][1] = "The promise of domestic happiness."
cardz[45][2] = "Contentment and lasting happiness. Perfect peace and love."
cardz[45][3] = "Loss of friends and family. Criminal satisfactions."
cardz[46][0] = "Page of Cups"
cardz[46][1] = "A thoughtful youth with light brown features."
cardz[46][2] = "Helps you with new ideas. Birth."
cardz[46][3] = "Imagination without action. A deception may be revealed."
cardz[47][0] = "Knight of Cups"
cardz[47][1] = "A young man with light brown features."
cardz[47][2] = "A dreamer of sensual delights. Brings an invitation; accept it."
cardz[47][3] = "Idleness and deception. Do not accept his offer."
cardz[48][0] = "Queen of Cups"
cardz[48][1] = "A woman of vision with light brown features."
cardz[48][2] = "Kind; able; imaginative. Listen to her."
cardz[48][3] = "Intelligent; but not for your benefit. Dishonesty and immorality."
cardz[49][0] = "King of Cups"
cardz[49][1] = "An intelligent man of light brown features."
cardz[49][2] = "He is skilled in business and law. He wants to help; accept."
cardz[49][3] = "Powerful but crafty; watch him. His quiet front hides hidden passion."
cardz[50][0] = "Ace of Swords"
cardz[50][1] = "The sword is crowned with victory."
cardz[50][2] = "Conquest and triumph; great activity. The child will go far."
cardz[50][3] = "The battle is won; but the war is lost. Obstacles to fertility."
cardz[51][0] = "2 of Swords"
cardz[51][1] = "She sits on the edge blindfolded."
cardz[51][2] = "Tension and indecision; stalemate. Balance and rhythm with no direction."
cardz[51][3] = "Blinded by the light. Beware imposters."
cardz[52][0] = "3 of Swords"
cardz[52][1] = "Three swords through the heart."
cardz[52][2] = "Stormy weather for love. Brothers and lovers at war."
cardz[52][3] = "Confusion; sorrow; loss. It will pass."
cardz[53][0] = "4 of Swords"
cardz[53][1] = "The man of war takes time for prayer."
cardz[53][2] = "Anxiety relaxes; Well-deserved rest. A change for the better."
cardz[53][3] = "Renewed action; restless movement. Be cautious."
cardz[54][0] = "5 of Swords"
cardz[54][1] = "Is he victor or victim?"
cardz[54][2] = "Failure; degradation; defeat. Conquest; cruelty; cowardice."
cardz[54][3] = "Pride brings an empty victory.  A funeral is attended."
cardz[55][0] = "6 of Swords"
cardz[55][1] = "The grieving ones approach the far shore."
cardz[55][2] = "A journey by water to a new beginning. One is sent to do another's business."
cardz[55][3] = "No way out for now. The lawsuit is unsuccessful."
cardz[56][0] = "7 of Swords"
cardz[56][1] = "He steals the most but leaves the best."
cardz[56][2] = "The plan may fail; but not completely. Spying and theft."
cardz[56][3] = "Follow sound advice. The plan may succeed."
cardz[57][0] = "8 of Swords"
cardz[57][1] = "She is imprisoned by her own fear."
cardz[57][2] = "Restricted surroundings. The sickness will pass."
cardz[57][3] = "Generosity loosens the bonds. A new beginning is possible."
cardz[58][0] = "9 of Swords"
cardz[58][1] = "She awakens but the nightmare continues."
cardz[58][2] = "Burdens and losses. Prepare to grieve."
cardz[58][3] = "The morning brings new hope. Have patience."
cardz[59][0] = "10 of Swords"
cardz[59][1] = "He lies dead and forgotten."
cardz[59][2] = "Tears will fall. Give to the unfortunate and avoid their fate."
cardz[59][3] = "Evil is overthrown with help from above. Have courage to rise again."
cardz[60][0] = "Page of Swords"
cardz[60][1] = "An energetic youth of brown hair and eyes."
cardz[60][2] = "The apprentice does the work of the master. A message arrives."
cardz[60][3] = "The imposter is the least suspected. Be prepared."
cardz[61][0] = "Knight of Swords"
cardz[61][1] = "A brown-haired young man; handsome and bold."
cardz[61][2] = "He has courage; tends to dominate. Misfortune comes and goes."
cardz[61][3] = "A bragging bully; he delights in ruling others. He may bring destruction."
cardz[62][0] = "Queen of Swords"
cardz[62][1] = "A brown-haired & -eyed woman who knows suffering."
cardz[62][2] = "She sees through you. Love of musical arts."
cardz[62][3] = "She is unreliable; beware gossip. Deceit is possible."
cardz[63][0] = "King of Swords"
cardz[63][1] = "A man with brown hair and eyes sits in judgement."
cardz[63][2] = "He is stern but fair; heed him. Dealings with the law are seen."
cardz[63][3] = "Power is abused; paranoia. He plots to gain control."
cardz[64][0] = "Ace of Pentacles"
cardz[64][1] = "The perfect union of spiritual and material."
cardz[64][2] = "The beginnings of wealth and gain. Pleasure and beauty abound."
cardz[64][3] = "A false start. You are too comfortable."
cardz[65][0] = "2 of Pentacles"
cardz[65][1] = " He juggles with his fate."
cardz[65][2] = "The ability to balance two situations. Ups and downs."
cardz[65][3] = "Tears of a clown. He drops the balls."
cardz[66][0] = "3 of Pentacles"
cardz[66][1] = "The finishing touch is added."
cardz[66][2] = "A deal is consummated. The benefits of membership."
cardz[66][3] = "Ignorance and incompetence. Preoccupation with the mundane."
cardz[67][0] = "4 of Pentacles"
cardz[67][1] = "The miser clings to his chains."
cardz[67][2] = "Material gain is assured. Do not live for money."
cardz[67][3] = "Wild spending leads to losses. Suspicion brings setbacks."
cardz[68][0] = "5 of Pentacles"
cardz[68][1] = "Dwellers in the shadows shun the light."
cardz[68][2] = "Loss of home and job.  The lovers cannot meet.  Dark night of the soul."
cardz[68][3] = "Temporary relief from the struggle. Charity and spirituality."
cardz[69][0] = "6 of Pentacles"
cardz[69][1] = "The fortunate one shares his fortune."
cardz[69][2] = "Gifts; inheritance; fortune come to him who deserves it."
cardz[69][3] = "Who gives with hopes of gain receives nothing in return.  Bad debts."
cardz[70][0] = "7 of Pentacles"
cardz[70][1] = "Will he receive the fruits of his labour?"
cardz[70][2] = "The investments are bad.  The business is stalled. "
cardz[70][3] = "Disappointment. Little gain for much work. Worry about the loan."
cardz[71][0] = "8 of Pentacles"
cardz[71][1] = "He is still learning."
cardz[71][2] = "A good beginning for a career. Potential may not be realized."
cardz[71][3] = "Skill turned to bad ends. You may fail."
cardz[72][0] = "9 of Pentacles"
cardz[72][1] = "Alone but not lonely."
cardz[72][2] = "Solitary enjoyment of material security. Be careful. "
cardz[72][3] = "Tend your garden. Guard your possessions. The project is cancelled."
cardz[73][0] = "10 of Pentacles"
cardz[73][1] = "He is secure in the family home."
cardz[73][2] = "Riches; security; family life. A property changes hands."
cardz[73][3] = "Loss of inheritance; the old one is a burden. Is the property worth the price?"
cardz[74][0] = "Page of Pentacles"
cardz[74][1] = "A dark youth who wants to go far."
cardz[74][2] = "A good student; introverted but open. Good news about money."
cardz[74][3] = "Potential destroyed by success Bad news about money."
cardz[75][0] = "Knight of Pentacles"
cardz[75][1] = "A dark young man; he contemplates the material."
cardz[75][2] = "He accepts responsibility with patience."
cardz[75][3] = "Money comes and goes. He is going nowhere."
cardz[76][0] = "Queen of Pentacles"
cardz[76][1] = "She is the black-haired Earth Mother."
cardz[76][2] = "Rich but charitable; noble but sad. Physical creation; talents are well-used."
cardz[76][3] = "Who does not what he should must depend on others.  Distrust and fear."
cardz[77][0] = "King of Pentacles"
cardz[77][1] = "A dark man of power."
cardz[77][2] = "He is secure in wealth and family. Diligence brings success."
cardz[77][3] = "Corruption and abuse; do not cross him. Beware games of chance."



/*
* COVERS YOU: The atmosphere and influences affecting the situation
* CROSSES YOU: Obstacles that stand in your way
* CROWNS YOU: Your aims or ideals, the best that can be achieved in the situation
* BENEATH YOU: The foundation or basis of the situation. What the past has given you to use
* BEHIND YOU: The recent past. Influences passing out of the situation
* BEFORE YOU: Immediate future. Influences passing into the situation
* YOUR ROLE: Your significator, your position and attitude in the situation
* ENVIRONMENT: Your 'house'. The circumstances and immediate friends that influence the situation
* HOPES & FEARS: The hopes and fears of the situation
* CULMINATION: The culminating card, the final result of the situation
*/



var pick = new Array(11)
pick[1] = 'This surrounds you';
pick[2] = 'This opposes you';
pick[3] = 'This drives you';
pick[4] = 'This is past';
pick[5] = 'This is passing';
pick[6] = 'This is coming';
pick[7] = 'This is you';
pick[8] = 'This is your house';
pick[9] = 'This concerns you';
pick[10] = 'The culmination of the situation.'

var sequence = new Array(11)

for (i=0; i <11; i++)
{sequence[i]=new Array(3)}

sequence[1][1] = 0;sequence[1][2] = 0
sequence[2][1] = 0;sequence[2][2] = 0
sequence[3][1] = 0;sequence[3][2] = 0
sequence[4][1] = 0;sequence[4][2] = 0
sequence[5][1] = 0;sequence[5][2] = 0
sequence[6][1] = 0;sequence[6][2] = 0
sequence[7][1] = 0;sequence[7][2] = 0
sequence[8][1] = 0;sequence[8][2] = 0
sequence[9][1] = 0;sequence[9][2] = 0
sequence[10][1] = 0;sequence[10][2] = 0

var picked = new Array(11)

picked[1] = 666;
picked[2] = 666;
picked[3] = 666;
picked[4] = 666;
picked[5] = 666;
picked[6] = 666;
picked[7] = 666;
picked[8] = 666;
picked[9] = 666;
picked[10] = 666;



function xx(x,hite)
{document.getElementById('card' + x).height = hite}

var complete_reading = ''

function picker(x)

{


//alert('Pick a card')

var card = 0
var current_card = 0
var cardnumber = 0
var thiscard = ''
var nextcard = x + 1 ;
var clickmsg = '<a href="javascript:picker(' + nextcard + ')"><b>Next card</b></a><br><a href="javascript:showall()">Review the reading</a>'
if (nextcard == 11){clickmsg = '<a href="JavaScript:location.reload(true);"><b>Another reading?</b></a><br><a href="javascript:showall()">Review this reading</a>';}


cardnumber = Math.floor(Math.random() * 78)

for(q=1;q<11;++q)
{
if(cardnumber == picked[q]){picker(x)}
}


reverso = Math.round(Math.random());


sequence[x][1] = cardnumber ;
sequence[x][2] = reverso;

this_card = 'images/' + cardnumber + 'ss.gif';
current_card = 'images/' + cardnumber + 's.gif';


document.getElementById('card' + x).src = this_card




var reversed = ''
var interp = 2
if (reverso == 1){reversed = '<i>Reversed</i><br>';interp = 3}




get_text(cardnumber,x,clickmsg,current_card,reversed,interp)

if (x==2)
{
cardiv2.style.filter='progid:DXImageTransform.Microsoft.BasicImage(rotation=1)';
}
else
{
if (reverso == 1)
{eval("cardiv" + x + ".style.filter='progid:DXImageTransform.Microsoft.BasicImage(rotation=2)'");}
else
{eval("cardiv" + x + ".style.filter='progid:DXImageTransform.Microsoft.BasicImage(rotation=0)'")}
}

}

function get_text(cardnumber,x,clickmsg,current_card,reversed,interp)
{
document.getElementById('complete_reading').style.display='none';
var this_card = '&nbsp;<br><span class="title">' 
		+ pick[x] 
		+ '</span><br><img src="' 
		+ current_card 
		+ '"><br>'
		+ '<span class="title">' + cardz[cardnumber][0] + '</span><br>'
		+ '<div class="interp"><i>' + cardz[cardnumber][1] + '</i></div><br>'
		+ reversed 
		+ '' 
		+ cardz[cardnumber][interp]
		+ '<p><a href="#" onclick="showbig(' + cardnumber + ')">See big card.</a>'
		+ '<p>'

document.getElementById('click').innerHTML = clickmsg
document.getElementById('current_text').innerHTML = this_card


document.getElementById('complete_reading').innerHTML = document.getElementById('complete_reading').innerHTML + this_card	

}

function showbig(x)
{
document.getElementById('bigcardpic').src = 'images/' + x + '.jpg'
document.getElementById('bigcardiv').style.display = ''
}

function hidebig()
{
document.getElementById('bigcardiv').style.display = 'none'
}

function showall()
{
document.getElementById('complete_reading').style.display='block';
}

