// JavaScript Document

 		function httpObj() {
 			var http;
			try {
				http=new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					http=new ActiveXObject("Microsoft.XMLHTTP");
				} catch (oc) {
					http=null;
				}
			}
			if(!http && typeof XMLHttpRequest != "undefined") http = new XMLHttpRequest();
			return http;
		}
		
		var lastRequestData;
		function httpRequest( sFunction, lFunction ){
			uri = "/http.php?function=" + sFunction;
			
			args = httpRequest.arguments;
			
			for (i=2; i < args.length; i++){
				uri += "&arg[]=" + args[i];
			}
			
			http = new httpObj();
			http.open('GET', uri, false);
			
			http.onreadystatechange = function() {
				if(( http.readyState == 4 ) && ( lFunction )){
					lastRequestData = http.responseText;
					eval( lFunction + "( http.responseText );" );
					//alert( http.responseText );
				}
			}
			http.send( null );
		}


	function adRates(){
	
		window.open("/adrates/rates_2005.swf",'adrates','status=yes,scrollbars=no,resizable=no,width=700,height=426,screenX=10,screenY=10,top=10,left=10'); 
	
	}

