
if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}


function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}

function SwitchFran(){
		if(fran.style.display != "block"){ //DynamicDrive.com change
			
			fran.style.display = "block";
		}else{
			fran.style.display = "none";
		}
	}
	
function toggle(id)
{
	el = document.getElementById(id);
	if(el.style.display != "block"){ //DynamicDrive.com change
			
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
}


var WindowObjectReference = null; // global variable

function otworzokno(strUrl, strWindowName)
{
  if(WindowObjectReference == null || WindowObjectReference.closed)
  {
    WindowObjectReference = window.open(strUrl, strWindowName,
           "resizable=yes,scrollbars=yes,status=yes,width=610");
  }
  else
  {
    WindowObjectReference.focus();
  };
}

