EventListener troubles - how to pass string to function?

Hey guys, been cruising the forums and google about this, still confused. I have a series of buttons, which on mouse press need to pass a string to a function. i just dont understand how to do this easily with event listeners


function showLocations(event:MouseEvent):void {
	var state = arguments.caller.state;
	var w = 640;
	var h = 480;
	var jscommand:String = "if (!win || win.closed) { var win = window.open('http://dev.calendarxpress.com.au/locations.php?state="+state+"','Locations','height=480,width=640,toolbar=no,scrollbars=yes,resizable=yes,top='+((screen.height/2)-("+h+"/2))+',left='+((screen.width/2)-("+w+"/2)));} else { win.focus();}";
	var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
	url.method = URLRequestMethod.GET;
	//url.data = vars;
	
	try {
		navigateToURL(url, "_self");
		status_txt.text = "Opening window...";
	} catch (e:Error) {
		status_txt.text = "Error";
	}
	
}

vic_btn.addEventListener(MouseEvent.CLICK, showLocations);
vic.btn.state = 'vic';