var arrTemp=self.location.href.split("?"); 
var picUrl = (arrTemp.length>0)?arrTemp[1]:""; 
var NS = (navigator.appName=="Netscape")?true:false; 


function PopupPic(sPicURL) { 
window.open( "popup.html?"+sPicURL, "view","location=0,status=0,scrollbars=0,resizable=1,HEIGHT=200,WIDTH=200"); 
}

function FitPic() { 
iWidth = (NS)?window.innerWidth:document.body.clientWidth;
iHeight = (NS)?window.innerHeight:document.body.clientHeight; 
iWidth = document.images[0].width - iWidth;
iHeight = document.images[0].height - iHeight;
window.resizeBy((iWidth+17), (iHeight+17));
window.resizeBy((-17), (-17));
window.moveTo(0,0);
self.focus();
}

function currentclown(month) {
document.getElementById('currentclown').src='clown'+month+'.html';
document.getElementById('currentclown').height='200%';
}

function pastclown(month) {
document.getElementById('pastclown').src='clown'+month+'.html';
document.getElementById('pastclown').height='200%';
}
