
function open_news()
{
window.open("<?php echo $url; ?>/signup.php?mode=n01","_blank","toolbar=no, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=560, height=470");
}
function open_friend()
{
window.open("<?php echo $url; ?>/signup.php?mode=r01","_blank","toolbar=no, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=560, height=480");
}


function HideContent(d) {
if(d.length<1) { return; }
document.getElementById(d).style.display = "none";
document.getElementById(h).style.display = "block";
}
function ShowContent(d,h) {
if(d.length<1) { return; }
document.getElementById(d).style.display = "block";
document.getElementById(h).style.display = "none";
}
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"; }
}

function ShowInfo(d) {
if(d.length <1) { return; }
document.getElementById(d).style.display = "block";
}

function HideInfo(d) {
if(d.length <1) { return; }
document.getElementById(d).style.display = "none";
}




