﻿/* 
====================================================================
    Javascript Library For Work Opportunities: WouWeb - Website
    v1.1, 4/2010
====================================================================
*/ 

function showDate() {
	var now = new Date();
	var month = convertMonth(now.getMonth());
	var year = now.getYear();
	var day = convertDay(now.getDay());
	var date = now.getDate();
	
	if (year<1900) {
		year=year+1900;
	}

	var timestamp = day +" " + month + " " + date +", " + year
	var textNode = document.createTextNode(timestamp);
	var spanTimeStamp = document.getElementById("spanTimeStamp")
	spanTimeStamp.appendChild(textNode);
}

function testit(msg) {
    alert('msg: ' + msg);
}

function openDialog(winObj, url, windowName, width, height) {
    if (winObj==null) {
        winObj = window;
    } 
    //alert('url: ' + url); 
    var oWin = openRadWindow(winObj, url, windowName, width, height);

}

