var x=0;
var y=0;
var a=0;
var c=0;
var h=0;
var intuit=0;
var precog=0;
var esp=0;
var pk=0;
var medium=0;
var channel=0;
var aura=0;
var past=0;
var scry=0;
var luck=0;
var belief=0;
var imagine=0;
var skeptic=0;
var aa=0;
var psiq=0;
var fin=0;
var tippy=0;
var tippy$="";
var timeout1=0;
var tippya$=new Array(15);
var q = new Array(60);


q[0]="Assess your psychic tendencies by answering 52 simple questions";
q[1]="I often jump to conclusions based on intuition";
q[2]="I can sometimes 'sense' what is happening elsewhere";
q[3]="The paranormal is real";
q[4]="Electrical devices sometimes stop working or behave strangely\nfor no apparent reason when I am around";
q[5]="I often see colors surrounding a person";
q[6]="I can communicate with those who have died";
q[7]="Sometimes it feels that another mind\nis working through me";
q[8]="I believe people's stories about their\nparanormal experiences";
q[9]="I can recall events that happened to me\nbefore I was born";
q[10]="Sometimes I notice objects near me\nmoving in mysterious ways";
q[11]="When I enter a room, I can immediately sense\nif there is a bad atmosphere"; 
q[12]="I often win at games of chance";
q[13]="Sometimes my speech or actions\nseem mysteriously inspired";
q[14]="Some of my fears relate to events\nin a previous life";
q[15]="There have been times when\nI have sensed a ghost";
q[16]="I don't usually look for rational\nexplanations for mysterious events";
q[17]="I have the ability to move things with my mind";
q[18]="I have received 'messages' from\ndeceased relatives or friends";
q[19]="I can form pictures in my mind without difficulty";
q[20]="I can remember things that happened\nto me in a past life";
q[21]="I am sometimes aware of a source of\nspiritual power outside of myself";
q[22]="I am good at visualising things";
q[23]="I can influence the fall of dice\nusing will power";
q[24]="I can often guess what people\nare thinking about";
q[25]="Events usually work out very well for me";
q[26]="I often see shapes and figures\nforming in the dark";
q[27]="Often I am thinking of someone immediately\nbefore they unexpectedly phone or email";
q[28]="I often see things out of the corner of my eye\nthat aren't really there";
q[29]="Often I cannot give clear reasons\nfor my beliefs and actions";
q[30]="I sometimes have premonitions\nabout a news event";
q[31]="I sometimes feel the presence of a guiding spirit";
q[32]="I have experienced things that indicate\nI have lived before";
q[33]="I can see people's auras";
q[34]="I have experienced the presence\nof departed souls";
q[35]="There are powers in the universe\nbeyond scientific explanation";
q[36]="I often mysteriously 'know' in advance\nwhen something important is going to happen";
q[37]="I am a very lucky person";
q[38]="It is important to avoid a sceptical attitude\ntowards the paranormal";
q[39]="I have seen lights streaming from people's heads";
q[40]="I believe in the supernatural";
q[41]="My hunches are usually correct";
q[42]="My dreams sometimes foretell\nthe next day's events";
q[43]="When I stare at something for a while\nimages will often appear in my mind";
q[44]="I have had telepathic experiences";
q[45]="I do not doubt people who claim psychic abilities";
q[46]="Sometimes I am aware of a mysterious energy\naround an object, animal or person";
q[47]="Often an event will trigger my dream memory\nfrom the previous night";
q[48]="I find it easy to form images in my mind";
q[49]="I have had much good fortune in my life";
q[50]="I often see things in cloud patterns";
q[51]="I believe in the existence of psychic abilities";
q[52]="I have a good imagination";

function begin(){
clearTimeout(timeout1);
x=0;
y=0;
a=0;
c=0;
h=0;
aa=0;
intuit=0;
precog=0;
esp=0;
pk=0;
medium=0;
channel=0;
aura=0;
past=0;
scry=0;
luck=0;
belief=0;
imagine=0;
skeptic=0;
psiq=0;
fin=0;

document.forms.matrix.Mess1.value=q[0];
document.forms.matrix.Mess2.value="";
document.forms.matrix.But1.value="Start";
window.document.Lab0.src = "images/PsiQ/Blanklab.png";
window.document.Lab1.src = "images/PsiQ/Blanklab.png";
window.document.Lab2.src = "images/PsiQ/Blanklab.png";
window.document.Lab3.src = "images/PsiQ/Blanklab.png";
window.document.Lab4.src = "images/PsiQ/Blanklab.png";
window.document.Lab5.src = "images/PsiQ/Blanklab.png";
window.document.Lab6.src = "images/PsiQ/Blanklab.png";
window.document.Lab7.src = "images/PsiQ/Blanklab.png";
window.document.Lab8.src = "images/PsiQ/Blanklab.png";
window.document.Lab9.src = "images/PsiQ/Blanklab.png";
window.document.Lab10.src = "images/PsiQ/Blanklab.png";
window.document.Lab11.src = "images/PsiQ/Blanklab.png";
window.document.Lab12.src = "images/PsiQ/Blanklab.png";
window.document.Lab13.src = "images/PsiQ/Blanklab.png";
window.document.TendLab.src = "images/PsiQ/Blanklab.png";
window.document.Scale.src = "images/PsiQ/Blanklab.png";
clearans();
clearqs();
clearcols();
clearscale();
}

function cont(){
if(document.forms.matrix.But1.value=="Reset"){begin();return;}
if(document.forms.matrix.But1.value==""){return;}

if (h==1){return;}
c++;

if (c==53){results();return;}

h=1;
document.forms.matrix.Mess1.value=q[c];

document.forms.matrix.Qno.value="Question";
document.forms.matrix.Qno1.value=String(c);
document.forms.matrix.Qr.value="Remaining";
document.forms.matrix.Qr1.value=String(53-c);
document.forms.matrix.Quest.value="Indicate how much you agree with this statement";

respo();
document.forms.matrix.But1.value="";
}

function ans(a){
if(h==0){return;}
h=0;
aa=a;
scoring();
document.forms.matrix.A1.value="";
document.forms.matrix.A2.value="";
document.forms.matrix.A3.value="";
document.forms.matrix.A4.value="";
document.forms.matrix.A5.value="";
if (a==5){document.forms.matrix.A1.value="Strongly Agree";}
if (a==4){document.forms.matrix.A2.value="Somewhat Agree";}
if (a==3){document.forms.matrix.A3.value="Undecided";}
if (a==2){document.forms.matrix.A4.value="Somewhat disagree";}
if (a==1){document.forms.matrix.A5.value="Strongly disagree";}
document.forms.matrix.But1.value="Next";
}

function respo(){
document.forms.matrix.A1.value="Strongly Agree";
document.forms.matrix.A2.value="Somewhat Agree";
document.forms.matrix.A3.value="Undecided";
document.forms.matrix.A4.value="Somewhat Disagree";
document.forms.matrix.A5.value="Strongly Disagree";
}

function cleara(){
document.forms.matrix.A1.value="";
document.forms.matrix.A2.value="";
document.forms.matrix.A3.value="";
document.forms.matrix.A4.value="";
document.forms.matrix.A5.value="";
if (a==5){document.forms.matrix.A1.value="Strongly Agree";}
if (a==4){document.forms.matrix.A2.value="Somewhat Agree";}
if (a==3){document.forms.matrix.A3.value="Undecided";}
if (a==2){document.forms.matrix.A4.value="Somewhat Disagree";}
if (a==1){document.forms.matrix.A5.value="Strongly Disagree";}

}
function scoring(){
if( (c==1)||(c==11)||(c==29)||(c==41)){intuit=intuit+aa;}
if( (c==30)||(c==36)||(c==42)||(c==47)){precog=precog+aa;}
if( (c==2)||(c==24)||(c==27)||(c==44)){esp=esp+aa;}
if( (c==4)||(c==10)||(c==17)||(c==23)){pk=pk+aa;}
if( (c==6)||(c==15)||(c==18)||(c==34)){medium=medium+aa;}
if( (c==7)||(c==13)||(c==21)||(c==31)){channel=channel+aa;}
if( (c==5)||(c==33)||(c==39)||(c==46)){aura=aura+aa;}
if( (c==9)||(c==14)||(c==20)||(c==32)){past=past+aa;}
if( (c==26)||(c==28)||(c==43)||(c==50)){scry=scry+aa;}
if( (c==12)||(c==25)||(c==37)||(c==49)){luck=luck+aa;}
if( (c==3)||(c==35)||(c==40)||(c==51)){belief=belief+aa;}
if( (c==19)||(c==22)||(c==48)||(c==52)){imagine=imagine+aa;}
if( (c==8)||(c==16)||(c==38)||(c==45)){skeptic=skeptic+aa;}
}

function results(){
psiq=((intuit+precog+esp+pk+medium+channel+aura+past+scry+luck+belief+imagine)-48)/192*100;
document.forms.matrix.Mess1.value="Your Psi-Q Score (overall psychic tendencies) is "+String(Math.round(psiq))+ "%"+"\nSee graph below for detailed results";
document.forms.matrix.Mess2.value="Hover over vertical bars for more information";
clearbut();
fin=1;
labels();
}

function clearbut(){
clearTimeout(timeout1);
document.forms.matrix.But1.value="";
timeout1 = setTimeout('document.forms.matrix.But1.value="Reset"',2000);
clearans();
clearqs();
}

function clearqs(){
document.forms.matrix.Qno.value="";
document.forms.matrix.Qno1.value="";
document.forms.matrix.Qr.value="";
document.forms.matrix.Qr1.value="";
document.forms.matrix.Quest.value="";
}

function clearans(){
document.forms.matrix.A1.value="";
document.forms.matrix.A2.value="";
document.forms.matrix.A3.value="";
document.forms.matrix.A4.value="";
document.forms.matrix.A5.value="";
}

function clearcols(){
document.forms.matrix.Green.value="";
document.forms.matrix.Amber.value="";
document.forms.matrix.Red.value="";
document.forms.matrix.Green.style.backgroundColor="#FFFFFF";
document.forms.matrix.Amber.style.backgroundColor="#FFFFFF";
document.forms.matrix.Red.style.backgroundColor="#FFFFFF";
}

function clearscale(){
document.forms.matrix.Scale0.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale1.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale2.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale3.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale4.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale5.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale6.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale7.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale8.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale9.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale10.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale11.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale12.style.backgroundColor="#FFFFFF";
document.forms.matrix.Scale13.style.backgroundColor="#FFFFFF";

document.forms.matrix.Scale0.value="";
document.forms.matrix.Scale1.value="";
document.forms.matrix.Scale2.value="";
document.forms.matrix.Scale3.value="";
document.forms.matrix.Scale4.value="";
document.forms.matrix.Scale5.value="";
document.forms.matrix.Scale6.value="";
document.forms.matrix.Scale7.value="";
document.forms.matrix.Scale8.value="";
document.forms.matrix.Scale9.value="";
document.forms.matrix.Scale10.value="";
document.forms.matrix.Scale11.value="";
document.forms.matrix.Scale12.value="";
document.forms.matrix.Scale13.value="";

}

function labels(){
window.document.Lab0.src = "images/PsiQ/PsiQlab.png";
window.document.Lab1.src = "images/PsiQ/ESPlab.png";
window.document.Lab2.src = "images/PsiQ/PKlab.png";
window.document.Lab3.src = "images/PsiQ/Precoglab.png";
window.document.Lab4.src = "images/PsiQ/Scrylab.png";
window.document.Lab5.src = "images/PsiQ/Auralab.png";
window.document.Lab6.src = "images/PsiQ/Mediumlab.png";
window.document.Lab7.src = "images/PsiQ/Channellab.png";
window.document.Lab8.src = "images/PsiQ/Pastlab.png";
window.document.Lab9.src = "images/PsiQ/Lucklab.png";
window.document.Lab10.src = "images/PsiQ/Intuitlab.png";
window.document.Lab11.src = "images/PsiQ/Imaginelab.png";
window.document.Lab12.src = "images/PsiQ/Credlab.png";
window.document.Lab13.src = "images/PsiQ/Belieflab.png";
window.document.Scale.src = "images/PsiQ/Scale.png";
window.document.TendLab.src = "images/PsiQ/Tend.png";

document.forms.matrix.Green.style.backgroundColor="#00CC00";
document.forms.matrix.Amber.style.backgroundColor="#FFBF00";
document.forms.matrix.Red.style.backgroundColor="#FF0000";

document.forms.matrix.Green.value="Strong tendency";
document.forms.matrix.Amber.value="Moderate tendency";
document.forms.matrix.Red.value="Little tendency";

document.forms.matrix.Scale0.style.height=String(Math.round(psiq*3))+"px";
document.forms.matrix.Scale0.value=String(Math.round(psiq));
if(psiq<34){document.forms.matrix.Scale0.style.backgroundColor="#FF0000";tippya$[0]="LOW";}
if((psiq>33)&&(psiq<67)){document.forms.matrix.Scale0.style.backgroundColor="#FFBF00";tippya$[0]="MODERATE";}
if(psiq>66){document.forms.matrix.Scale0.style.backgroundColor="#00CC00";tippya$[0]="HIGH";}
if (psiq<7){document.forms.matrix.Scale0.style.height="10px";}

document.forms.matrix.Scale1.style.height=String(Math.round((esp-4)*18.75))+"px";
document.forms.matrix.Scale1.value=String(Math.round((esp-4)*6.25));
if(esp<10){document.forms.matrix.Scale1.style.backgroundColor="#FF0000";tippya$[1]="LOW";}
if((esp>9)&&(esp<15)){document.forms.matrix.Scale1.style.backgroundColor="#FFBF00";tippya$[1]="MODERATE";}
if(esp>14){document.forms.matrix.Scale1.style.backgroundColor="#00CC00";tippya$[1]="HIGH";}
if (esp<5){document.forms.matrix.Scale1.style.height="10px";}

document.forms.matrix.Scale2.style.height=String(Math.round((pk-4)*18.75))+"px";
document.forms.matrix.Scale2.value=String(Math.round((pk-4)*6.25));
if(pk<10){document.forms.matrix.Scale2.style.backgroundColor="#FF0000";tippya$[2]="LOW";}
if((pk>9)&&(pk<15)){document.forms.matrix.Scale2.style.backgroundColor="#FFBF00";tippya$[2]="MODERATE";}
if(pk>14){document.forms.matrix.Scale2.style.backgroundColor="#00CC00";tippya$[2]="HIGH";}
if (pk<5){document.forms.matrix.Scale2.style.height="10px";}

document.forms.matrix.Scale3.style.height=String(Math.round((precog-4)*18.75))+"px";
document.forms.matrix.Scale3.value=String(Math.round((precog-4)*6.25));
if(precog<10){document.forms.matrix.Scale3.style.backgroundColor="#FF0000";tippya$[3]="LOW";}
if((precog>9)&&(precog<15)){document.forms.matrix.Scale3.style.backgroundColor="#FFBF00";tippya$[3]="MODERATE";}
if(precog>14){document.forms.matrix.Scale3.style.backgroundColor="#00CC00";tippya$[3]="HIGH";}
if (precog<5){document.forms.matrix.Scale3.style.height="10px";}

document.forms.matrix.Scale4.style.height=String(Math.round((scry-4)*18.75))+"px";
document.forms.matrix.Scale4.value=String(Math.round((scry-4)*6.25));
if(scry<10){document.forms.matrix.Scale4.style.backgroundColor="#FF0000";tippya$[4]="LOW";}
if((scry>9)&&(scry<15)){document.forms.matrix.Scale4.style.backgroundColor="#FFBF00";tippya$[4]="MODERATE";}
if(scry>14){document.forms.matrix.Scale4.style.backgroundColor="#00CC00";tippya$[4]="HIGH";}
if (scry<5){document.forms.matrix.Scale4.style.height="10px";}

document.forms.matrix.Scale5.style.height=String(Math.round((aura-4)*18.75))+"px";
document.forms.matrix.Scale5.value=String(Math.round((aura-4)*6.25));
if(aura<10){document.forms.matrix.Scale5.style.backgroundColor="#FF0000";tippya$[5]="LOW";}
if((aura>9)&&(aura<15)){document.forms.matrix.Scale5.style.backgroundColor="#FFBF00";tippya$[5]="MODERATE";}
if(aura>14){document.forms.matrix.Scale5.style.backgroundColor="#00CC00";tippya$[5]="HIGH";}
if (aura<5){document.forms.matrix.Scale5.style.height="10px";}

document.forms.matrix.Scale6.style.height=String(Math.round((medium-4)*18.75))+"px";
document.forms.matrix.Scale6.value=String(Math.round((medium-4)*6.25));
if(medium<10){document.forms.matrix.Scale6.style.backgroundColor="#FF0000";tippya$[6]="LOW";}
if((medium>9)&&(medium<15)){document.forms.matrix.Scale6.style.backgroundColor="#FFBF00";tippya$[6]="MODERATE";}
if(medium>14){document.forms.matrix.Scale6.style.backgroundColor="#00CC00";tippya$[6]="HIGH";}
if(medium<5){document.forms.matrix.Scale6.style.height="10px";}

document.forms.matrix.Scale7.style.height=String(Math.round((channel-4)*18.75))+"px";
document.forms.matrix.Scale7.value=String(Math.round((channel-4)*6.25));
if(channel<10){document.forms.matrix.Scale7.style.backgroundColor="#FF0000";tippya$[7]="LOW";}
if((channel>9)&&(channel<15)){document.forms.matrix.Scale7.style.backgroundColor="#FFBF00";tippya$[7]="MODERATE";}
if(channel>14){document.forms.matrix.Scale7.style.backgroundColor="#00CC00";tippya$[7]="HIGH";}
if(channel<5){document.forms.matrix.Scale7.style.height="10px";}

document.forms.matrix.Scale8.style.height=String(Math.round((past-4)*18.75))+"px";
document.forms.matrix.Scale8.value=String(Math.round((past-4)*6.25));
if(past<10){document.forms.matrix.Scale8.style.backgroundColor="#FF0000";tippya$[8]="LOW";}
if((past>9)&&(past<15)){document.forms.matrix.Scale8.style.backgroundColor="#FFBF00";tippya$[8]="MODERATE";}
if(past>14){document.forms.matrix.Scale8.style.backgroundColor="#00CC00";tippya$[8]="HIGH";}
if(past<5){document.forms.matrix.Scale8.style.height="10px";}

document.forms.matrix.Scale9.style.height=String(Math.round((luck-4)*18.75))+"px";
document.forms.matrix.Scale9.value=String(Math.round((luck-4)*6.25));
if(luck<10){document.forms.matrix.Scale9.style.backgroundColor="#FF0000";tippya$[9]="LOW";}
if((luck>9)&&(luck<15)){document.forms.matrix.Scale9.style.backgroundColor="#FFBF00";tippya$[9]="MODERATE";}
if(luck>14){document.forms.matrix.Scale9.style.backgroundColor="#00CC00";tippya$[9]="HIGH";}
if(luck<5){document.forms.matrix.Scale9.style.height="10px";}

document.forms.matrix.Scale10.style.height=String(Math.round((intuit-4)*18.75))+"px";
document.forms.matrix.Scale10.value=String(Math.round((intuit-4)*6.25));
if(intuit<10){document.forms.matrix.Scale10.style.backgroundColor="#FF0000";tippya$[10]="LOW";}
if((intuit>9)&&(intuit<15)){document.forms.matrix.Scale10.style.backgroundColor="#FFBF00";tippya$[10]="MODERATE";}
if(intuit>14){document.forms.matrix.Scale10.style.backgroundColor="#00CC00";tippya$[10]="HIGH";}
if(intuit<5){document.forms.matrix.Scale10.style.height="10px";}

document.forms.matrix.Scale11.style.height=String(Math.round((imagine-4)*18.75))+"px";
document.forms.matrix.Scale11.value=String(Math.round((imagine-4)*6.25));
if(imagine<10){document.forms.matrix.Scale11.style.backgroundColor="#FF0000";tippya$[11]="LOW";}
if((imagine>9)&&(imagine<15)){document.forms.matrix.Scale11.style.backgroundColor="#FFBF00";tippya$[11]="MODERATE";}
if(imagine>14){document.forms.matrix.Scale11.style.backgroundColor="#00CC00";tippya$[11]="HIGH";}
if(imagine<5){document.forms.matrix.Scale11.style.height="10px";}

document.forms.matrix.Scale12.style.height=String(Math.round((skeptic-4)*18.75))+"px";
document.forms.matrix.Scale12.value=String(Math.round((skeptic-4)*6.25));
if(skeptic<10){document.forms.matrix.Scale12.style.backgroundColor="#FF0000";tippya$[12]="SCEPTICAL";}
if((skeptic>9)&&(skeptic<15)){document.forms.matrix.Scale12.style.backgroundColor="#FFBF00";tippya$[12]="RATHER UNCRITICAL";}
if(skeptic>14){document.forms.matrix.Scale12.style.backgroundColor="#00CC00";tippya$[12]="VERY UNCRITICAL";}
if(skeptic<5){document.forms.matrix.Scale12.style.height="10px";}

document.forms.matrix.Scale13.style.height=String(Math.round((belief-4)*18.75))+"px";
document.forms.matrix.Scale13.value=String(Math.round((belief-4)*6.25));
if(belief<10){document.forms.matrix.Scale13.style.backgroundColor="#FF0000";tippya$[13]="LOW";}
if((belief>9)&&(belief<15)){document.forms.matrix.Scale13.style.backgroundColor="#FFBF00";tippya$[13]="MODERATE";}
if(belief>14){document.forms.matrix.Scale13.style.backgroundColor="#00CC00";tippya$[13]="HIGH";}
if(belief<5){document.forms.matrix.Scale13.style.height="10px";}

}


function tippytext(tippy){
if(fin==0){return;}
if(tippy==0){psiqtext();}
if(tippy==1){esptext();}
if(tippy==2){pktext();}
if(tippy==3){precogtext()}
if(tippy==4){scrytext();}
if(tippy==5){auratext();}
if(tippy==6){mediumtext();}
if(tippy==7){channeltext();}
if(tippy==8){pasttext();}
if(tippy==9){lucktext();}
if(tippy==10){intuittext();}
if(tippy==11){imaginetext();}
if(tippy==12){credtext();}
if(tippy==13){belieftext();}
Tip(tippy$);
}

function psiqtext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Psi-Q</font></p>This indicates your overall tendency for psychic experience<br/><br/>Your Psi-Q score is "+String(Math.round(psiq))+"%"+"<br/><br/>Your score indicates a "+tippya$[0]+" overall tendency for psychic experience<br/><br/>Note: The overall Psi-Q score is the average of every other scale (excluding Credulity)";
}

function esptext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>ESP</font></p>This indicates your tendency for extrasensory perception (telepathy and clairvoyance)<br/><br/>Your ESP score is "+String(Math.round((esp-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[1]+" tendency for extrasensory perception";
}

function pktext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Psychokinesis (PK)</font></p>This indicates your tendency for psychokinesis (the paranormal influence of mind on matter)<br/><br/>Your PK score is "+String(Math.round((pk-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[2]+" tendency for psychokinesis";

}

function precogtext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Precognition</font></p>This indicates your tendency for precognition (the ability to foretell the future)<br/><br/>Your Precognition score is "+String(Math.round((precog-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[3]+" tendency for precognition";

}

function scrytext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Scrying (Crystal Gazing)</font></p>This indicates your tendency for scrying (the ability to see things psychically in a crystal ball, mirror, flames, etc.)<br/><br/>Your Scrying score is "+String(Math.round((scry-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[4]+" tendency for scrying";

}

function auratext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Auras</font></p>This indicates your tendency to see auras (lights, colours or energies surrounding a person, animal or object)<br/><br/>Your Aura score is "+String(Math.round((aura-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[5]+" tendency to see auras";

}

function mediumtext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Mediumship</font></p>This indicates your tendency for mediumistic experiences (ability to communicate with the dead)<br/><br/>Your Mediumship score is "+String(Math.round((medium-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[6]+" tendency for mediumship";

}

function channeltext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Channelling</font></p>This indicates your tendency for channelling (ability to act as a channel for spiritual communication)<br/><br/>Your Channelling score is "+String(Math.round((channel-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[7]+" tendency for channelling";

}

function pasttext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Past-Life Experience</font></p>This indicates your tendency for past-life experience (that might indicate personal existence in a previous life)<br/><br/>Your Past-Life score is "+String(Math.round((past-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[8]+" tendency for past-life experience";

}

function lucktext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Luck</font></p>This indicates your tendency to be lucky<br/><br/>Your Luck score is "+String(Math.round((luck-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[9]+" overall tendency to be lucky";

}

function intuittext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Intuition</font></p>This indicates your tendency to use intuition to form judgements<br/><br/>Your Intuition score is "+String(Math.round((intuit-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[10]+" tendency to use intuition";

}

function imaginetext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Imagination</font></p>This indicates your tendency for mental or visual imagination<br/><br/>Your Imagination score is "+String(Math.round((imagine-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[11]+" tendency for mental or visual imagination";

}

function belieftext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Paranormal Belief</font></p>This indicates your tendency to believe in paranormal and psychic phenomena<br/><br/>Your Paranormal Belief score is "+String(Math.round((belief-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[13]+" level of paranormal belief";

}

function credtext(){
tippy$="<p style=\'background-color: #FF99CC\'><font size=\'4\'>Credulity</font></p>This indicates your tendency to accept the reality of paranormal phenomena without clear evidence.<br/><br/>A low score on credulity suggests a generally sceptical attitude towards the paranormal,<br/>whereas a high score suggests an attitude that is rather uncritical about the paranormal and psychic<br/><br/>Your Credulity score is "+String(Math.round((skeptic-4)*6.25))+"%"+"<br/><br/>Your score indicates a "+tippya$[12]+" attitude towards the paranormal and psychic";

}