var how_many = 7;
var maxm1 = how_many - 1;
//var now = new Date()
//var sec = now.getSeconds()
//var pick = sec % how_many;
//pick +=1;
pick = Math.round(Math.random()*maxm1) + 1;
if (pick==1) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery1.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==2) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery2.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==3) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery3.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==4) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery4.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==5) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery6.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==6) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery7.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}
if (pick==7) {
document.write("<td width=\"152\" height=\"99\"><a href=\"gallery-tv.htm\"><img src=\"images/gallery8.jpg\" border=\"0\" width=\"132\" height=\"99\" /></a></td>")
}

//if (pick==1) {
//document.write("<dl><dt><b>&quot; "+
//"TEXT"+
//"&quot;</b></dt><dd><i>"+
//"PERSON"+
//"</i></dd></dl>")
//}



