// JavaScript Document



/*
function popup(url, type, strWidth, strHeight){
	
	closeWin();
	
	
	if (type == "fullScreen"){
		strWidth = screen.availWidth - 10;
		strHeight = screen.availHeight - 160;
	}
	
	var tools="";
	
	if (type == "standard" || type == "fullScreen") tools = "resizable=no,toolbar=no,location=yes,scrollbars=no,menubar=no,width="+strWidth+",height="+strHeight+",top=0,left=0";
	if (type == "console") tools = "resizable=no,toolbar=no,location=no,scrollbars=no,width="+strWidth+",height="+strHeight+",left=150,top=40 ";
	newWindow = window.open(url, 'newWin', tools);
	newWindow.focus();
}

*/




function toggle(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    imgElement.src = "images/open3.gif";
                    }
            }
			
    }

function toggle_b(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'open'){
                    
					ulElement.className = "closed";
                    imgElement.src = "images/closed.gif";
                    }
            }
			
    }
	
	
	
	
	
	function oggle(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    imgElement.src = "images/openmenu.gif";
                    }
            }
			
    }

function oggle_b(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'open'){
                    
					ulElement.className = "closed";
                    imgElement.src = "images/closedmenu.gif";
                    }
            }
			
    }
	

function ggle(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    
                    }
            }
			
    }

function ggle_b(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'open'){
                    
					ulElement.className = "closed";
                    }
            }
			
    }






	function toggle3(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    imgElement.src = "images/open3.gif";
                    }else{
                    ulElement.className = "closed";
                    imgElement.src = "images/closed.gif";
                    }
            }
			
    }
	
	
	
function preload() { 
  var args = preload.arguments; 
  imgs = new Array();
  for(x=0; x < args.length; x++) {
    imgs[x] = new Image();
    imgs[x].src = args[x];
  }
}
	
	