function openNewWindow() {
	var SRC = arguments[0];
	var NAME = ( typeof(arguments[1]) != "undefined" ) ? arguments[1] : "satellite";
	var W = ( typeof(arguments[2]) != "undefined" ) ? arguments[2] : "480";
	var H = ( typeof(arguments[3]) != "undefined" ) ? arguments[3] : "560";
	var L = ( typeof(arguments[4]) != "undefined" ) ? arguments[4] : "10";
	var T = ( typeof(arguments[5]) != "undefined" ) ? arguments[5] : "10";
	var WIN = ( typeof(arguments[6]) != "undefined" ) ? arguments[6] : "directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no";

	var availW = screen.availWidth  - L - 10;
	var availH = screen.availHeight - T - 100;

	if(W > availW) { W = availW; }
	if(H > availH) { H = availH; }

	if (navigator.userAgent.indexOf("Mac",0)) {
		if (document.all) H = parseInt(H) + 16;
	}
	if(WIN.indexOf("menubar=yes",0)){
		if (!document.all) H = parseInt(H) + 23;
	}
	if(WIN.indexOf("scrollbars=yes",0) > 0){
		if (!(navigator.userAgent.indexOf("MSIE",0) != -1 && navigator.userAgent.indexOf("Mac",0) != -1)){
			W = parseInt(W) + 16;
		}
	}

	window.name = "parentWindow";
	if ( typeof(SRC) != "undefined") {
		adoptWindow = window.open( SRC, NAME, WIN +",left="+ L +",top="+ T +",width="+ W +",height="+ H);
		adoptWindow.focus();
	}
}



function ChgImg(name,str,path){
	document.images[name].src = path + "images/" + str + ".gif";
}


function LinkSelectStatic(form, sel){
	adrs = sel.options[sel.selectedIndex].value;
	if (adrs != "" ) location.href = adrs;
}
