var ie=(document.all)?true:false
var ns=(document.layers)?true:false
var ns6=(document.getElementById&&!ie)?true:false
var isMac=(navigator.platform=="MacPPC")?true:false
if(ie){ 
	browserName=navigator.appVersion
	ieloc=browserName.indexOf("MSIE")
	var ieVer=browserName.substring(ieloc+5,browserName.indexOf(";",ieloc)) 
}

function popup(url, name, width, height) {
	newWin = window.open(url,name,"alwaysRaised=yes,dependent=yes,height="+height+",width="+width+",scrollbars=" + ((arguments[4] == true) ? "yes" : "no") + ",resizable=yes")
	newWin.focus()
}

function scrollpopup(url, name, width, height) {
	newWin = window.open(url,name,"alwaysRaised=yes,dependent=yes,height="+height+",width="+width+",scrollbars=yes,resizable=yes")
	newWin.focus()
}
