function latchit(link) 
{ 

var l, i =0; 
while (l = document.links[i++]) 
if (l != link) 
	{ 
		l.style.fontWeight = "normal"
		l.style.background = "#E5F5E5";
		l.style.display = "block"
		l.style.paddingLeft="3px";
		l.latched = false; 
	} 
else { 
		l.style.fontWeight = "bold"
		<!--l.style.width="600px";-->
		l.style.display = "block"
		l.style.background = "#88D388";
		l.style.paddingLeft="3px"; 

		l.latched = true;  
		
	} 
} 

function openWindow(url, title, width, height, scrollbar) {
	var iLeft = (screen.width - width) / 2;
	var iTop = (screen.height - height) / 2;
	
	if(!scrollbar) {
		scrollbar = "no";
	} else {
		scrollbar = "yes";
	}

	var oWin = window.open(url, title, "toolbar=no,menubar=no,hotkeys=no,location=no,scrollbars=" + scrollbar + ",width=" + width + ",height=" + height + ",top=" + iTop + ",left=" + iLeft);
	if(oWin && (focus)) {
		oWin.focus();
	}
	return oWin;
}


function printFrame() {
	parent.main.focus();
	parent.main.print();
}


