function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

function openAudiencePath(page, path) {
  window.open(page, path,'scrollbars=yes,width=150,height=500,top=0,left=0');
}

function Banner_DoFSCommand(command, args) {
  if(command == "launchFlash") {
    launchFlash();
  }
  else if(command == "launchMap") {
    launchMap();
  }
}

function launchFlash() {
  window.open('../shared/flash.htm','Help','scrollbars=no,width=700,height=340,top=0,left=0');
}

function launchMap() {
  window.open('../shared/map.htm','Map','scrollbars=no,width=500,height=415,top=0,left=0');
}

<!--
// PSA Media Studio Cookie Script
// Author: John Kivus (based loosely on cooke defintion package
//		 	from the O'Reilly JavaScript Book
// Created On: 3-27-01
    

	// The Default Cookie Information
		// Document  - Page
		// Name - Cookie's Title
		// Expiration - when the cookie will expire
	function Cookie(document, name, expiration) {
		this.$document = document;
		this.$name = name;
		var expirationDate = new Date();
		expirationDate.setFullYear(expirationDate.getFullYear() + 1);
		this.$expiration = expirationDate;
	}
	
	// The Write Cookie Method
	function _Cookie_store() {
		var cookieval = "";
		for(var prop in this) {
			if ((prop.charAt(0) == '$') || ((typeof this[prop]) == 'function'))
				continue;
			if(cookieval != "")
				cookieval += '&';
			cookieval += prop + ':' + escape(this[prop]);
		} 
		var cookie = this.$name + '=' + cookieval;
		cookie += '; expires=' + this.$expiration.toGMTString();
		cookie += '; ip' + this.$ip;
		this.$document.cookie = cookie;
	}
	
	// The Load Cookie Method
	function _Cookie_load() {
		var allcookies = this.$document.cookie;
		if (allcookies == "")
			return false;
		var start = allcookies.indexOf(this.$name + '=');
		if (start == -1)
			return false;
		start += this.$name.length + 1;
		var end = allcookies.indexOf(';', start);
		if (end == -1)
			end = allcookies.length;
		var cookieval = allcookies.substring(start, end)
		var a = cookieval.split('&');
		for(var i = 0; i < a.length; i++) {
			this[a[i][0]] = unescape(a[i][1]);
		}
		return true;
	}
	
	// Create a Complete Cookie Object 
	new Cookie();
	Cookie.prototype.store = _Cookie_store;
	Cookie.prototype.load = _Cookie_load;	 
	
	function writeCookie() {
	
	var firstTime = new Cookie(document, "for_flash_movie");	
	
		if (!firstTime.load()) {
		// Launch Flash Movie
			launchFlash();
		// Write the Cookie for the First Time
			firstTime.document = 'index.htm';
			firstTime.name = 'forFlash';
			firstTime.store();
		}
		if(firstTime.load()) {
		}
	}
//-->
