var today = new Date()
var year = today.getYear()
if(year<1000) year+=1900


/* <script type="text/javascript" language="javascript1.2">
document.write (year);
</script> 
*/

//window opening scripts


/* openFeature - this has the size set in the script*/

function openFeature(url, name) {
if (typeof(popupWin) != "object"){
popupWin = window.open(url,name, "width=780,height=500,toolbar,location,status,menubar,scrollbars,resizable");
} else {
if (!popupWin.closed){
popupWin.location.href = url;
} else {
popupWin = window.open(url,name, "width=780,height=500,toolbar,location,status,menubar,scrollbars,resizable");
}
}
popupWin.focus();
}


/*
This is the link for openFeature
javascript:openFeature('page.html','featureWin')

OR

<a href="page.html" onclick="openFeature('page.html','featureWin'); return false;">
*/







/* openFeaturePlain - this has the size set in the script and has minimal bworser chrome*/

function openFeaturePlain(url, name) {
if (typeof(popupWin) != "object"){
popupWin = window.open(url,name, "width=780,height=500,status,scrollbars,resizable");
} else {
if (!popupWin.closed){
popupWin.location.href = url;
} else {
popupWin = window.open(url,name, "width=780,height=500,status,scrollbars,resizable");
}
}
popupWin.focus();
}


/*
This is the link for openFeature
javascript:openFeaturePlain('page.html','featureWinPlain')

OR

<a href="page.html" onclick="openFeaturePlain('page.html','featureWinPlain'); return false;">
*/





/* openFeatureSize - this lets you set the size in the link - GIVE THIS WINDOW A DIFFERENT NAME if you use in in the same site with the other script */



function openFeatureSize(url, name, width, height) {
if (typeof(popupWin) != "object"){
popupWin = window.open(url,name, "width=" + width + ",height=" + height + ",toolbar,location,status,menubar,scrollbars,resizable");
} else {
if (!popupWin.closed){
popupWin.location.href = url;
} else {
popupWin = window.open(url,name, "width=" + width + ",height=" + height + ",toolbar,location,status,menubar,scrollbars,resizable");
}
}
popupWin.focus();
}

/*
This is the link for openFeatureSize
javascript:openFeatureSize('page.html','featureWin2','780','500')

OR

<a href="page.html" onclick="javascript:openFeatureSize('page.html','featureWin2','780','500'); return false;">

*/





/* openFeatureSizePlain - this lets you set the size in the link and has no browser chrome- GIVE THIS WINDOW A DIFFERENT NAME if you use in in the same site with the other script */



function openFeatureSizePlain(url, name, width, height) {
if (typeof(popupWin) != "object"){
popupWin = window.open(url,name, "width=" + width + ",height=" + height + ",status,scrollbars,resizable");
} else {
if (!popupWin.closed){
popupWin.location.href = url;
} else {
popupWin = window.open(url,name, "width=" + width + ",height=" + height + ",toolbar,location,status,menubar,scrollbars,resizable");
}
}
popupWin.focus();
}

/*
This is the link for openFeatureSizePlain
javascript:openFeatureSizePlain('page.html','featureWin2','780','500')

OR

<a href="page.html" onclick="javascript:openFeatureSizePlain('page.html','featureWin2','780','500'); return false;">

*/



   
        if (document.images) 

        {
		img1nb = new Image();
        	img1nb.src = "../images/common/sample_on.gif";
               
 	      /* 	img2nb = new Image();
        	img2nb.src = "../images/common/sample_on.gif"; */

	
        }
              

function img_nbOn(imgName)
{
        if (document.images)       
        {
        document["sample"].src = eval(imgName + "nb.src");
        }
}

function img_nbOff(imgName)
{
        if (document.images)       
        {
        document["sample"].src = "../images/common/sample.gif";
        }
}

    