﻿	today=new Date();
	
	// Build an array initializer
	
	function isnArray() {
	
	 argnr=isnArray.arguments.length
	
	 for (var i=0;i<argnr;i++) {
	
	  this[i+1] = isnArray.arguments[i];
	
	  }
	
	 }
	
	// And months and day arrays
	
	var isnMonths=new isnArray("January","February","March","April",
	
	"May","June","July","August","September","October","November",
	
	"December");
	
	var isnDays = new isnArray("Monday","Tuesday","Wednesday",
	
	"Thursday","Friday","Saturday","Sunday");
	
	isnDays[0]="Sunday";


	function doPopup(url,h, w, features)
	{
		var newWin;
        var day = new Date();
        var id = day.getTime();
        
        if (!features)
        	features = 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1';
        
        if (w && h) {
	        winl = (screen.width - w) / 2;
	        wint = (screen.height - h) / 2;
	        features = features + "width=" + w + ",height=" + h + ",top=" + wint + ",left=" + winl;
	    }

    	newWin = window.open(url,id,features);        
        if (!newWin || !newWin.top)
        	alert("                 Pop-up Blocker Detected!\n\n" +
        		  "Press the Ctrl key while mouse clicking the requested link!");
	}
