var tool
ns4 = (document.layers)? true:false
ns6 = ((!document.all) && (document.getElementById))? true:false
ie4 = (document.all)? true:false

function sendMailer(url) {
	if(tool && tool.open && ns4) {
		tool.focus()
	} else {
		tool=window.open('w1', '_tool_','location=no,menubar=no,toolbar=no,scrollbars=no,width=450,height=450,resizable=no')
		if(tool.opener==null) tool.opener=self
		tool.location=url
		tool.focus()
	}
}

function PrintView(url) {
	if(tool && tool.open && ns4) {
		tool.focus()
	} else {
		tool=window.open('w2', '_tool_','location=no,menubar=no,toolbar=no,scrollbars=yes,width=660,height=650,resizable=yes')
		if(tool.opener==null) tool.opener=self
		tool.location=url
		tool.focus()
	}
}


