
function selectBut(Name, Text) {

        document[Name].src = document[Name].src.replace(/-p\./,'-a\.')
        window.status = Text;	
        return true;
}

function deselectBut(Name) {
        document[Name].src = document[Name].src.replace(/-a\./,'-p\.')
}


function openWindow(URL, Name, Width, Height) {
	var win = window.open(URL, Name, 'resizable=no,scrollbars=no,width='+ Width + ',height=' + Height);
	win.focus();
}
