//Begin Date & Time function (with leap year,Y2K, and Formatting - ShowDate)
ie = (document.all)? true:false;
ns = (document.layers)? true:false;

<!--
// gets current date and converts it
function MakeArray(n) {
        this.length = n
        return this
}
monthNames = new MakeArray(12)
monthNames[1] = "January"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "September"
monthNames[10] = "October"
monthNames[11] = "November"
monthNames[12] = "December"


function customDate(oneDate) {
        
        var theMonth = monthNames[oneDate.getMonth() + 1]
        var theYear = oneDate.getYear( );
        return theMonth + " " + oneDate.getDate() + ", " + theYear
}

var ok;
ok=false;


var ok;
ok=false;

noPop = false;


function showPop() {

var popupsOk=false;
var testwin;
if (noPop!=true) {
  testwin = window.open('http://www.wedding-toasts.org/weddingtoastpopup.htm','testwin','height=1,width=1,top=8000,left=8000');
  if (testwin) {popupsOk=true;
     testwin.close();
    }
 }

if ((popupsOk) && (noPop!=true)) {
  var popWin = window.open('http://www.wedding-toasts.org/weddingtoastpopup.htm?link='+linkid,'audio','height=425,width=425,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,titlebar=yes,toolbar=no,directories=no'); 
 }
 else {
  if ((noPop!=true)) {
    document.location.href="http://www.wedding-toasts.org/weddingtoastpopup.htm?popupsOk=false&link="+linkid;
  }
 } 
}

// **********************

// End -->
             
