<!-- Function: Browser Detector, send picture to pickIt method for most browser, else post only picture -->
function openWindow(URL,features) {
//	if (navigator.userAgent.indexOf("MSIE") != -1) {
//		var options = ',height=500,resizable=no,scrollbars=no,menubar=no,toolbar=no,status=yes,width=600';
//		var winName = 'picture_win';
//		NewWindow = window.open(URL,winName,features+options);
//		setTimeout('NewWindow.location.reload()',1000);
//		NewWindow.focus();
//	}  else {
		var options = ',height=500,resizable=no,scrollbars=yes,menubar=no,toolbar=no,status=yes,width=560';
		var winName = 'picture_win';
		NewWindow = window.open(URL,winName,features+options);
		NewWindow.focus();
//	}
}


<!-- Date function -->
var months=new Array(13);

months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";

var weekday=new Array(8);

weekday[1]="Sunday";
weekday[2]="Monday";
weekday[3]="Tuesday";
weekday[4]="Wednesday";
weekday[5]="Thursday";
weekday[6]="Friday";
weekday[7]="Saturday";

var time=new Date();
var theweekday=weekday[time.getDay() + 1];
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var blue=time.getMonth();
var mice=time.getDay();





<!-- Show Selected Picture in New Browser -->
function fullScreen() {
    var mypic = fullscreen;
    new_win_pic = window.open(mypic,'new_win_pic');
}
<!-- End Show Selected Picture in New Browser -->



function changeFull(href) {
    var newref = href;
    parent.fullscreen = href;
}




<!-- -->
function changeCaption(text) {
    caption.document.clear();
    caption.location.reload();
    if(navigator.userAgent.indexOf("MSIE") != -1) { 
        caption.document.writeln('<style type="text/css">body{background-color:#ffffff;}</style><div style="position:absolute; top:0pt;left:1pt; width:420px; background-color:#ffffff;overflow:hidden;">' + text + '</div>');
    } else {
        caption.document.writeln('<style type="text/css">body{background-color:#ffffff;}</style><div style="position:absolute; top:0pt;left:1pt; width:420px; height:100px; background-color:#ffffff;overflow:hidden;">' + text + '</div>');
    }
}
<!--  ->

<!-- New Popup window -->
function openPop(form) {
    var url=(form.selectme.options[form.selectme.selectedIndex].value);
    myWindow = window.open(url, 'myWindow');
}
<!-- End new popup window -->

<!-- Leap To function -->
function leapto(form) {
    var myindex=form.selectme.selectedIndex;
    parent.location.href=(form.selectme.options[myindex].value);
    myindex = 0; // reset pulldown menu
}
<!-- End Leap to function -->

<!-- Pulldown Menu Function -->
function pulldown_menu() {
    var url = document.pulldown.selectme.options[document.pulldown.selectme.selectedIndex].value
    // Re-direct the browser to the url value
    window.location.href = url
}
<!-- End Pulldown function -->

<!-- -->
function changeCaption(text) {
    caption.document.clear();
    caption.location.reload();
    if(navigator.userAgent.indexOf("MSIE") != -1) { 
        caption.document.writeln('<style type="text/css">body{background-color:#ffffff;}</style><div style="position:absolute; top:0pt;left:1pt; width:420px; background-color:#ffffff;overflow:hidden;">' + text + '</div>');
    } else {
        caption.document.writeln('<style type="text/css">body{background-color:#ffffff;}</style><div style="position:absolute; top:0pt;left:1pt; width:420px; height:100px; background-color:#ffffff;overflow:hidden;">' + text + '</div>');
    }
}
<!--  ->