var how_many_ads = 40;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
playmid="n3.mid";
tname1="stand by me";
tname2="don't stand so close to me";
tname3="stand in the place where you live";
score1="1";
score2="0";
score3="0";
}
if (ad==2) {
playmid="n4.mid";
tname1="what's love got to do with it";
tname2="simply the best";
tname3="steamy windows";
score1="0";
score2="1";
score3="0";
}
if (ad==3) {
playmid="n5.mid";
tname1="where the streets have no name";
tname2="only to be with you";
tname3="i still haven't found what i'm loooking for";
score1="0";
score2="0";
score3="1";
}
if (ad==4) {
playmid="n6.mid";
tname1="english man in new york";
tname2="american in paris";
tname3="big in japan";
score1="1";
score2="0";
score3="0";
}
if (ad==5) {
playmid="o1.mid";
tname1="rock lobster";
tname2="love shack";
tname3="groove is in the heart";
score1="0";
score2="1";
score3="0";
}
if (ad==6) {
playmid="o2.mid";
tname1="johnny be goode";
tname2="boogie woogie bugle boy";
tname3="alright";
score1="0";
score2="0";
score3="1";
}
if (ad==7) {
playmid="o3.mid";
tname1="charmless man";
tname2="country house";
tname3="girls and boys";
score1="1";
score2="0";
score3="0";
}
if (ad==8) {
playmid="o4.mid";
tname1="you've lost that lovnin feeling";
tname2="can't help falling in love";
tname3="close to you";
score1="0";
score2="1";
score3="0";
}
if (ad==9) {
playmid="o5.mid";
tname1="sowing the seeds of love";
tname2="shout";
tname3="everybody want's to rule the world";
score1="0";
score2="0";
score3="1";
}
if (ad==10) {
playmid="o6.mid";
tname1="jamming";
tname2="could you be loved";
tname3="three little birds";
score1="1";
score2="0";
score3="0";
}
if (ad==11) {
playmid="p1.mid";
tname1="flowers in the rain";
tname2="san fransisco";
tname3="summer of 69";
score1="0";
score2="1";
score3="0";
}
if (ad==12) {
playmid="p2.mid";
tname1="solsbury hill";
tname2="addicted to love";
tname3="sledge hammer";
score1="0";
score2="0";
score3="1";
}
if (ad==13) {
playmid="p3.mid";
tname1="walk like and egyptian";
tname2="merry christmas everybody";
tname3="everybody want's to rule the world";
score1="1";
score2="0";
score3="0";
}
if (ad==14) {
playmid="p4.mid";
tname1="kingston town";
tname2="red red wine";
tname3="homely girl ";
score1="0";
score2="1";
score3="0";
}
if (ad==15) {
playmid="p5.mid";
tname1="I wanna be a hippy";
tname2="all around the world";
tname3="champaign supernova";
score1="0";
score2="0";
score3="1";
}
if (ad==16) {
playmid="p6.mid";
tname1="pretty woman";
tname2="like a flammingo";
tname3="walk on by";
score1="1";
score2="0";
score3="0";
}
if (ad==17) {
playmid="q1.mid";
tname1="space cowboy";
tname2="canned heat";
tname3="deeper underground";
score1="0";
score2="1";
score3="0";
}
if (ad==18) {
playmid="q2.mid";
tname1="don't speak";
tname2="I'd do anything for love";
tname3="one of us";
score1="0";
score2="0";
score3="1";
}
if (ad==19) {
playmid="q3.mid";
tname1="brown eyed girl";
tname2="come up and see me make me smile";
tname3="brown eyed handsome man";
score1="1";
score2="0";
score3="0";
}
if (ad==20) {
playmid="q4.mid";
tname1="fade to grey";
tname2="cars";
tname3="friends are electric";
score1="0";
score2="1";
score3="0";
}
if (ad==21) {
playmid="q5.mid";
tname1="in the ghetto";
tname2="can't help falling in love with you";
tname3="suspicious minds";
score1="0";
score2="0";
score3="1";
}
if (ad==22) {
playmid="q6.mid";
tname1="dancing queen";
tname2="fernando";
tname3="y m c a";
score1="1";
score2="0";
score3="0";
}
if (ad==23) {
playmid="r1.mid";
tname1="i don't wanna dance";
tname2="i want to wake up with you";
tname3="many rivers to cross ";
score1="0";
score2="1";
score3="0";
}
if (ad==24) {
playmid="r2.mid";
tname1="mighty real";
tname2="menergy";
tname3="born to be alive";
score1="0";
score2="0";
score3="1";
}
if (ad==25) {
playmid="r3.mid";
tname1="inside";
tname2="outside";
tname3="shakeitallaboutside";
score1="0";
score2="1";
score3="0";
}
if (ad==26) {
playmid="r4.mid";
tname1="the joker";
tname2="angel";
tname3="it wasn't me";
score1="0";
score2="1";
score3="0";
}
if (ad==27) {
playmid="r5.mid";
tname1="rip tide";
tname2="words";
tname3="to love somebody";
score1="0";
score2="0";
score3="1";
}
if (ad==28) {
playmid="r6.mid";
tname1="relax";
tname2="two tribes";
tname3="welcome to the pleasure dome";
score1="1";
score2="0";
score3="0";
}
if (ad==29) {
playmid="s1.mid";
tname1="night fever";
tname2="staying alive";
tname3="grease";
score1="0";
score2="1";
score3="0";
}
if (ad==30) {
playmid="s2.mid";
tname1="you drive me crazy";
tname2="she's a star";
tname3="lucky";
score1="0";
score2="0";
score3="1";
}
if (ad==31) {
playmid="s3.mid";
tname1="big love";
tname2="500 miles";
tname3="Albatross";
score1="1";
score2="0";
score3="0";
}
if (ad==32) {
playmid="s4.mid";
tname1="fill me in";
tname2="rendezvouz";
tname3="walking away";
score1="0";
score2="1";
score3="0";
}
if (ad==33) {
playmid="s5.mid";
tname1="who want's to live forever";
tname2="didn't we almost have it all";
tname3="we are the champions";
score1="0";
score2="0";
score3="1";
}
if (ad==34) {
playmid="s6.mid";
tname1="back for good";
tname2="babe";
tname3="million love songs ";
score1="1";
score2="0";
score3="0";
}
if (ad==35) {
playmid="t1.mid";
tname1="billie jean";
tname2="beat it";
tname3="smooth criminal";
score1="0";
score2="1";
score3="0";
}
if (ad==36) {
playmid="t2.mid";
tname1="never had a dream come true";
tname2="better best forgotten";
tname3="reach";
score1="0";
score2="0";
score3="1";
}
if (ad==37) {
playmid="t3.mid";
tname1="strangers in the night";
tname2="summer wind";
tname3="that's life";
score1="1";
score2="0";
score3="0";
}
if (ad==38) {
playmid="t4.mid";
tname1="spanish eyes";
tname2="the last waltz";
tname3="delilah";
score1="0";
score2="1";
score3="0";
}
if (ad==39) {
playmid="t5.mid";
tname1="superstition";
tname2="isn't she lovely";
tname3="sir duke";
score1="0";
score2="0";
score3="1";
}
if (ad==40) {
playmid="t6.mid";
tname1="layla";
tname2="all right now";
tname3="more than a feeling";
score1="1";
score2="0";
score3="0";
}


document.write('<embed  src=\"http://www.theonlinekaraokemachine.i12.com/namethattune/songs/' + playmid + '\"  autoplay=\"False\" controls=smallconsole height=\"45\" width=\"225\" >');
document.write('</embed></td>');
document.write('<td width=\"131\" bgcolor=\"#FF3399\">');
document.write('<select name=\"select2\" size=\"1\">');
document.write('<option value=\"' + score1 + '\" selected>' + tname1 + '</option>');
document.write('<option value=\"' + score2 + '\">' + tname2 + '</option>');
document.write('<option value=\"' + score3 + '\">' + tname3 + '</option>');
document.write('</select>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('<script language=\"JavaScript\" src=\"http://members.lycos.co.uk/karaoke_boogie/bannertext.js\"></script>');