function vtoggle(id, hide) {
	if (!document.getElementById) return false
	if (!hide) hide = false
	var el = document.getElementById(id)
	var vis = el.style.display
	el.style.display = (vis != 'none' || hide) ? 'none' : ''
	el = document.getElementById(id+'arr')
	el.innerHTML = (vis != 'none' || hide) ? '&nbsp;&darr;' : '&nbsp;&uarr;'
	
	return false
}

function show(url, w, h, s, n) {
	if (!n) n = 'vw'
	attr = 'width=' + w + ',height=' + h + ',location=0,menubar=0,resizable=0,scrollbars=' + s + ',status=0,titlebar=0,toolbar=0,hotkeys=0'
	if (parseInt(navigator.appVersion) >= 4) {
		x = (screen.width - w) / 2
		y = (screen.height - h) / 2
		if(x < 0) x = 0
		if(y < 0) y = 0
		attr += ',xposition=' + x + ',left=' + x + ',yposition=' + y + ',top=' + y
	}
	window.open(url, n, attr)
}
function vshow(u) { show(u, 750, 590, 1); return false; }
