//

//   Functions for the blue Christmas Force page december 1999

//



function launch(myURL,sizeX,sizeY) {



		myArgs = "width=" + sizeX + "," 

                + "height=" + sizeY + "," 

                + "location=0," 

                + "menubar=0,"

                + "resizable=0,"

                + "scrollbars=0,"

                + "status=0,"             

                + "titlebar=0,"

                + "toolbar=0,"

                + "hotkeys=0,"

                + "screenx=0,"

                + "screeny=0,"

                + "left=40,"

                + "top=40";



		myWindow = open(myURL,"", myArgs);

        

        }



//

//   Functions for the red HTML layers Subsense page december 1999

//



function subShow() {

	var i, args, theObj;

	args = subShow.arguments;

	for (i=0; i<(args.length); i++) {

		if (navigator.appName == 'Netscape' && document.layers != null) {

			theObj = eval("document.layers[\'"+args[i]+"\']");

			if (theObj) theObj.visibility = 'show';

		} else if (document.all != null) {

			theObj = eval("document.all[\'"+args[i]+"\']");

			if (theObj) theObj.style.visibility = 'visible';

		} 

	}

}



function subHide() {

	var i, args, theObj;

	args = subHide.arguments;

	for (i=0; i<(args.length); i++) {

		if (navigator.appName == 'Netscape' && document.layers != null) {

			theObj = eval("document.layers[\'"+args[i]+"\']");

			if (theObj) theObj.visibility = 'hide';

		} else if (document.all != null) {

			theObj = eval("document.all[\'"+args[i]+"\']");

			if (theObj) theObj.style.visibility = 'hidden';

		} 

	}

}



function subWrite(disStr) {

	window.status = disStr;

}



function popWin(theURL,winName,features) {

	window.open(theURL,winName,features);

}

