// JavaScript Document

/* _____________________________________________________________ PopUp stuff */
var pop_details

function popup_details(path,winName,detail) {
	pop_close(winName);
	eval(winName+"= window.open(path,winName,detail)");
	popup_focus(winName);
}
function popup_focus (winName){
/*eval (winName+".document.close()");*/
	eval (winName+".focus()");
}
function pop_close(winName){
	if(eval("window."+winName)){
		eval(winName+".close()");}
}
function openBaby(theURL,winName,features) {
	var w;
	window.open(theURL,winName,features);
}
function closeAll () {
	if (window.pop_events){pop_events.close();}
	if (window.pop_clothes) {pop_clothes.close();}
	if (window.pop_music){ pop_music.close();}
	if (window.pop_listen){ pop_listen.close();}
	if (window.pop_collaboration){ pop_collaboration.close();}
};

/* _____________________________________________________________ LayerDisplay */
function title_display (title){
		var ttitle = title;
			if (navigator.appName=="Microsoft Internet Explorer"){
				eval(ttitle+".style.display = 'block'");
			}
			if (navigator.appName=="Netscape"){
				document.getElementById(ttitle).style.display = 'block'; 
			}
}
		  
function title_none (title){
  		var ttitle = title;
			if (navigator.appName=="Microsoft Internet Explorer"){
		  		eval(ttitle+".style.display = 'none'");
		  	} 
		  	if (navigator.appName=="Netscape"){
				document.getElementById(ttitle).style.display = 'none'; 
			} 
}

