function isIE4() {
	return( navigator.appName.indexOf("Microsoft") != -1 && (navigator.appVersion.charAt(0)=='4') );
}

function launchHelp(helpurl) {
	HelpWin = window.open(helpurl, 'HelpWindow','toolbar=yes,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=650,height=350');
	if( ! isIE4() ) {
		if (HelpWin.focus) {
			HelpWin.focus();
		}
	}
	if (HelpWin.focus!=null  &&  !isIE4()) {
		HelpWin.focus();
	}
	
	if (HelpWin.opener == null) HelpWin.opener = window;
		HelpWin.opener.name = "LycosMain";
}

function popWin(link,width,height){
        var popWindow = window.open(link, "tripop", "height="+height+",width="+width+",toolbar=no,directories=no,location=no,status=no,scrollbars=yes,resize=no,menubar=no");
	popWindow.focus();
}

function toggleDisplay(e)
{
    element = document.getElementById(e).style;
    button  = document.getElementById('btn-'+e);
    if( element.display=='none' )
    {
        element.display='block';
	button.src='/img/3pod/btn.hide.gif';
    }
    else
    {
        element.display='none';
	button.src='/img/3pod/btn.view_all.gif';
    }
}
