//var locatorWindow = '';
//var current_path = '';
function initialize() {
	
   var isIE = navigator.appName.indexOf("Microsoft") != -1;
   flashPlayer = (isIE) ? window['flash'] : document['flash'];

}

function loadFlash(str) { 
	var so = new SWFObject("index.swf", "flash", "100%", "100%", "9", "#b2dce8");
	so.addParam("wmode","transparent");
	so.write("content");
	
}

/*function loadDistributors(){
	//alert("LOADING DISTRIBUTORS" + flashPlayer);
	flashPlayer.loadDistributors();
	window.focus();
}

function loadLocator(str) {
	var path = "locator.html";
		if(str != "")
			path += "?" + str;
		
	if (locatorWindow && !locatorWindow.closed && locatorWindow.location) {

		if(current_path != path){
			
			current_path = path;
			locatorWindow.loadNewLocation(current_path);
		}
	}

	else {
		current_path = path;
		locatorWindow = window.open(path, 'name','toolbar=no,location=no, directories=no,status=no,scrollbars=no,resizable=no,width=800, height=450');
	}
	if (!locatorWindow.opener) locatorWindow.opener = self;
	
	if (window.focus) {locatorWindow.focus()}

	return false;

}*/

