<!--
var pageid="";

var isUnix = false;
var isLinux = false;
var isMacintoshPPC = false;
var isMacintosh68K = false;
var isWindows95 = false;
var isWindows98 = false;
var isWindowsNT= false;
var isWindows3x = false;

var isNew = false;
var isIE = false;
var isIE4 = false;
var isIE5 = false;
var isNetscape = false;
var isNetscape4 = false;
var isNetscape6 = false;

var userAgent = navigator.userAgent.toLowerCase();
var appName = navigator.appName;
var appVersion = parseInt(navigator.appVersion);
var platform = (navigator.platform).substring (0, 5);

var isAOL = false;
var mac = false;
var isGecko = false;
var isSafari = false;

// Browser detection
if ( navigator.product == 'Gecko' ) {
	if ( userAgent.indexOf("safari") == -1 ) {
		isGecko = true;
	} else {
		isSafari = true;
	}
}

if (appVersion > 5) isNew = true;
else if (appName == "Netscape") {
  isNetscape = true;
  if (appVersion == 4) isNetscape4 = true;
  else if (appVersion == 5) isNetscape6 = true;
}
else if (appName == "Microsoft Internet Explorer") {
  isIE = true;
  if (appVersion == 4) {
    isIE4 = true;
    if (msieversion() == 5) isIE5 = true;
  }
}

function msieversion() {
  var ua = window.navigator.userAgent
  var msie = ua.indexOf ( "MSIE " )
  if ( msie > 0 ) return parseInt (ua.substring (msie+5, ua.indexOf (".", msie )))
  else return 0;
}

// Platform detection
if ( ( userAgent.indexOf("win95") !=-1) || ( userAgent.indexOf("windows 95") !=-1) ) isWindows95 = true;
if ( ( userAgent.indexOf("win98") !=-1) || ( userAgent.indexOf("windows 98") !=-1) ) isWIndows98 = true;
if ( ( userAgent.indexOf("winnt") !=-1) || ( userAgent.indexOf("windows nt") !=-1) ) isWindowsNT= true;
if ( ( userAgent.indexOf("win16") !=-1) || ( userAgent.indexOf("windows 3.1") !=-1) ) isWindows3x = true;
if ( navigator.appVersion.indexOf("Mac") != -1 ) {
  if ( userAgent.indexOf("pc)") !=-1 ) isMacintoshPPC = true;
  else isMacintosh68K = true;
}
if ( platform == "SunOS" ) isUnix = true;
else if ( platform == "HP-UX" ) isUnix = true;
else if ( platform == "IRIX " ) isUnix = true;
else if ( ( ( navigator.platform ).substring (0, 3) ) == "AIX" ) isUnix = true;
else if ( userAgent.indexOf("linux") != -1 ) isLinux = true;

if(isIE || isIE4 || isIE5) ie=true;
else ie=false;
if(isMacintoshPPC || isMacintosh68K) mac=true;
else mac=false;
if(isWindowsNT) nt=true;
else nt=false;
if(isUnix || isLinux) unix=true;
else unix=false;
if(navigator.appVersion.indexOf("MSIE") != -1 && navigator.appVersion.indexOf("5.5") != -1) ie5_5=true;
else ie5_5=false;

if ((navigator.userAgent.indexOf("AOL 5") != -1) || (navigator.userAgent.indexOf("AOL 6") != -1)) isAOL = true;

var what,show,hide,layerRef,styleSwitch,screenSize;
what = null;

var ie,ns;	//old-version 

function init() {

	//old-version starts
	if (document.all)    { ie=1; ns=0; show='visible'; hide='hidden'; }
	if (document.layers) { ie=0; ns=1; show='show';    hide='hide'; }
	//old-version ends
	
	if (document.layers) {
		//  Running Netscape 4
		layerRef="document.layers";
		styleSwitch="";
		show="show";
		hide='hide';
		screenSize = window.innerWidth;
		what ="ns4";
	}
	else if(document.all) {
		//  Running IE
		layerRef="document.all";
		styleSwitch=".style";
		show="visible";
		hide='hidden';
		screenSize = document.body.clientWidth + 18;
		what ="ie";
	}
	else if(document.getElementById) {
		//  Running Netscape 7
		layerRef="document.getElementByID";
		styleSwitch=".style";
		show="visible";
		hide='hidden';
		what="moz";
	}
	else {
		// Older than 4.0 browser
		what="none";
		newbrowser = false;
	}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function PopUp(url,win,opts) {
	var aa=window.open(url,win,opts);
	aa.focus();
}

function openWindow(winUrl, winName, properties) {
	var launchedToolWidth = 788;
	var lightLaunchedToolWidth = 652;

	if ( mac && isIE ) {
		launchedToolWidth -= 16;
		lightLaunchedToolWidth -= 16;
	}

	switch (properties) {
		case "win_a":
			if (!isAOL) {
				newWindow = window.open(winUrl,winName,"scrollbars,menubar,toolbar,resizable,status=1,HEIGHT=460,WIDTH=" + launchedToolWidth);
				newWindow.focus();
			} else location.href=winUrl;
		break;

		case "win_a_no_toolbar":
			if (!isAOL) {
				newWindow = window.open(winUrl,winName,"scrollbars,resizable,status=1,HEIGHT=460,WIDTH=" + launchedToolWidth);
				newWindow.focus();
			} else location.href=winUrl;
		break;
		
		case "win_b":
			if (!isAOL) {
				newWindow = window.open(winUrl,winName,"scrollbars,status=1,HEIGHT=530,WIDTH=525");
				newWindow.focus();
			} else location.href=winUrl;
			break;
		
		case "win_b_no_scroll":
			if (!isAOL){
				newWindow = window.open(winUrl,winName,"scrollbars,status=1,HEIGHT=470,WIDTH=525");
				newWindow.focus();
			} else location.href=winUrl;
			break;

		case "win_c":
			if (!isAOL) {
				newWindow = window.open(winUrl,winName,"scrollbars,menubar,toolbar,status=1,HEIGHT=460,WIDTH=" + lightLaunchedToolWidth);
				newWindow.focus();
			} else location.href=winUrl;
			break;

		case "win_d":
			if (!isAOL) {
				newWindow = window.open(winUrl,winName,"scrollbars,resizable=no,status=1,HEIGHT=460,WIDTH=" + lightLaunchedToolWidth);
				newWindow.focus();
			} else location.href=winUrl;
			break;

		default:
			if (!isAOL){
				newWindow = window.open(winUrl,winName,properties);
				newWindow.focus();
			} else location.href=winUrl;
			break;
	}

}

//-->
