function popitup(url) {
	newwindow=window.open(url,'name','height=800,width=600,scrollbars=yes,toolbar=no,resizable=yes');
	if (window.focus) {newwindow.focus()}
	return false;
}


/* Function takes a url and optional width and height to open a pop up window
 * @return false to stop following links
 * 
*/
function popitupt(url, width, height) {
   
   //Checks for the presence of the two optional parameters
   width = (typeof(width) == "undefined") ? 600 : width;
   height = (typeof(height) == "undefined") ? 800 : height;

   newwindow=window.open(url,'name','height='+height+',width='+width+',scrollbars=yes,toolbar=no,resizable=yes');
   if (window.focus) {newwindow.focus()}   
   
   return false;
}

function popBrowser(url) {

   newwindow=window.open(url,'name', 'scrollbars=yes,resizable=yes');
   if (window.focus) {newwindow.focus()}   
   
   return false;
}


function myprint()	{
	//alert('Print Me');
	window.print();
		}
		
		
function mybookmark() {
			if(document.all)
				window.external.AddFavorite(location.href,document.title);
			else if(window.sidebar)
				window.sidebar.addPanel(document.title,location.href,'');
		}

