// JavaScript Document
<!-- Begin
function popupPage(mailPopup) {
var page = mailPopup;
windowprops = "height=500,width=500,location=no,"
+ "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";

window.open(page, "Popup"+randomNumber(1000), windowprops);
}

function popupPage1(printPopup) {
var page = printPopup;
windowprops = "height=600,width=800,location=no,"
+ "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";

window.open(page, "Popup"+randomNumber(1000), windowprops);
}

function popupPage2(mapPopup) {
var page = mapPopup;
windowprops = "height=600,width=800,location=no,"
+ "scrollbars=yes,menubars=no,toolbars=no,resizable=yes";

window.open(page, "Popup"+randomNumber(1000), windowprops);
}
function addBookmark(title, url) 
{
       if( document.all ) 
        { //MSIE
                window.external.AddFavorite(url, title);
        }
        else if (window.sidebar) 
        { // firefox
              window.sidebar.addPanel(title, url,"");
        } 
        else
        {
               alert("Sorry, your browser doesn't support this");
         }
}
function randomNumber(limit)
{
	return Math.floor(Math.random()*limit);	
}
//  End -->