function showWindow(url,width,height,windowName, scroll, status, resize)
{

	if(!height) {height=300;} // if those param are not specified when the function is called
	if(!width) {width=400;} // url has to be there !

	myX = (screen.width - width) / 2; // screen.width & screen.height size of client's screen
	myY = (screen.height - height) / 2; // could use screen.availheight (.availwidth) so it will only count the pixels available.

	myStr=",screenX=" + myX + ",left=" + myX; // screenX, screenY number of pixels between the border of ur screen and the new window; top, left, same thing but specific to IE 4.0 and +
	myStr = myStr + ",screenY=" + myY + ",top=" + myY;


	// top refers to the topmost window
	// ref is only a variable contained in ref, it could be called bob
	top.ref = window.open(url,'myWindow',"width="+width+",height="+height+myStr +",toolbar=no,menubar=no,scrollbars=" + scroll + ",location=no,directories=no,status=" + status + ",resizable=" + resize);
//	if (top.ref.opener == null) top.ref.opener = self; // top.ref.opener refers to the windows which opened top.ref (top.ref being a reference to the pop-up window)
}
