
function popup(mylink, windowname, picswidth, picsheight) {

var popWidth = picswidth;
var popHeight = picsheight;

 if (! window.focus)return true;
 var href;
 if (typeof(mylink) == 'string')
   href=mylink;
 else
   href=mylink.href;
 window.open(href, windowname, "width="+popWidth+",height="+popHeight+",scrollbars=yes,resizable=1,location=0,statusbar=0,menubar=0");
 return false;
}


function poptastic(url) {
var newwindow;

 newwindow=window.open(url,'name','height=600,width=650, scrollbars=yes');

 if (window.focus) {
	 newwindow.focus()
}

}

function poppics(url, picswidth, picsheight) {

var newwindow;

var popWidth = picswidth;
var popHeight = picsheight;

// newwindow=window.open(url, name, "width="+popWidth+", height="+popHeight+", scrollbars=yes);
newwindow=window.open(url,'name','height='+popWidth+',width='+popHeight+', scrollbars=yes, resizable=1, statusbar=0,menubar=0');
 if (window.focus) {
	 newwindow.focus()
}

}

