<script language='JavaScript'>
<!--
function changeStatus() {
window.status = "HELLO";
}

var pics=new Array("kartinka0.gif","kartinka1.gif","kartinka2.gif","kartinka3.gif")
var pics1=new Array("mis4.gif","mis2.gif","mis3.gif","mis1.gif")
var links=new Array("www.abv.bg","www.btv.bg","www.dir.bg")
var pp="./pictures/"
var cnt=0
function chBnr(){
	cnt++
	if (cnt>=pics.length){
	cnt=0
	}
	if (cnt>=pics1.length){
	cnt=0
	}
	document.bnr.src=pp+pics[cnt]
	document.bnr1.src=pp+pics1[cnt]
setTimeout("chBnr()",3000)
}	

function gotoSite(){
window.location="http://"+links[cnt]
}
// document.write(Math.random())

function onmv(){
<font color="#CC0000"></font>
}

function chtext(){
var r=Math.random()
			 if (r=0.1) 
				{
//					document.write("<img width='192' src='./pictures/UNSS.gif'>")
					document.write("<br><center><i>The time makes the 'best' of the day out of date. The challenge towards the best for the future brings changes for the fate.<br> Kazuo Oitani</i>")
				}
				else
				if (r>0.4 & r<0.8) 
				{
//						document.write("<img width='192' src='./pictures/Seminar.gif'>")
				document.write("<br><center>ÑÅÌÈÍÀÐ")
				}
				else
				{
//				 	document.write("<img width='192' src='./pictures/IMG.gif'>")
					document.write("<br><center>ÃÐÀÄ?")
				}
}

function highlightButton(s) {
    if ("INPUT"==event.srcElement.tagName)
      event.srcElement.className=s
  }
	

count=new Array(100);			// Initialize variable.
for (i = 0; i < 100; i++)
   {
   count[i] = 0;
   }
		
		function charAtName(obj){
		   var str = eval("obj.name") ; 
		   var s = str.charAt(1);   
		   s=parseInt(s);               // Get correct character
		   return(s); 
		                               // Return character.
		}
		
		function countChoices(obj) {
		idx=charAtName(obj);
		var max =eval("obj.form.q"+idx+".value") ;// max. number allowed at a time
			 
		if (obj.checked){
		count[idx]+=1;
		}
		else{
		count[idx]-=1;
		}
		if (count[idx] > max) {
		alert("You can only choose up to " + max + " choices! \nUncheck an option if you want to pick another.");
		obj.checked = false;
		count[idx]-=1;
		   }
		}
	
-->
</script>