function newWindow(legend, size) {

  switch (size) {
                
				case 'buildcampaign' :
                                        w=640;
                                        h=480; 
                                        break;
										
										   }
       
            feature = 'scrollbars=no,width='+w+',height='+h+',resizable=no,screenY=0,screenX=0,left=100,top=100';
                windowName = "seatWin"+size
                seatWindow = window.open(legend, windowName, feature);
                seatWindow.focus()
       
}
