function picView(u, w, h, t)
{
    if (!t) t = "Cat Breeders Directory";
	var x = (screen.availWidth-w)/2;
	var y = (screen.availHeight-h)/2;
	picwin = window.open("","picwin","width="+w+",height="+h+",left="+x+",top="+y);
    picwin.document.open();
    picwin.document.writeln('<html><title>'+t+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" scrollbar="yes">');
    picwin.document.writeln('<table width="'+w+'" cellpadding="0" cellspacing="0" border="0">');
    picwin.document.writeln('    <tr>');
    picwin.document.writeln('        <td>');
	picwin.document.writeln('			 <a href="javascript:window.close()">');
    picwin.document.writeln('            <img src="'+u+'" width="' + w + '" height="' + h + '" border="0"></a>');
    picwin.document.writeln('        </td>');
    picwin.document.writeln('    </tr>');
    picwin.document.writeln('</table>');
    picwin.document.writeln('</body></html>');
    picwin.document.close();
    picwin.focus();
}

function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}