<!DOCTYPE html>
<HTML><HEAD><TITLE>Таблица в мигающем обрамлении</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<STYLE>
.flashgroup {BORDER-RIGHT: red 2px solid; BORDER-TOP: green 2px solid; BORDER-LEFT: red 2px solid; BORDER-BOTTOM: blue 2px solid}
</STYLE>
</HEAD>
<body>
<TABLE border="1" width="46%" class="flashgroup" id="flash0"><TR><TD width="50%"> <P> </TD><TD width="50%"> </TD></TR><TR><TD width="50%"> <P> </TD><TD width="50%"> </TD></TR></TABLE>
<script type="text/javascript">
var flashcolor="yellow"
var speed=250
var curborder=new Array()
var increment=0
var flashobject=new Array()
if (document.all||document.getElementById){
while (document.getElementById("flash"+increment)!=null){
flashobject[increment]=document.getElementById? document.getElementById("flash"+increment).style : eval("document.all.flash"+increment+".style")
curborder[increment]=0
increment++
}
}
function flash(which){
if (curborder[which]==1){
flashobject[which].borderLeftColor=flashcolor
flashobject[which].borderBottomColor=flashobject[which].borderRightColor
}
else if (curborder[which]==2){
flashobject[which].borderTopColor=flashcolor
flashobject[which].borderLeftColor=flashobject[which].borderBottomColor
}
else if (curborder[which]==3){
flashobject[which].borderRightColor=flashcolor
flashobject[which].borderTopColor=flashobject[which].borderLeftColor
}
else if (curborder[which]==4){
flashobject[which].borderBottomColor=flashcolor
flashobject[which].borderRightColor=flashobject[which].borderTopColor
}
if (curborder[which]<=3)
curborder[which]++
else
curborder[which]=1
}
if (document.all||document.getElementById){
for (z=0;z<flashobject.length;z++){
var temp='setInterval("flash('+z+')",'+speed+')'
eval(temp)
}
}
</script>
</BODY></HTML>