var NS = document.layers
var IE = document.all

function popUp(url, wd, ht, props){
	var wid = wd
	var extra
	if(!props)
	{extra="scrollbars=yes,directories=yes,status=yes,resizable=no,toolbar=yes,menubar=yes,top=160,left=160"}
	else
	{extra=props}
var plat = navigator.platform;
var bName = navigator.appName;


if ((plat=="Win32") && (bName=="Microsoft Internet Explorer"))
 {wid = wid}
else if ((plat=="Win32") && (bName=="Netscape"))
 {wid = wid-3}
else if ((plat=="MacPPC") && (bName=="Microsoft Internet Explorer"))
 {wid = wid-14}
else if ((plat=="MacPPC") && (bName=="Netscape"))
 {wid = wid-13} 
else
 {}	
	if (NS || IE){	
		//var lt = screen.width - wd -50
		var prop = extra  + ",width=" + wid + ",height=" + ht ;
		top.window.open(url, "siteletpop", prop)

		
	} else {
		var prop = extra + ",width=" + wid + ",height=" + ht ;
		top.window.open(url, "siteletpop", prop)
		
	
	}
}
