<!--- hide script from old browsers

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  if(document.images){
    if (typeof(daImage) == 'string') {
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function WM_preloadImages() {

  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      document.WM.loadedImages[arg] = new Image();
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function openArticle(fileName) {
	this.name = "main";
	articleWindow = window.open('articlesDetails.cfm?fileName='+fileName,'articleWin','status=no,width=480,height=400,scrollbars=yes,toolbar=no,resizable=yes');
	articleWindow.focus();
}

function openNewsletter(fileName) {
	this.name = "main";
	newsletterWindow = window.open('newslettersDetails.cfm?fileName='+fileName,'newsletterWin','status=no,width=480,height=400,scrollbars=yes,toolbar=no,resizable=yes');
	newsletterWindow.focus();
}

function openWindow(fileName,width,height) {
	sWidth = width;
	sHeight = height;
	this.name = "main";
	extWindow = window.open('http://'+fileName,'extWin','status=no,width=800,height=600,scrollbars=yes,toolbar=yes,resizable=yes');
	extWindow.focus();
}

function printPage(fileName,width,height) {
	sWidth = width;
	sHeight = height;
	this.name = "main";
	extWindow = window.open(fileName,'extWin','status=no,width=' + sWidth + ',height=' + sHeight  + ',scrollbars=yes,toolbar=yes,resizable=yes');
	extWindow.focus();
	print();
}

function openMap(fileName,width,height) {
	sWidth = width;
	sHeight = height;
	this.name = "main";
	extWindow = window.open(fileName,'mapWin','status=no,width=' + sWidth + ',height=' + sHeight  + ',scrollbars=yes,toolbar=yes,resizable=yes');
	extWindow.focus();
}

function openNews(fileName,width,height) {
	sWidth = width;
	sHeight = height;
	this.name = "main";
	extWindow = window.open(fileName,'mapWin','status=no,width=' + sWidth + ',height=' + sHeight  + ',scrollbars=no,toolbar=no,resizable=no');
	extWindow.focus();
}

function openPDF(fileName) {
	this.name = "main";
	extWindow = window.open(fileName,'extWin','status=no,width=480,height=400,scrollbars=yes,toolbar=no,resizable=yes');
	extWindow.focus();
}

function openFeature(fileName,width,height) {
	sWidth = width;
	sHeight = height;
	this.name = "main";
	extWindow = window.open(fileName,'extWin','status=no,width=800,height=600,scrollbars=yes,toolbar=yes,resizable=yes');
	extWindow.focus();
}


 function newwindow(url,name,stuff)
	      {
	        smallwin = window.open(url,name,stuff);
	
	        if (smallwin.focus())
	      	{
	          smallwin.focus();
	      	}
	      }
	
	      function closeandgo(whereto)
	      {
	        window.opener.location.href = whereto;
			window.close();
	      }
		  
		  
//  End -->
