// To use add <script type="text/javascript" src="js/barapfy.js"></script> to head & remove this line

var message = new Array() // leave this as is

message[0] = "Beautiful Portraits in All Media";
message[1] = "Affordable Small Paintings";
message[2] = "Fine Art by Liz van der Werff";
message[3] = "Check Out New Artwork";
message[4] = "Join My Email List!";
message[5] = "Portrait of a Hero"
message[6] = ""

// Set the number of repetitions (how many times the arrow
// cycle repeats with each message).

var reps = 2

// Set the overall speed (larger number = slower action).

var speed = 200

// DO NOT EDIT BELOW THIS LINE.
// ============================
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>8){s=1}
// you can fiddle with the patterns here...
if (s == 1) { document.title = '~* '+T+' -----'; }
if (s == 2) { document.title = '*~ '+T+' -----'; }
if (s == 3) { document.title = '~* '+T+' -----'; }
if (s == 4) { document.title = '*~ '+T+' -----'; }
if (s == 5) { document.title = '~* '+T+' -----'; }
if (s == 6) { document.title = '*~ '+T+' -----'; }
if (s == 7) { document.title = '~* '+T+' -----'; }
if (s == 8) { document.title = '*~ '+T+' -----'; }
if(C<(8*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();


