//Open Windows functions 

function mmAudioWindow(page,width,height) {
 
    audioWindow = window.open(page,"audioWindow","width=" + width + ",height=" + height+",left=250,top=500,screenX=250,screenY=500,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes");
    audioWindow.focus();
    videoWindow.close();
 
    if (!audioWindow.opener) 
       audioWindow.opener = self;
}


function mmVideoWindow(page,width,height) {
 
    videoWindow = window.open(page,"videoWindow","width=" + width + ",height=" + height+",left=250,top=20,screenX=250,screenY=20,toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes");
    videoWindow.focus();
    audioWindow.close();
 
    if (!videoWindow.opener) 
       videoWindow.opener = self;
}


function mmWindow(page,width,height) {
    
    mm_Window = window.open(page,"mm_Window","width=" + width + ",height=" + height+",left=350,top=50,screenX=350,screenY=50,toolbar=no,menubar=no,location=yes,scrollbars=yes,resizable=yes");
    mm_Window.focus();
 
    if (!mm_Window.opener) 
       mm_Window.opener = self;
}

function newWindow(page,width,height) {
    
    new_Window = window.open(page,"new_Window","width=" + width + ",height=" + height+",left=250,top=50,screenX=250,screenY=50,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
    new_Window.focus();
 
    if (!new_Window.opener) 
       new_Window.opener = self;
}


function newWindowLocation(page,width,height,x,y) {
    
    new_Window_location = window.open(page,"new_Window_location","width=" + width + ",height=" + height+",left=" + x +",top=" + y +",screenX=" + x +",screenY=" + y +",toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no");
    new_Window_location.focus();
 
    if (!new_Window_location.opener) 
       new_Window_location.opener = self;
}

function namedWindow(wname,page,width,height) {
    
    wname = window.open(page,wname,"width=" + width + ",height=" + height+",left=250,top=50,screenX=250,screenY=50,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
    wname.focus();
 
    if (!wname.opener) 
       wname.opener = self;
}


function popUp2(page) {
    
    pop_Window = window.open(page,"pop_Window","width=800,height=600,top=100,left=350,screenX=0,screenY=0,toolbar=no,menubar=no,location=yes,scrollbars=yes,resizable=yes");
    pop_Window.focus();
 
    if (!pop_Window.opener) 
       pop_Window.opener = self;
}

function mmVoid() {;}




