// function to report page last modified date in footer.
function last_mod()
{
	if ( Date.parse(document.lastModified ) != 0 );
	document.write ( "Page last updated: " + document.lastModified );
}

//function to report page last modified date
function last_mod1()
{
	if ( Date.parse(document.lastModified ) != 0 );
	document.write( document.lastModified );
}


//function to open new window for viewing pdf etc.

function doc_win( str )

{
        window.open ( str, "","top=40,left=40,width=1080,height=768,status,toolbar,location,scrollbars,resizable" );
}

//function to open new window for viewing images

function img_win(str, name, w, h)

{
        w += 32;
        h += 96;
        var win = window.open ( str, name, 'width=' + w + ', height=' + h +', ' +
        'location=no, menubar=no, ' +
        'status=no, toolbar=no, scrollbars=no, resizable=no, top=40,left=40');
        win.resizeTo(w, h);
        win.focus();
}        

//function to open new window for viewing video

function video_win( str )

{
	window.open ( str, "","top=10,left=40,width=640,height=750,status,toolbar,location,scrollbars,resizable" );
}




