// JavaScript Document
function open_project(stURL) {
	w = screen.width-40;
	h = screen.height-100;	
	proj = 'showstudio_window';
	arg = 'width='+w+',height='+h+',left=14,top=12,scrollbars=no,statusbar=no';
	popup = (document.layers) ? window.open(stURL, proj, arg) : window.open(stURL, proj, arg);
	popup.focus();	
}

function open_biog(stURL) {
	w = screen.width-40;
	h = screen.height-100;	
	proj = 'showstudio_biog_window';
	arg = 'width='+w+',height='+h+',left=14,top=12,scrollbars=no,statusbar=no';
	popup = (document.layers) ? window.open(stURL, proj, arg) : window.open(stURL, proj, arg);
	popup.focus();	
}

function open_scrolling(stURL) {
	w = screen.width-56;
	h = screen.height-100;	
	proj = 'showstudio_scroll_window';
	arg = 'width='+w+',height='+h+',left=14,top=12,scrollbars=yes';	
	popup = (document.layers) ? window.open(stURL, proj, arg) : window.open(stURL, proj, arg);
	popup.focus();
}

function pop(popURL,popNAME,popW,popH,popSCROLL) {
	arg = 'width='+popW+',height='+popH+',scrollbars='+popSCROLL;
	popup = (document.layers) ? window.open(popURL, popNAME, arg) : window.open(popURL, popNAME, arg);
	popup.focus();
}

function SHOWdate() {
	d = new Date();
	SHOWmonth = d.getMonth();
	SHOWyear = d.getFullYear();
	if(SHOWmonth == 0) {SHOWmonth_string = 'Jan';}
	if(SHOWmonth == 1) {SHOWmonth_string = 'Feb';}
	if(SHOWmonth == 2) {SHOWmonth_string = 'Mar';}
	if(SHOWmonth == 3) {SHOWmonth_string = 'Apr';}
	if(SHOWmonth == 4) {SHOWmonth_string = 'May';}
	if(SHOWmonth == 5) {SHOWmonth_string = 'Jun';}
	if(SHOWmonth == 6) {SHOWmonth_string = 'Jul';}
	if(SHOWmonth == 7) {SHOWmonth_string = 'Aug';}
	if(SHOWmonth == 8) {SHOWmonth_string = 'Sep';}
	if(SHOWmonth == 9) {SHOWmonth_string = 'Oct';}
	if(SHOWmonth == 10) {SHOWmonth_string = 'Nov';}
	if(SHOWmonth == 11) {SHOWmonth_string = 'Dec';}
	SHOWday = d.getDate();
	return(SHOWmonth_string+"."+SHOWday+"."+SHOWyear);
}
