var cacheObj = new Object();


	function kkowfm_request(sid){		
		if( structKeyExists(cacheObj,sid) )		
			details_response(cacheObj[sid]);
		else{									
			var httpParam = new Object();
			httpParam.sid = sid;	
			kkowfm_http( "post" , "kkowfm_generator.cfc?method=getkbzi" , kkowfm_response , httpParam );				
		}
	}		
	function kkowfm_response(obj){ //callback functions always take one argument. This is the result passed back from the server.
		document.getElementById("kkowfm_element").innerHTML = obj;		
	}	
	function structKeyExists(obj,key){
		for(x in obj){
			if(x == key)
			return true;
		}
	return false;	
	}	
	function isDefined(argsVar){
		return (eval('typeof('+argsVar+') != "undefined"'))
	}
	//AUTO DROP DOWN MENU FUNCTIONS
	

		

			


	

	