var mm_ri = String( Math.random() ) + Math.random();
mm_ri = mm_ri.replace(/0\./g,'');

var mm_protocol = location.protocol;
if ( mm_protocol != 'http:' && mm_protocol != 'https:' ){ mm_protocol = 'http:'; }

var mm_params = mm_adv.split( '|' )

var mm_el1 = document.createElement('img');
mm_el1.width = 1;
mm_el1.height = 1;
mm_el1.src =
  mm_protocol +
  '//action.mathtag.com/mm//' +
  mm_params[ 0 ] +
  '//red?nm=RemPages&s0=&s1=&s2=&v0=&v1=&v2=&ri=' +
  mm_ri
;

var mm_el2 = document.createElement('img');
mm_el2.width = 1;
mm_el2.height = 1;
mm_el2.src =
  mm_protocol +
  '//ad.yieldmanager.com/pixel?' +
  mm_params[ 1 ] +
  '&t=2'
;
