// JavaScript Document
<!--
var $ajax;

function DELAYER( $function, $delay ) {
	setTimeout( $function, $delay );
}

function MODIFIER( $url, $target, $targettype, $parameters ) {
  $ajax = XMLOBJECT();
  
  if( $ajax == null ) {
    alert( 'Browser does not support HTTP Request' );
	
	return;
  }
  
  var $url = $url + $parameters + '&sid=' + Math.random();

  $ajax.onreadystatechange = function() {
    TARGET( $target, $targettype );
  }
  
  $ajax.open( 'GET', $url, true );
  $ajax.send( null );
}

function TARGET( $target, $targettype ) {
  if( $ajax.readyState == 4 || $ajax.readyState == 'complete' ) {
    document.getElementById( $target )[ $targettype ] = $ajax.responseText;
  }
}

function XMLOBJECT() {
  var $ajax = null;
  
  // Works with Firefox, Opera 8.0+, and Safari
  try {
	$ajax = new XMLHttpRequest();
  }
  
  // Optional code for IE 6
  catch( $e ) {
    try {
	  $ajax = new ActiveXObject( 'Msxml2.XMLHTTP' );
	}
	
	// Optional code for IE 5
	catch( $e ) {
	  $ajax = new ActiveXObject( 'Microsoft.XMLHTTP' );
	}
  }
  
  return $ajax;
}
-->