// JavaScript Document

function SwitchItem(id)
{
     var e = document.getElementById(id);
     if(e.style.display == "inline")
     {
         e.style.display = "none";
     }
     else
     {
         e.style.display = "inline";
     }
}

function ShowItem(id)
{
     var e = document.getElementById(id);
     e.style.display = "inline";
}

function HideItem(id)
{
     var e = document.getElementById(id);
     e.style.display = "none";
}


function SwitchBlock(id)
{
     var e = document.getElementById(id);
     if(e.style.display == "block")
     {
         e.style.display = "none";
     }
     else
     {
         e.style.display = "block";
     }
}

function ShowBlock(id)
{
     var e = document.getElementById(id);
     e.style.display = "block";
}

function HideBlock(id)
{
     var e = document.getElementById(id);
     e.style.display = "none";
}



function OpenWindow(path,header,wh,hh,myWindow) {
		hh = hh + 70;
		wh = wh + 70;
		myWindow = open(path,"test","width="+wh+",height="+hh+",alwaysRaised,resizable");
		myWindow.moveTo(100,100);
		myWindow.opener = myWindow;
}
