var activeBox='';

function depli(x)
{
	
	if(document.getElementById(activeBox))
	{
	document.getElementById(activeBox).style.display='none';
	}
	
	
	
	
	
	var dir=document.getElementById(x);	
	dir.style.display='block';

 activeBox=x;
	

}



function repli()
{


	if(document.getElementById(activeBox))
	{
	document.getElementById(activeBox).style.display='none';
	}



}



function change_image(img,ext)
{
	//document.getElementById("__header").style.backgroundImage = "url(./images/"+ img +")";
	//document.getElementById("__header").style.height = "130px";
	if(ext == 'swf')
	{
		document.getElementById("__header").innerHTML = "<embed src='./w_images/" + img + "' width='875' height='167' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>"
	}
	else if(ext == 'jpg' || ext == 'gif' || ext == 'png')
	{
		document.getElementById("__header").innerHTML = "<img src='./w_images/" + img + "'>";
	}
	
}


function open_forward(params)
{
	var iniURL = "./include/forward.php"+params;
	var opts = "top=100,left=200,height=250,width=600,scrollbars=no,menubar=no,resizable=no,toolbar=no,location=no";

	newwindow=window.open(iniURL,'forward',opts);
	if (window.focus) {newwindow.focus()}

return false;
}





