var NumberOfProfiles = 4;
var now = new Date()
var sec = now.getSeconds()

var profileNumber = sec % NumberOfProfiles;

profileNumber +=1;



// Only change the data below -------------------------
if (profileNumber==1)
{
var p2ptitle = 'johnw308'; // Profile 1 title
var p2pimage = 'johnw308'; // Profile 1 image
var p2pnarrative = "A typical day for me is early rise, coffee on the run."; // Profile 1 Narrative
}

if (profileNumber==2)
{
var p2ptitle = 'HeathersWitty';
var p2pimage = 'HeathersWitty';
var p2pnarrative = "I've been described as being very kind and gentle, the kind you'd bring home to mom.";
}

if (profileNumber==4)
{
var p2ptitle = 'Iamnotspoiled29';
var p2pimage = 'Iamnotspoiled29';
var p2pnarrative = "I am a talker and a hopeless romantic.";
}

if (profileNumber==3)
{
var p2ptitle = 'CherryQueen2';
var p2pimage = 'CherryQueen2';
var p2pnarrative = "I can tie a cherry stem in knot with my tongue (and a double knot if it's long).";
}

p2pconvertImage  = p2pimage.toLowerCase();

// Do not change anything below this line --------------------

function spotlight(type)
{


if (type == "datingBox")
{
var p2pfeature = '<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"194\"> \n';
p2pfeature += '<tr> \n';
p2pfeature += '<td width=\"10\"><spacer type=\"block\" width=\"10\"></td> \n';
p2pfeature += '<td> \n';
p2pfeature += '<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" width=\"184\"> \n';
}
else
{
var p2pfeature = '<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"160\">\n';
p2pfeature += '<tr><td>\n';
p2pfeature += '<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" width=\"160\">\n';
}



p2pfeature += '<tr><td colspan=\"2\"><img src=\"http://media.washingtonpost.com/wp-srv/artsandliving/dating/images/singlesspotlight.gif\" width=\"145\" height=\"15\" border=\"0\" alt=\"\"></td></tr> \n';
p2pfeature += '<tr> \n';
p2pfeature += '<td width=\"80\" valign=\"top\"><a href=\"http://www.match.com/usearch/usearchdl.aspx?bannerid=550426&trackingid=516819&handle=';
p2pfeature += p2ptitle;
p2pfeature += '\"><img src=\"http://images.people2people.com/match/templates/516819/spotlight/';
p2pfeature += p2pconvertImage;
p2pfeature += '.jpg';
p2pfeature += '\" width=\"80\" height=\"100\" border=\"0\" alt=\"';
p2pfeature += p2ptitle;
p2pfeature += '\"></a></td> \n';
p2pfeature += '<td valign=\"top\"> \n';
p2pfeature += '<a href=\"';
p2pfeature += 'http://www.match.com/usearch/usearchdl.aspx?bannerid=550426&trackingid=516819&handle=';
p2pfeature += p2ptitle;
p2pfeature += '\"><font color=\"#646464\" size=\"-2\" face=\"verdana\"><b>';
p2pfeature += p2ptitle;
p2pfeature += '</b></font></a><br> \n';
p2pfeature += '<font color=\"#646464\" size=\"-2\" face=\"verdana\"> \n';
p2pfeature += p2pnarrative;
p2pfeature += '</font></td></tr> \n';
p2pfeature += '</table> \n';
p2pfeature += '</td></tr> \n';
p2pfeature += '</table>\n';


document.write (p2pfeature);

}



