function createWindow(url,windowname,w,h,l,t,mb,sb,tb,rb) 
{
	if (!windowname){windowname='';}//windowname
	if (!w){w=600;}//width
	if (!h){h=400;}//height
	if (!l){l=100;}//left
	if (!t){t=100;}//top
	if (!mb){mb=0;}//menubar
	if (!sb){sb=1;}//scrollbar
	if (!tb){tb=0;}//toolbar
	if (!rb){rb='yes';}//resizeable
    var features = 'width=' + w+
        ',height='      + h +
        ',left=' + l +
        ',top='    + t +
        ',menubar='     + mb +
        ',scrollbars='  + sb +
        ',toolbar='     + tb +
        ',resizable='   + rb;
		newwindow = open (url, windowname, features);
		//window.open (url, windowname, features);
		newwindow.focus();
	
}


function NewWindow(url) {
  var subWin = null;

    subWin=window.open(url,'event','scrollbars=yes,height=420,width=750');
 
}

