var locate = window.location
document.rep_id.affiliate_id.value = locate;
var text = document.rep_id.affiliate_id.value;
var ran_unrounded=Math.random()*2;
var ran_number=Math.round(ran_unrounded);

function delineate(str)
{
    var is_protocol_ok=str.indexOf('?');
    if (is_protocol_ok==-1)
    { 
      if (ran_number == 2) 
       {
         return("supabiz");
       }
         else if  (ran_number == 1)
       {
         return("supabiz");
       }
         else
       {
         return("supabiz");
       }

    }
    else
    {
      theleft = str.indexOf("?") + 1 
      theright = str.length 
      switch (str.substring(theleft, theright))
	{
	case "supabiz":
  	return("supabiz");
	break;
	default:
	    return(str.substring(theleft, theright));
	}
       }
    }

