


var WindowObjectReference; 
function openRequestedPopup(url,name)
{
  WindowObjectReference = window.open(url, name,"width=560,height=600,menubar=no,scrollbars=yes,location=no,resizable=no,status=no");
}


function WM_imageSwap(daImage, daSrc){
  var objStr,obj;

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

/* increasing and decreasing text size.
how this works:
1- loop through all of the stylesheets
2 - check if they have a title
3 - check if that title contains "article" (indicates our article stylesheet)
4 - disable all article stylesheets
5 - enable the next size up or down.
6 - exit, enjoy the day.
*/
var sz=11 //default stylesheet
function selectStyleSheet(dir) {
var li; // link items - that is, stylesheets
//make sure we're under limit
if (9<sz+dir&&sz+dir<15){
   for(var i=0; li=document.getElementsByTagName("link")[i]; i++) {
// get stylesheets
     if(li.getAttribute("rel").indexOf("style") != -1 && li.getAttribute("title")) {
      if(li.getAttribute("title").indexOf("style") !=-1) li.disabled = true;
// check if 1 - it's a stylesheet with a title, 2- if it is an article stylesheet, disable it
		if (li.getAttribute("title").indexOf(sz+dir)>-1)li.disabled = false;
// if it's the next in line, enable it
	  }
	 }
//don't forget to increment the size, so we know what's next....
    sz=sz+dir;
   }
  }
  
  
  <!--//hidden

//////////////////////////////////////////////////////
// source: juxtinteractive.com
// description: Flash 3, 4 AND 5 Detection
// Author: anthony@juxtinteractive.com
// credits: netscape communications (client sniff)
// Permission granted to reuse and distribute
// Last Modified: 10-03-00
//////////////////////////////////////////
// Tattoo modified for Flash version 6  30/01/2003
//////////////////////////////////////////


/////////////////////////////////////////
// Convert userAgent string to Lowercase
/////////////////////////////////////////


var agt=navigator.userAgent.toLowerCase();


///////////////////
// Browser Version
///////////////////


var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);

var is_ns  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1));

var is_ie   = (agt.indexOf("msie") != -1);

////////////
// Platform
////////////


var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));
var is_win16 = ((agt.indexOf("win16")!=-1) || (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("windows 16-bit")!=-1) );
var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) || (agt.indexOf("windows 16-bit")!=-1));

var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
var is_win32 = (is_win95 || is_winnt || is_win98 || ((is_major >= 4) && (navigator.platform == "Win32")) || (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

var is_mac= (agt.indexOf("mac")!=-1);


/////////////////////////////////////
// Detect IE 4.5 on the mac
// Mucho Problemos with this browser
/////////////////////////////////////


var is_ie45mac  = (is_mac && is_ie && (agt.indexOf("msie 5.0")==-1) && (agt.indexOf("msie 5.5")==-1) && (agt.indexOf("msie 4.5")!=-1));


//////////////////////////////////////////
// Flash 3, 4 AND 5 Detection
// Last Modified: 10-03-00
// NOT checking for enabledPlugin (buggy)
//////////////////////////////////////////
var is_flash10 = 0;
var is_flash9 = 0;
var is_flash8 = 0;
var is_flash7 = 0;
var is_flash6 = 0;
var is_flash5 = 0;
var is_flash4 = 0;
var is_flash3 = 0;


if (navigator.plugins["Shockwave Flash"]) {

	var plugin_version = 0;
	var plugin_description = navigator.plugins["Shockwave Flash"].description.split(" ");


	for (var i = 0; i < plugin_description.length; ++i) {

	if (isNaN(parseInt(plugin_description[i])))

	continue;

	plugin_version = plugin_description[i];

		}
	}
	if (plugin_version >= 10) {

		is_flash10 = 1;
	} 
	if (plugin_version >= 9) {

		is_flash9 = 1;
	} 
	
	if (plugin_version >= 8) {

		is_flash8 = 1;


	} 
	
	
	
    if (plugin_version >= 7) {

		is_flash7 = 1;


	} 


	if (plugin_version >= 6) {

		is_flash6 = 1;


	} 


	if (plugin_version >= 5) {

		is_flash5 = 1;


	} 


	if (plugin_version >= 4) {

		is_flash4 = 1;


	}	


	if (plugin_version >= 3) {

		is_flash3 = 1;


	}


if (is_ie && is_win32) { // Check IE on windows for flash 3, 4 AND 5 using VB Script

	document.write('<SCRIPT LANGUAGE="VBScript"\>\n');
    document.write('on error resume next\n');
	document.write('is_flash10 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.10")))\n');
	document.write('on error resume next\n');
	document.write('is_flash9 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9")))\n');
    document.write('on error resume next\n');
	document.write('is_flash8 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n');
    document.write('on error resume next\n');
	document.write('is_flash7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7")))\n');
	document.write('on error resume next\n');
	document.write('is_flash6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
	document.write('on error resume next\n');
	document.write('is_flash5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('on error resume next\n');
	document.write('is_flash4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('on error resume next\n');
	document.write('is_flash3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
	document.write('<'+'/SCRIPT> \n');
}


// -->
