
function showpage(p) {
	if(!window.opener) return;  // IE & Firefox bug: window.opener is always true
	window.opener.doit('loghelp');
	window.opener.go('../'+p+'.php');
	setTimeout('window.focus()',1000);  // Keep help window on top (for IE)
	}

function linkpage(text,url) {
	if(!window.opener) // IE & Firefox bug: window.opener is always true
		return document.write("<span class=page>"+text+"</span>");
	document.write("<a class=page href=\"javascript:showpage('"+url+"')\">"+text+"</a>");
	}

function govideo(video,videos,videomenu) {
	if(videos==null) videos='';
	if(videomenu==null) videomenu='videos';
	document.cookie='videos='+videos+';path=/';
	document.cookie='videomenu='+videomenu+';path=/';
	location='../videos/index.php?'+video;
	}
