

// MULTI=BROWSER BOOKMAKER (Works in IE and Mozilla at least!)

function addBookmark(title,url) {
if (window.sidebar) { 
window.sidebar.addPanel(title, url,""); 
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}

// OPENS TARGET IN NEW WINDOW (EMULATES "target=_blank")
function openWin(obj){
window.open(obj.href,'','');

}


// POPUP FIXED SIZE BOX
function sf_popfix(URL,W,H) 
{var newWindow =window.open(URL, "Child", 
"width="+W+",height="+H+",toolbar=0,location=0,menubar=0,directories=0,fullscreen=0,status=0,scrollbars=0,resizable=0");
newWindow.focus(); }


// POPUP SIZEABLE BOX
function sf_popsize(URL,W,H) 
{var newWindow =window.open(URL, "Child", 
"width="+W+",height="+H+",toolbar=0,location=0,menubar=0,directories=0,fullscreen=0,status=0,scrollbars=1,resizable=1");
newWindow.focus(); }


// THINGY (Looks like a half-screen-size popup, but I forget...)
function sf_popX(URL) 
{var newWindow =window.open(URL,"Child",
"width=window.screen.width,height=100,left=window.screen.width / 2 ,toolbar=0,location=0, menubar=0,directories=0, fullscreen=0,status=0,scrollbars=0,resizable=1");
newWindow.focus(); }
