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=600,height=500");    myWindow.focus();
}


function openWindowSB() {
    myWindow = window.open("blank.htm","MainWindow","toolbar=no,location=no,resizable=yes,directories=no,status,menubar=no,scrollbars=yes,left=5,top=10,width=750,height=450");    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 video(url,size) {
      wname = "video";
    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=750,";
	attr += "height=680";
    }

    
    if (size == 999)
    {
	attr += "width=800,";
	attr += "height=750";
    }

    productwindow = open(url,wname,attr);
   productwindow.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=650,";
	attr += "height=600";
    }

    if (size == 3)
    {
	attr += "width=580,";
	attr += "height=600";
    }
  /* for links in introduction page drop down */  
	if (size == 5)
    {
	attr += "width=990,";
	attr += "height=600";
    }

    productwindow = open(url,wname,attr);
   productwindow.focus();

    }
    
    
    
    
function nw4(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 == 20)
    {
	attr += "width=580,";
	attr += "height=400";
    }

    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 nw3(url,size) {
wname = "aaa";
attr = "titlebar=0,";
attr += "location=0,"; 
attr += "copyhistory=1,";
attr += "status=0,";
attr += "menubar=1,";
attr += "scrollbars=1,";
attr += "resizable=1,";
if (size == 1)
{
attr += "top=5,";
attr += "screenY=5,";
attr += "left=5,";
attr += "screenX=5,";
attr += "width=580,";
attr += "height=400";
}
if (size == 2)
{
attr += "top=5,";
attr += "screenY=5,";
attr += "left=5,";
attr += "screenX=5,";
attr += "width=800,";
attr += "height=750";
}
productwindow = open(url,wname,attr);
productwindow.focus();
}




 function nw1(url,size) {
      wname = "ppp";
    attr = "titlebar=0,";
    attr += "location=0,";    
    attr += "copyhistory=1,";
    attr += "status=0,";
    attr += "menubar=0,";
    attr += "scrollbars=1,";
    attr += "resizable=1,";
    
     if (size == 1)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 2)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=580,";
	attr += "height=400";
    }

    if (size == 3)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=880,";
	attr += "height=400";
    }
     if (size == 5)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=280,";
	attr += "height=250";
	}
 	if (size == 6)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=280,";
	attr += "height=350";
	}
	if (size == 7)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=550,";
	attr += "height=300";
	}
	if (size == 8)
    {
    attr += "top=5,";
    attr += "screenY=5,";
    attr += "left=5,";
    attr += "screenX=5,";
	attr += "width=680,";
	attr += "height=500";
	}


    productwindow = open(url,wname,attr);
   productwindow.focus();

    }



function nw4(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 == 20)
    {
	attr += "width=600,";
	attr += "height=600";
    }

    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)
  }

