	//Class na bnnao. kalley kalley funcion bannakey chlao
	function vmenu(cnt,iPre)
	{
		var ttl=cnt;
		var pre=iPre;
		var curr=0;
				
		this.showData=function(num)
			{
				for(i=0;i<ttl;i++)
				{
					document.getElementById(iPre+i).style.display='none';
				}
				document.getElementById(iPre+num).style.display='block';
				curr=num;
			};
			
		this.selfTimer=function()
			{
				if(curr==ttl-1)
				{	curr=-1;	}
				
				this.showData(curr++);
				window.setTimeout("this.selfTimer();",1000);
			};
		this.showData(0);
	}
	
	function linkEffect(pre,ttlLink,trgtLink)
	{
		for(i=0;i<ttlLink;i++)
		{
			document.getElementById(pre+i).style.backgroundImage='url(images/gray_strip.jpg)';
			document.getElementById(pre+i).style.right='-1px';
			document.getElementById(pre+i).style.paddingLeft='25px';
			document.getElementById(pre+i).style.color='#003C5A';
		}
		document.getElementById(pre+trgtLink).style.backgroundImage='url(images/blue_strip.jpg)';
		document.getElementById(pre+trgtLink).style.right='-2px';
		document.getElementById(pre+trgtLink).style.paddingLeft='26px';
		document.getElementById(pre+trgtLink).style.textDecoration='none';
		document.getElementById(pre+trgtLink).style.color='#0096CE';
	}	

