<div id="abc">ads
</div>
<script language="javascript" type="text/javascript">
function flashs(id) {
if (id.style.color == "#ffffff") {
id.style.color = "red";
}
else {
id.style.color = "#ffffff";
}
var func = function(t) { return function() { flashs(t) } } (id);
window.setTimeout(func, 300);
}
flashs(document.getElementById('abc'));
</script>
</div>
<script language="javascript" type="text/javascript">
function flashs(id) {
if (id.style.color == "#ffffff") {
id.style.color = "red";
}
else {
id.style.color = "#ffffff";
}
var func = function(t) { return function() { flashs(t) } } (id);
window.setTimeout(func, 300);
}
flashs(document.getElementById('abc'));
</script>