<!-- // ROLLOVER FUNCTIONS
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
// -->


<!-- // ROTATE THE SECOND CHANCE ADS
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
         rnd.seed = (rnd.seed*9301+49297) % 233280;
         return rnd.seed/(233280.0);
};

function rand(number) {
         return Math.ceil(rnd()*number);
};

// Replace the number inside of the parentheses after "rand"
// with how many images you want the script to choose from.

// LEFT ITEM
var number=rand(5)-1
var url="URL"
if (number == 0) {url="gypsy-kiss-and-make-up-spell.html"; src="sc-gypsy-kiss-and-make-up"; name="gypsykissandmakeup"; alt="Gypsy Kiss and Make Up Spell";};
if (number == 1) {url="gypsy-make-my-lover-return-to-me-spell.html"; src="sc-gypsy-make-my-lover-return"; name="gypsymakemyloverreturn"; alt="Gypsy Make My Lover Return To Me Spell";};
if (number == 2) {url="gypsy-make-him-love-me-spell.html"; src="sc-gypsy-make-him-love-me"; name="gypsymakehimloveme"; alt="Gypsy Make Him Love Me Spell";};
if (number == 3) {url="andreika.html"; src="sc-andreika"; name="andreika"; alt="Andreika";};
if (number == 4) {url="triple-cast.html"; src="sc-triple-cast"; name="triplecast"; alt="Triple Cast Spells";};

// CENTER ITEM
var number1=rand(5)-1
var url1="URL"
if (number1 == 0) {url1="retrieve.html"; src1="sc-retrieve-a-lover"; name1="retrievealover"; alt1="Retrieve A Lover";};
if (number1 == 1) {url1="couple-buster.html"; src1="sc-couple-buster"; name1="couplebuster"; alt1="Couple Buster";};
if (number1 == 2) {url1="wangadolls.html"; src1="sc-love-wanga"; name1="lovewanga"; alt1="The Love Wanga";};
if (number1 == 3) {url1="restore-my-life.html"; src1="sc-restore-my-life"; name1="restoremylife"; alt1="Restore My Life";};
if (number1 == 4) {url1="lostlove.html"; src1="sc-lost-love"; name1="lostlove"; alt1="Lost Love?";};

// RIGHT ITEM
var number2=rand(5)-1
var url2="URL"
if (number1 == 0) {url2="blazing-fast-relationship-mender-spell.html"; src2="sc-blazing-fast-relationship-mender"; name2="blazingfastrelationshipmender"; alt2="Blazing Fast Relationship Mender Spell";};
if (number1 == 1) {url2="blazing-fast-love-booster-spell.html"; src2="sc-blazing-fast-love-booster"; name2="blazingfastlovebooster"; alt2="Blazing Fast Love Booster Spell";};
if (number1 == 2) {url2="voodoo-love-amulet.html"; src2="sc-voodoo-love-amulet"; name2="voodooloveamulet"; alt2="Voodoo Love Amulet";};
if (number1 == 3) {url2="blazing-fast-couple-breaker-spell.html"; src2="sc-blazing-fast-couple-breaker"; name2="blazingfastcouplebreaker"; alt2="Blazing Fast Couple Breaker Spell";};
if (number1 == 4) {url2="comeback.html"; src2="sc-lover-come-back-to-me"; name2="lovercomebacktome"; alt2="Lover Come Back To Me Amulet";};

// -->


<!-- // ROTATE WANGA AD -->
<!--
// Replace the number inside of the parentheses after "rand"
// with how many images you want the script to choose from.

var number1=rand(6)-1
var url3="URL"
if (number1 == 0) {url3="wangadolls.html"; src3="special-wangalove.gif"; alt3="The Love Wanga";};
if (number1 == 1) {url3="wangadolls.html"; src3="special-wangaluck.gif"; alt3="The Luck Wanga";};
if (number1 == 2) {url3="wangadolls.html"; src3="special-wangamoney.gif"; alt3="The Money Wanga";};
if (number1 == 3) {url3="wangadolls.html"; src3="special-wangasuccess.gif"; alt3="The Success Wanga";};
if (number1 == 4) {url3="wangadolls.html"; src3="special-wangas.jpg"; alt3="Powerful Wanga Dolls";};
if (number1 == 5) {url3="wangadolls.html"; src3="special-wangas.jpg"; alt3="Powerful Wanga Dolls";};
function go1() {
location.href=url3;
}

// -->




<!-- //ROTATING TESTIMONIALS
var textnumber = 14 ;
var randomnumber = Math.random() ; 
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ; 
text = new Array 

text[1] = "Dear CAA,<br>My ordering experience was wonderful!! The product arrived in just a few days, it was very easy using the site, and I already have recommended it to others. I am so excited to have found such a neat company !!<div align=right>Thank You,<br>Jaime R.<br>Alameda, CA</div>" 

text[2] = "Dear CAA,<br>My ordering experience was very good.  I placed my order, received confirmation almost straight away and received my product within a few days.<br><br>I am very impressed. <div align=right>Jean M.<br>Victoria, Australia</div>"

text[3] = "I have been doing business with CAA since before they went online.<br><br>These people are awesome!<br><br><div align=right>AMR<br>Reading, PA</div>"

text[4] = "Dear CAA,<br><br>I received my order very fast and that made me very happy.  I trust C.A.A. and I feel that you are a great company to do business with.<br><div align=right>J.B.<div>Philadelphia, PA</div>"

text[5] = "I have been very pleased with the California Astrology Association.<br><br> They are fast in sending me my orders and they are very helpful and efficient.<br><br><div align=right>TracyAnn<br>Santa Monica, CA</div>"

text[6] = "Top notch.  They confirmed my order twice.  It was obviously sent out immediately.  I received it snail mail within a couple of days.<br><br>I highly recommend CAA.<br><br><div align=right>J.R.K.<br>West Hollywood, CA</div>"

text[7] = "Excellent work, very prompt service...<br><br>I'll always buy from CAA when I need their products again.<br><br><div align=right>Tan<br>Singapore</div>"

text[8] = "I had a wonderful experience with CAA. They not only acknowledged my order, they also advised me when the order was shipped. My order arrived undamaged and complete. I will gladly order from them again.<br><br><div align=right>Jennifer<br>Willow Spring, NC</div>"

text[9] = " I had your Money Spell cast for me less than a week ago and I have already won $5,000 in the lottery!  I owe it all to you. Ever since the spell was cast my luck has changed completely when it comes to money.  Thanks so much!<BR><div align=right>B. K.<br>Pennsylvania</div>"

text[10] = "Dear CAA,<br><br>I must admit that I was a little skeptical at first.  I had ordered the OBEAH spell to be cast on my behalf and I can honestly say that IT WORKED!!!!!<br><div align=right>M.<br>Canada</div>"

text[11] = "Dear CAA,<br>I have ordered from you since 1984 and would just like to dispell any disbeliefs that you don't work.  I have had great things happen for me over the years and I do believe in the amulets and spells.<br><div align=right>R.Y.<br>Thorndale, PA</div>"

text[12] = "Dear CAA,<br><br>I truly believe that you have brought [my boyfriend and I] back together. I am so happy. Thank you so much.<br><br><div align=right>Amanda</div>"

text[13] = "This website is brilliant. The service is great and the information they give you about the status of your order is great and very useful.<br><br><div align=right>B.L.<br>Southern England</div>"
 
text[14] = "I'm glad to have found a business that keeps its word.  I will be ordering again!<br><br><div align=right>Charleen J.<br>San Jose, CA</div>"

var mytext = text[rand1] 
// -->


<!-- // CHANGE CASE IN SIGNUP FORM
function changeCase(frmObj) {
var index;
var tmpStr;
var tmpChar;
var preString;
var postString;
var strlen;
tmpStr = frmObj.value.toLowerCase();
strLen = tmpStr.length;
if (strLen > 0)  {
for (index = 0; index < strLen; index++)  {
if (index == 0)  {
tmpChar = tmpStr.substring(0,1).toUpperCase();
postString = tmpStr.substring(1,strLen);
tmpStr = tmpChar + postString;
}
else {
tmpChar = tmpStr.substring(index, index+1);
if (tmpChar == " " && index < (strLen-1))  {
tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
preString = tmpStr.substring(0, index+1);
postString = tmpStr.substring(index+2,strLen);
tmpStr = preString + tmpChar + postString;
         }
      }
   }
}
frmObj.value = tmpStr;
}
//  -->


<!--  // POPUP INFO WINDOWS
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// -->

