var NS = document.layers

var IE = document.all



function popUp(url, wd, ht, props){

	var extra

	if(!props) extra="location=no,scrollbars=no,directories=no,status=no,resizable=no,toolbar=no,menubar=no,top=220,left=40";

	else extra=props;



	if (NS || IE){	

		var lt = screen.width - wd -50

		var prop = extra + ", left=" + lt  + ",width=" + wd + ",height=" + ht + "top=160,left=160'"

		top.window.open(url, "siteletpop", prop)



		

	} else {

		var prop = extra + ",width=" + wd + ",height=" + ht

		top.window.open(url, "siteletpop", prop)

		

	

	}

}