// pop up window for course ids

var pic_default_size = "width=550,height=535";
var pic_top_left = ",left=50,top=50";

//  USE: popup('url','yes or no','name for window',etc.)

//  Null parameters must be entered using '','', etc. if
//  you want to enter a parameter that lies beyond a null

//  EXAMPLE popup('web_id.htm','','myWin')
//  This passes the web_id as url, null as wscroll, myWin as wname

function PopMoreInfoSeminar(id, wsize, wpos, wscroll, wname){
    
	var url = "PopSeminarMoreInformation.php?id="+id;

    if(!wname){
        wname= "popup2";
    }    
    if(!wsize){
        wsize = pic_default_size;
    }    
    if(!wpos){
        wpos = pic_top_left;
    }
    if(!wscroll){
        wscroll = ",scrollbars=1";
    } else {
        wscroll = ",scrollbars=0";
    }
    wchrome = wsize + wpos + wscroll;
    //alert(wchrome);
    var myWinHandle = window.open(url, wname, wchrome);
    
} // E N D   p o p u p ( w p a g e ,   w s c r o l l . . .
