



function openWindow() {
    myWindow = window.open("blank.htm","MainWindow","toolbar=no,location=no,resizable=yes,directories=no,status,menubar=no,scrollbars=yes,left=5,top=10,width=730,height=500");    myWindow.focus();
}


function openWindowSC() {
    myWindow = window.open("bOtherRetreiveData.htm","MainWindow","toolbar=no,location=no,resizable=yes,directories=no,status=no,menubar=no,scrollbars=yes,left=5,top=10,width=725,height=420");
    myWindow.focus();
}

function openWindowSB() {
    myWindow = window.open("bOtherRetreiveData.htm","MainWindow","toolbar=no,location=no,resizable=yes,directories=no,status=no,menubar=no,scrollbars=yes,left=5,top=10,width=725,height=420");
    myWindow.focus();
}
 
 function nw(url,size) {
      wname = "xxxccc";
    attr = "toolbar=1,";
    attr += "location=1,";
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
    attr += "copyhistory=1,";
    attr += "status=0,";
    attr += "menubar=1,";
    attr += "scrollbars=1,";
    attr += "resizable=1,";

     if (size == 1)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 2)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 3)
    {
	attr += "width=580,";
	attr += "height=600";
    }
if (size == 4)
    {
	attr += "width=700,";
	attr += "height=650";
    }
if (size == 5)
    {
	attr += "width=800,";
	attr += "height=600";
    }

    productwindow = open(url,wname,attr);
   productwindow.focus();

    }
    
    
    
     function video(url,size) {
      wname = "video";
    attr = "toolbar=0,";
    attr += "location=0,";
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
    attr += "copyhistory=0,";
    attr += "status=0,";
    attr += "menubar=0,";
    attr += "scrollbars=1,";
    attr += "resizable=1,";

     if (size == 1)
    {
	attr += "width=800,";
	attr += "height=640";
    }

    if (size == 2)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 3)
    {
	attr += "width=580,";
	attr += "height=600";
    }
if (size == 4)
    {
	attr += "width=700,";
	attr += "height=650";
    }

    productwindow = open(url,wname,attr);
   productwindow.focus();

    }



    
 
 function nw2(url,size) {
      wname = "cccxxx";
    attr = "toolbar=1,";
    attr += "location=1,";
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
    attr += "copyhistory=1,";
    attr += "status=0,";
    attr += "menubar=1,";
    attr += "scrollbars=1,";
    attr += "resizable=1,";

     if (size == 1)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 2)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 3)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    productwindow = open(url,wname,attr);
   productwindow.focus();

    }

  
  function open_product (url_addr, name)
  {
      open(url_addr,name)
  }
   

 
  function open_learn()
  {
      open("../../learn/learn.html","learn",menubar="no", scrollbars="yes", resizable="no", width=600, height=500)
  }

  function open_product (url_addr, name)
  {
      open(url_addr,name)
  }
