
<!--
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();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function BW_centerLayers() { //v4.1.1
	if (document.layers || document.all || document.getElementById){
		var winWidth, winHeight, i, horz, vert, width, height, offsetX, offsetY, negX, negY, group, x, y, args;
		args = BW_centerLayers.arguments;
		
		onresize = BW_reload;

				
		winWidth = (document.all)?document.body.clientWidth:window.innerWidth;
		winHeight = (document.all)?document.body.clientHeight:window.innerHeight;
				
		for (i=0; i<(args.length-9); i+=10) {
			horz    = args[i+1];
			vert    = args[i+2];
			width   = parseInt(args[i+3]);
			height  = parseInt(args[i+4]);
			offsetX = parseInt(args[i+5]);
			offsetY = parseInt(args[i+6]);
			negX    = args[i+7];
			negY    = args[i+8];
		
			x = ((winWidth - width)/2) + offsetX;
			y = ((winHeight - height)/2) + offsetY;
						
			x = (negX=='false' && (x < 0))?0:x;
			y = (negY=='false' && (y < 0))?0:y;
				
			layerObj = (document.getElementById)?document.getElementById(args[i]):MM_findObj(args[i]);
			
			if (layerObj!=null) {
				layerObj = (layerObj.style)?layerObj.style:layerObj;
				layerObj.left = (horz=="true")?x:layerObj.left;
				layerObj.top = (vert=="true")?y:layerObj.top;
			}
		}
	}
}

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_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_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 flvS3(v1){//v1.5
var v2=MM_findObj(v1);if (!v2){this.x=this.y=this.h=this.w=0;return;}var v3,v4,v5,v6,v7=(document.layers)?v2:v2.style,v8=document,v9=navigator.appVersion;v3=isNaN(parseInt(v7.left))?v2.offsetLeft:parseInt(v7.left);v4=isNaN(parseInt(v7.top))?v2.offsetTop:parseInt(v7.top);if (v9.indexOf("MSIE 5")>-1&&v9.indexOf("Mac")>-1){if (v2.parentElement.tagName=="BODY"){v3+=parseInt(v8.body.leftMargin);v4+=parseInt(v8.body.topMargin);}}if (v2.offsetHeight){v5=v2.offsetHeight;v6=v2.offsetWidth;}else if (document.layers){v5=v7.clip.height;v6=v7.clip.width;}else {v5=v6=0;}this.x=parseInt(v3);this.y=parseInt(v4);this.h=parseInt(v5);this.w=parseInt(v6);}

function flvS7(){//v1.0
var v1=(arguments.length>0)?arguments[0]:window;if (v1.innerWidth){this.x=v1.pageXOffset;this.y=v1.pageYOffset;this.w=v1.innerWidth;this.h=v1.innerHeight;}else {var v2=document;if (v2.documentElement&&v2.documentElement.clientWidth){var v3=v2.documentElement;this.x=v3.scrollLeft;this.y=v3.scrollTop;this.w=v3.clientWidth;this.h=v3.clientHeight;}else if (v2.body){var v4=v2.body;this.x=v4.scrollLeft;this.y=v4.scrollTop;this.w=v4.clientWidth;this.h=v4.clientHeight;}else {this.x=this.y=this.w=this.h=0;}}}

function dmxFPLP5(v1,v2){//v1.1
var v3=MM_findObj(v1),v4=window,v5=new flvS7(),v6=new flvS3(v1),v7,v8,v9=document,v10=v9.body,v11,v12,v13,v14,v15,v16,v17;this.cx=v6.x;this.cy=v6.y;if (!v9.layers){if (v10.scrollHeight>v10.offsetHeight){v11=v10.scrollWidth;v12=v10.scrollHeight;}else {v11=v10.offsetWidth;v12=v10.offsetHeight;}}if (v2){v3.PLP3=v5.w;v3.PLP4=v5.h;if (v3.PLP7==0||v3.PLP7==1){v8=v3.PLP20;}else if (v3.PLP7==2){v8=Math.round((v5.h/2)-(v6.h/2));}else {v8=v5.h-(v6.h+v3.PLP20);}v3.PLP1=v8;if (v3.PLP8==0||v3.PLP8==1){v7=v3.PLP21;}else if (v3.PLP8==2){v7=Math.round((v5.w/2)-(v6.w/2));}else {v7=v5.w-(v6.w+v3.PLP21);}v3.PLP2=v7;this.cx=v7;this.cy=v8;v17=(document.layers)?v3:v3.style;v17.left=v7+v3.PLP5;v17.top=v8+v3.PLP5;}if (v3.PLP18==0){if (v3.PLP14==0||v3.PLP14==2){if (v3.PLP7==0||v3.PLP7==1){v8=v5.y+v3.PLP20;}else if (v3.PLP7==2){v8=Math.round(v5.y+(v5.h/2)-(v6.h/2));}else {v8=v5.y+v5.h-(v6.h+v3.PLP20);}if (!v9.layers&&(v8+v6.h>v12)){v8=v12-v6.h;}}else {v8=this.cy;}v3.PLP1=v8;if (v3.PLP14==1||v3.PLP14==2){if (v3.PLP8==0||v3.PLP8==1){v7=v5.x+v3.PLP21;}else if (v3.PLP8==2){v7=Math.round(v5.x+(v5.w/2)-(v6.w/2));}else {v7=v5.x+v5.w-(v6.w+v3.PLP21);}if (!v9.layers&&(v7+v6.w>v11)){v7=v11-v6.w;}}else {v7=this.cx;}v3.PLP2=v7;}else {if (v3.PLP10==1){if (v3.PLP1<v5.y){v8=v5.y+v3.PLP16;}else {v13=v5.y+v5.h;v15=v3.PLP1+v6.h+v3.PLP16;if (v15>v13){v8=v13-(v6.h+v3.PLP16);}else {v8=v3.PLP1;}}if (!v9.layers&&(v8+v6.h>v12)){v8=v12-v6.h;}}else {v8=v3.PLP1;}if (v3.PLP11==1){if (v3.PLP2<v5.x){v7=v5.x+v3.PLP17;}else {v14=v5.x+v5.w;v16=v3.PLP2+v6.w+v3.PLP17;if (v16>v14){v7=v14-(v6.w+v3.PLP17);}else {v7=v3.PLP2;}}if (!v9.layers&&(v7+v6.w>v11)){v7=v11-v6.w;}}else {v7=v3.PLP2;}}this.nx=v7;this.ny=v8;}

function dmxFPLP4(v1){//v1.1
var v2=MM_findObj(v1),v3=(document.layers)?v2:v2.style,v4=new flvS7(),v5=0,v6=new flvS3(v1),v7,v8,v9,v10,v11,v12,v13,v14,v3;if (v2.PLP12!=null){clearTimeout(v2.PLP12);}if (v2.PLP3!=v4.w||v2.PLP4!=v4.h){v5=1;}v7=new dmxFPLP5(v1,v5);v8=v7.nx;v9=v7.ny;if ((v7.cx!=v8)||(v7.cy!=v9)){if (v2.PLP6>0){if (v2.PLP9>0){v10=v2.PLP9;v11=v2.PLP9;v12=Math.abs(v7.cx-v8);v13=Math.abs(v7.cy-v9);if (v12<v13){v11=(v12!=0)?((v13/v12)*v2.PLP9):v2.PLP9;}else {v10=(v13!=0)?((v12/v13)*v2.PLP9):v2.PLP9;}if (v10>=v12){v10=Math.min(Math.ceil(v10),v2.PLP9);}if (v11>=v13){v11=Math.min(Math.ceil(v11),v2.PLP9);}if ((v7.cx<v8)&&(v7.cx+v10<v8)){v8=v7.cx+v10;}if ((v7.cx>v8)&&(v7.cx-v10>v8)){v8=v7.cx-v10;}if ((v7.cy<v9)&&(v7.cy+v11<v9)){v9=v7.cy+v11;}if ((v7.cy>v9)&&(v7.cy-v11>v9)){v9=v7.cy-v11;}}else {v12=((v8-v7.cx)/v2.PLP6);v13=((v9-v7.cy)/v2.PLP6);v12=(v12>0)?Math.ceil(v12):Math.floor(v12);v8=v7.cx+v12;v13=(v13>0)?Math.ceil(v13):Math.floor(v13);v9=v7.cy+v13;}}v3=(document.layers)?v2:v2.style;v3.left=v8+v2.PLP5;v3.top=v9+v2.PLP5;v14="dmxFPLP4('"+v1+"')";v2.PLP12=setTimeout(v14,10);}}

function dmxFPLP3(){//v1.1
var v1=document,v2,v3,v4;for (i=0;i<v1.PLP13.length;i++){v2=v1.PLP13[i];v3=MM_findObj(v2);if (v3.PLP15){dmxFPLP4(v2);}}if (!v1.PLP22){v4="dmxFPLP3()";setTimeout(v4,10);}}

function dmxFPLP1(){//v1.1
// Copyright 2003-2004, Marja Ribbers (FlevOOware.nl), George Petrov (DMXzone.com)
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=false,v5=false,v6=window,v7=document,v8=new flvS3(v2),v9,v10,v11,v12=navigator,v13=v12.userAgent,v9;if (v3){if (v7.PLP13==null){v7.PLP13=new Array();v4=true;}for (var v14=0;v14<v7.PLP13.length;v14++){if (v7.PLP13[v14]==v2){v5=true;break;}}if (!v5){v7.PLP13[v7.PLP13.length]=v2;}v9=(v7.layers)?v3:v3.style;v7.PLP19=v13.toLowerCase().indexOf("mac")!=-1;v3.PLP8=parseInt(v1[1]);if (v3.PLP8==0){v3.PLP21=v8.x;}else {v3.PLP21=parseInt(v1[2]);if (v3.PLP8==3){v10=v7.PLP19&&v7.getElementById&&!v6.opera&&!v7.all&&v13.toLowerCase().indexOf("safari")<0;v10=v10||(!v7.PLP19&&(!v7.all||(v6.opera&&parseInt(v12.appVersion))>6));if (v3.PLP21<16&&v10){v3.PLP21=v3.PLP21+16;}}}v3.PLP7=parseInt(v1[3]);if (v3.PLP7==0){v3.PLP20=v8.y;}else {v3.PLP20=parseInt(v1[4]);}v3.PLP6=parseInt(v1[5]);v3.PLP9=parseInt(v1[6]);v3.PLP18=parseInt(v1[7]);if (v3.PLP18==0){v3.PLP14=parseInt(v1[8]);}else if (v3.PLP18==1){v3.PLP11=parseInt(v1[8]);v3.PLP17=parseInt(v1[9]);v3.PLP10=parseInt(v1[10]);v3.PLP16=parseInt(v1[11]);}else {v3.PLP11=0;v3.PLP10=0;}v3.PLP5=(document.layers||window.opera)?"":"px";v11=new dmxFPLP5(v2,1);if (v11.cx!=v11.nx||v11.cy!=v11.ny){v9=(document.layers)?v3:v3.style;v9.left=v11.nx+v3.PLP5;v9.top=v11.ny+v3.PLP5;}v3.PLP15=true;if (v4){v7.PLP22=v7.all&&!v6.opera&&!v7.PLP19;if (v7.PLP22){v6.attachEvent("onresize",dmxFPLP3);v6.attachEvent("onscroll",dmxFPLP3);}}dmxFPLP3();}}

function BW_reload() {location.reload();}

function flevDivPositionValue(sDiv, sProperty) { // v2.1, Marja Ribbers-de Vroed, FlevOOware
	this.opera = (window.opera); // Opera 5+
	this.ns4 = (document.layers); // Netscape 4.x
	this.ns6 = (document.getElementById && !document.all && !this.opera); // Netscape 6+
	this.ie = (document.all);  // Internet Explorer 4+
    var sValue = ""; docObj = eval("MM_findObj('" + sDiv + "')"); if (docObj == null) {return 0;}
	if ((sProperty == "left") || (sProperty == "top")) {
		if (!this.ns4) {docObj = docObj.style;} 
		sValue = eval("docObj." + sProperty);
		if ((this.ie) && (sValue == "")) { // IE (on PC) bug with nested layers
			if (sProperty == "top") { sValue = eval(sDiv + ".offsetTop"); } 
			else { sValue = eval(sDiv + ".offsetLeft"); } 
		};
	}
	else {
		if (this.opera) {
			docObj = docObj.style;
			if (sProperty == "height") { sValue = docObj.pixelHeight; } 
			else if (sProperty == "width") { sValue = docObj.pixelWidth; } 
		}
		else if (this.ns4) {sValue = eval("docObj.clip." + sProperty);} 
		else if (this.ns6) {sValue = document.defaultView.getComputedStyle(docObj, "").getPropertyValue(sProperty); } 
	    else if (this.ie) { 
			if (sProperty == "width") { sValue = eval(sDiv + ".offsetWidth"); } 
			else if (sProperty == "height") { sValue = eval(sDiv + ".offsetHeight"); } 
		}
   	}
	sValue = (sValue == "") ? 0 : sValue; 
	if (isNaN(sValue)) { if (sValue.indexOf('px') > 0) { sValue = sValue.substring(0,sValue.indexOf('px')); } } 
	return parseInt(sValue); 
}

function flevPersistentLayer() { // v3.3, Marja Ribbers-de Vroed, FlevOOware
	var sD = arguments[0], oD = eval("MM_findObj('" + sD + "')"), iWW, iWH, iSX, iSY, iT = 10, sS = "";
	if (!document.layers) {oD = oD.style;}
	if (oD.tmpTimeout != null) {clearTimeout(oD.tmpTimeout);}
	var sXL = arguments[1], sXC = arguments[2], sXR = arguments[3], sYT = arguments[4], sYC = arguments[5], sYB = arguments[6];
	var iS = (arguments.length > 7) ? parseInt(arguments[7]) : 0, iPx = (arguments.length > 8) ? parseInt(arguments[8]) : 0;
	if (window.innerWidth) { // NS4, NS6 and Opera
		var oW = window; iWW = oW.innerWidth; iWH = oW.innerHeight; iSX = oW.pageXOffset; iSY = oW.pageYOffset; }
	else if (document.documentElement && document.documentElement.clientWidth) { // IE6 in standards compliant mode
		var oDE = document.documentElement; iWW = oDE.clientWidth; iWH = oDE.clientHeight; iSX = oDE.scrollLeft; iSY = oDE.scrollTop; }
	else if (document.body) { // IE4+
		var oDB = document.body; iWW = oDB.clientWidth; iWH = oDB.clientHeight; iSX = oDB.scrollLeft; iSY = oDB.scrollTop; }
	else {return;}
	var iCX = iNX = flevDivPositionValue(sD, 'left'), iCY = iNY = flevDivPositionValue(sD, 'top');
	if (sXL != "") {iNX = iSX + parseInt(sXL);} 
	else if (sXC != "") {iNX = Math.round(iSX + (iWW/2) - (flevDivPositionValue(sD, 'width')/2));}
	else if (sXR != "") {iNX = iSX + iWW - (flevDivPositionValue(sD, 'width') + parseInt(sXR));}
	if (sYT != "") {iNY = iSY + parseInt(sYT);}
	else if (sYC != "") {iNY = Math.round(iSY + (iWH/2) - (flevDivPositionValue(sD, 'height')/2));}
	else if (sYB != "") {iNY = iSY + (iWH - flevDivPositionValue(sD, 'height') - parseInt(sYB));}
	if ((iCX != iNX) || (iCY != iNY)) {
		if (iS > 0) {
			if (iPx > 0) { iT = iS;
				var iPxX = iPx, iPxY = iPx, iMX = Math.abs(iCX - iNX), iMY = Math.abs(iCY - iNY);
				// take care of diagonal movement
				if (iMX < iMY) {iPxY = (iMX != 0) ? ((iMY/iMX)*iPx) : iPx;}
				else {iPxX = (iMY != 0) ? ((iMX/iMY)*iPx) : iPx;}
				if (iPxX >= iMX) {iPxX = Math.min(Math.ceil(iPxX), iPx);}
				if (iPxY >= iMY) {iPxY = Math.min(Math.ceil(iPxY), iPx);}
				// temporary X/Y coordinates
				if ((iCX < iNX) && (iCX + iPxX < iNX)) {iNX = iCX + iPxX;}
				if ((iCX > iNX) && (iCX - iPxX > iNX)) {iNX = iCX - iPxX;}
				if ((iCY < iNY) && (iCY + iPxY < iNY)) {iNY = iCY + iPxY;}
				if ((iCY > iNY) && (iCY - iPxY > iNY)) {iNY = iCY - iPxY;} }
			else { 
				var iMX = ((iNX - iCX) / iS), iMY = ((iNY - iCY) / iS); 
				iMX = (iMX > 0) ? Math.ceil(iMX) : Math.floor(iMX); iNX = iCX + iMX; 
				iMY = (iMY > 0) ? Math.ceil(iMY) : Math.floor(iMY); iNY = iCY + iMY; } }
		if ((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {sS="px";}
		if (iMX != 0) {eval("oD.left = '" + iNX + sS + "'");}
		if (iMY != 0) {eval("oD.top = '" + iNY + sS + "'");} }
	var sF = "flevPersistentLayer('" + sD + "','" + sXL + "','" + sXC + "','" + sXR + "','" + sYT + "','" + sYC + "','" + sYB + "'," + iS + "," + iPx + ")";
	oD.tmpTimeout = setTimeout(sF,10);
}

function flevInitPersistentLayer() { // v3.3, Marja Ribbers-de Vroed, FlevOOware
	if (arguments.length < 8) {return;}
	var sD = arguments[0]; if (sD == "") {return;}
	var	oD = eval("MM_findObj('" + sD + "')"); if (!oD) {return;}
	var iCSS = parseInt(arguments[1]);
	var sXL = arguments[2], sXC = arguments[3], sXR = arguments[4], sYT = arguments[5], sYC = arguments[6], sYB = arguments[7];
	var iS = (arguments.length > 8) ? parseInt(arguments[8]) : 0, iPx = (arguments.length > 9) ? parseInt(arguments[9]) : 0;
	if (iCSS != 0) { if (!document.layers) {oD = oD.style;} sXL = parseInt(oD.left), sYT = parseInt(oD.top);}
	var sF = "flevPersistentLayer('" + sD + "','" + sXL + "','" + sXC + "','" + sXR + "','" + sYT + "','" + sYC + "','" + sYB + "'," + iS + "," + iPx + ")";
	eval(sF);
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
