function toggleById(id,id2){

if(document.getElementById(id)){
    if(document.getElementById(id).style.display==''){
        document.getElementById(id).style.display='none';        
        document.getElementById(id2).style.display='';
      }
      else {
        document.getElementById(id).style.display='';
        document.getElementById(id2).style.display='none';     
      }  
 }
    
}


function loadHtml(src)
{
	if(document.getElementById("htmlTurinys"))
	{
		document.getElementById("htmlTurinys").src = src;
		//id="htmlTurinys";
		//document[id].src = src;
	}
	else if(document.all.htmlTurinys){
		document.all.htmlTurinys.src = src;
		//id="htmlTurinys";
		//document[id].src = src;
	}
	
}
function hideC()
{
	if(document.getElementById("content")){ 
		document.getElementById("content").className = "hideC";
		//id="content";
		//document[id].className = "hideC";
	}
}
function showC()
{
	if(document.getElementById("content")){
		document.getElementById("content").className = "showC";
		//id="content";
		//document[id].className = "showC";
	}
}


/******************************************************************8*/
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
function checkFlashPlugin(){
if (navigator.plugins && navigator.plugins.length)
{
	x = navigator.plugins["Shockwave Flash"];
	if (x)
	{
		flashinstalled = 2;
		if (x.description)
		{
			y = x.description;
			flashversion = y.charAt(y.indexOf('.')-1);
		}
	}
	else
		flashinstalled = 1;
	if (navigator.plugins["Shockwave Flash 2.0"])
	{
		flashinstalled = 2;
		flashversion = 2;
	}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
	x = navigator.mimeTypes['application/x-shockwave-flash'];
	if (x && x.enabledPlugin)
		flashinstalled = 2;
	else
		flashinstalled = 1;
}
else
	MSDetect = "true";
}


/**********************************************************************/
