// JavaScript Document

function LoadImages() { 
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=LoadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function open_album(ID) {
	window.open("./album.php?aid="+ID,"CSC","width=600, height=650, location=no, menubar=no, resizable=yes, toolbar=no, scrollbars=yes, left="+(screen.width-473)/2+", top="+(screen.height-300)/2);
}

function hidepost() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('post').style.display = 'none';
document.getElementById('showpost').style.display = '';
document.getElementById('hidepost').style.display = 'none';
}}
function showpost() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('post').style.display = '';
document.getElementById('hidepost').style.display = '';
document.getElementById('showpost').style.display = 'none';
}}