	/*
	 * @author Gustavo Medina
	 */
	var view_term_window = null;
	
	/* 
	 * @param url - Url of the page containing pop-up
	 * @param windowName - Reference to the target parameter from the anchor
	 * @param myHeight - height of the pop-up 
	 * @param myWidth - width of the pop-up
	 */
	function popViewTerms(url, windowName, myHeight, myWidth)
	{
		//If pop-up was never created or closed, created new one, otherwise just set focus to the already created pop-up
		if(view_term_window == null || view_term_window.closed) 
		{
			view_term_window = window.open(url, windowName, 'height='+myHeight+',width='+myWidth+',resizable=false,menubar=no,location=no,toolbar=no,statusbar=false,scrollbars=yes');
			if (window.focus)
			{
				view_term_window.focus()
			}
		}
		else  
		{
			view_term_window.focus();
		}
	}
  
  /* 
   * @param url - Url of the page containing pop-up WITH NO SCROLL BARS
   * @param windowName - Reference to the target parameter from the anchor
   * @param myHeight - height of the pop-up 
   * @param myWidth - width of the pop-up
   */
  function popViewTermsNoSB(url, windowName, myHeight, myWidth)
  {
    //If pop-up was never created or closed, created new one, otherwise just set focus to the already created pop-up
    if(view_term_window == null || view_term_window.closed) 
    {
      view_term_window = window.open(url, windowName, 'height='+myHeight+',width='+myWidth+',resizable=false,menubar=no,location=no,toolbar=no,statusbar=false,scrollbars=no');
      if (window.focus)
      {
        view_term_window.focus()
      }
    }
    else  
    {
      view_term_window.focus();
    }
  }  
