// opening small window
// calling syntax: javascript:openWindowSz('url to open',width,height,left,top) 

function openWindowSz(WindName,wWdth,wHgt,wLft,wTop)
   {
      newWindow=window.open(WindName, 'PopUp','toolbar=no,location=no,scrollbars=yes,width=' +wWdth +',height=' +wHgt +',left='+ wLft +',top=' +wTop)
   }

// scroll redirection

  function changePage(obj) {
    location.href=obj.url.value;
    }

  function changePageNdx(obj)
  {
    var choice=obj.url.selectedIndex;
    var UrlStr=obj.url.options[choice].value;
    var url_1=UrlStr.substr(0,13);
//    alert(url_1);

    if (UrlStr.length>17)
      {
        var url_2=UrlStr.substr(14,27);
        parent.menu_top.location.href=url_1;
        parent.sub_view.location.href=url_2;
      }
    else
      { 
        var url_2="";
        parent.sub_view.location.href=url_1;
      }
//    parent.sub_view.location.href=obj.url.options[choice].value;
//    parent.menu_top.location.href=test;

  }




