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 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_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}

function flevDivPositionValue(sDiv, sProperty) { // v2.0, 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);
	}
	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.0, Marja Ribbers-de Vroed, FlevOOware
//	adaptive sliding technique inspired by Christian Lamine
	if (flevPersistentLayer.arguments.length < 7) {return;}
	// gather arguments
	var sDivID = arguments[0]; if (sDivID == "") {return;}
	var	docObj = eval("MM_findObj('" + sDivID + "')"); if (docObj == null) {return;}
	var sXLeft = arguments[1], sXCenter = arguments[2], sXRight = arguments[3];
	var sYTop = arguments[4], sYCenter = arguments[5], sYBottom = arguments[6];
	var iSpeed = (arguments.length > 7) ? parseInt(arguments[7]) : 0;
	var iPx = (arguments.length > 8) ? parseInt(arguments[8]) : 0;
	var iTimeout = 10, sSuffix = "";
	// determine current document window size and scroll position
	var iWinWidth, iWinHeight, iScrollX, iScrollY;
	if (window.innerWidth) { // NS4, NS6 and Opera
		iWinWidth = window.innerWidth;
		iWinHeight = window.innerHeight;
		iScrollX = window.pageXOffset;
		iScrollY = window.pageYOffset;
		}
	else if (document.documentElement && document.documentElement.clientWidth) { // IE6 in standards compliant mode
		iWinWidth = document.documentElement.clientWidth; 
		iWinHeight = document.documentElement.clientHeight; 
		iScrollX = document.documentElement.scrollLeft;
		iScrollY = document.documentElement.scrollTop;
		}
	else if (document.body) { // IE4+
		iWinWidth = document.body.clientWidth; 
		iWinHeight = document.body.clientHeight; 
		iScrollX = document.body.scrollLeft;
		iScrollY = document.body.scrollTop;
		}
	else {return;}
	// determine current layer position
	if (!document.layers) {docObj = docObj.style;} // not NS4.x 
	var iCurX = iNewX = parseInt(docObj.left), iCurY = iNewY = parseInt(docObj.top);
	// calculate new X coordinate
	if (sXLeft != "") {iNewX = iScrollX + parseInt(sXLeft);}
	else if (sXCenter != "") {iNewX = Math.round(iScrollX + (iWinWidth/2) - (flevDivPositionValue(sDivID, 'width')/2));}
	else if (sXRight != "") {iNewX = iScrollX + iWinWidth - (flevDivPositionValue(sDivID, 'width') + parseInt(sXRight));}
	// calculate new Y coordinate
	if (sYTop != "") {iNewY = iScrollY + parseInt(sYTop);}
	else if (sYCenter != "") {iNewY = Math.round(iScrollY + (iWinHeight/2) - (flevDivPositionValue(sDivID, 'height')/2));}
	else if (sYBottom != "") {iNewY = iScrollY + (iWinHeight - flevDivPositionValue(sDivID, 'height') - parseInt(sYBottom));}
	// force persistency?
	if ((iCurX != iNewX) || (iCurY != iNewY)) {  // layer position needs to be adjusted
		if (iSpeed > 0) { // animated move
			if (iPx > 0) { // constant speed
				iTimeout = iSpeed;
				var iPxX = iPx, iPxY = iPx, iMoveX = Math.abs(iCurX - iNewX), iMoveY = Math.abs(iCurY - iNewY);
				// take care of diagonal movement
				if (iMoveX < iMoveY) {iPxY = (iMoveX != 0) ? ((iMoveY/iMoveX)*iPx) : iPx;}
				else {iPxX = (iMoveY != 0) ? ((iMoveX/iMoveY)*iPx) : iPx;}
				if (iPxX >= iMoveX) {iPxX = Math.min(Math.ceil(iPxX), iPx);}
				if (iPxY >= iMoveY) {iPxY = Math.min(Math.ceil(iPxY), iPx);}
				// calculate temporary X/Y coordinates
				if ((iCurX < iNewX) && (iCurX + iPxX < iNewX)) {iNewX = iCurX + iPxX;}
				if ((iCurX > iNewX) && (iCurX - iPxX > iNewX)) {iNewX = iCurX - iPxX;}
				if ((iCurY < iNewY) && (iCurY + iPxY < iNewY)) {iNewY = iCurY + iPxY;}
				if ((iCurY > iNewY) && (iCurY - iPxY > iNewY)) {iNewY = iCurY - iPxY;}
			}
			else { // gradually decreasing speed
				var iMoveX = ((iNewX - iCurX) / iSpeed); 
				iMoveX = (iMoveX > 0) ? Math.ceil(iMoveX) : Math.floor(iMoveX);
				iNewX = iCurX + iMoveX; 
				var iMoveY = ((iNewY - iCurY) / iSpeed); 
				iMoveY = (iMoveY > 0) ? Math.ceil(iMoveY) : Math.floor(iMoveY);
				iNewY = iCurY + iMoveY;
			}
		}
		// now actually move layer
		if ((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {sSuffix="px";}
		if (iMoveX != 0) {eval("docObj.left = '" + iNewX + sSuffix + "'");}
		if (iMoveY != 0) {eval("docObj.top = '" + iNewY + sSuffix + "'");}
	}
	var sFunction = "flevPersistentLayer('" + sDivID + "','" + sXLeft + "','" + sXCenter + "','" + sXRight + "','" + sYTop + "','" + sYCenter + "','" + sYBottom + "'," + iSpeed + "," + iPx + ")";
	var tmpTimeout = setTimeout(sFunction,10);
}

function flevInitPersistentLayer() { // v3.0, Marja Ribbers-de Vroed, FlevOOware
	if (arguments.length < 8) {return;}
	// gather arguments
	var sDivID = arguments[0]; if (sDivID == "") {return;}
	var	docObj = eval("MM_findObj('" + sDivID + "')"); if (docObj == null) {return;}
	var iCSS = parseInt(arguments[1]);
	var sXLeft = arguments[2], sXCenter = arguments[3], sXRight = arguments[4];
	var sYTop = arguments[5], sYCenter = arguments[6], sYBottom = arguments[7];
	var iSpeed = (arguments.length > 8) ? parseInt(arguments[8]) : 0;
	var iPx = (arguments.length > 9) ? parseInt(arguments[9]) : 0;
	// Position according to CSS style?
	if (iCSS != 0) { // maintain top/left position specified by CSS style
		if (!document.layers) {docObj = docObj.style;} // not NS4.x 
		sXLeft = parseInt(docObj.left), sYTop = parseInt(docObj.top);
	}
	var sFunction = "flevPersistentLayer('" + sDivID + "','" + sXLeft + "','" + sXCenter + "','" + sXRight + "','" + sYTop + "','" + sYCenter + "','" + sYBottom + "'," + iSpeed + "," + iPx + ")";
	eval(sFunction);
}

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_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

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_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 flevSlideDiv() { // v2.1
	// Copyright 2002, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
	if (arguments.length < 4) {return;}	var aA = arguments, sD = aA[0]; if (sD == "") {return;}
	var	oD = eval("MM_findObj('" + sD + "')"); if (oD == null) {return;}
	var iNX = parseInt(aA[1]), iNY = parseInt(aA[2]), iS = parseInt(aA[3]);
	var iPx = (aA.length > 4) ? parseInt(aA[4]) : 0, iR = (aA.length > 5) ? parseInt(aA[5]) : 0;
	var iT = 10, sS = ""; if (!document.layers) {oD = oD.style;} if (oD.tT != null) {clearTimeout(oD.tT);} 
	var iCX = parseInt(oD.left), iCY = parseInt(oD.top);
	if (iR != 0) { // relative
		if (iR == 1) {iNX = iCX - iNX; iNY = iCY;} // left
		else if (iR == 2) {iNX = iCX + iNX; iNY = iCY;} // right
		else if (iR == 3) {iNY = iCY - iNY; iNX = iCX;} // up
		else {iNY = iCY + iNY; iNX = iCX;}} // down
	var iX = iNX, iY = iNY;	if ((iCX != iNX) || (iCY != iNY)) {
		if (iPx > 0) { iT = iS;
			var iPxX = iPx, iPxY = iPx, iMX = Math.abs(iCX - iNX), iMY = Math.abs(iCY - iNY);
			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);}
			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 sFunction = "flevSlideDiv('" + sD + "'," + iX + "," + iY + "," + iS + "," + iPx + ",0)";
		oD.tT = setTimeout(sFunction,iT);}
}

function flvS3(v1){//v1.2
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;v3=isNaN(parseInt(v7.left))?v2.offsetLeft:parseInt(v7.left);v4=isNaN(parseInt(v7.top))?v4=v2.offsetTop:parseInt(v7.top);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 flvS8(v1,v2,v3){//v1.0
var v4=(document.layers)?v1:v1.style;var v5=flvS5();eval("v4.left='"+v2+v5+"'");eval("v4.top='"+v3+v5+"'");}

function flvS5(){//v1.0
var v1=((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1)&&(!window.opera))?"px":"";return v1;}

function flvXAS1(){
var v1=arguments,v2=v1.length,v3='AutoScrollContainer',v4='AutoScrollContent';var v5=MM_findObj(v3),v6=MM_findObj(v4);if (!v5){return;}if (v5.XAS1!=null){clearTimeout(v5.XAS1);}var v7=(v2>0)?parseInt(v1[0]):1;if (v7){var v8=(v2>1)?parseInt(v1[1]):1,v9=(v2>2)?parseInt(v1[2]):50,v10=(v2>3)?parseInt(v1[3]):1;var v11=new flvS3(v3),v12=new flvS3(v4);var v13=v12.x,v14=v12.y,v15=0,v16=0;if (v10==1){var v17=-1*v12.h;v15=v12.x;if (v14>=v17){v16=v12.y-v8;}else {v16=v11.h;}}else {var v18=-1*v12.w;v16=v12.y;if (v13>=v18){v15=v12.x-v8;}else {v15=v11.w;}}flvS8(v6,v15,v16);v5.XAS1=setTimeout("flvXAS1("+v7+","+v8+","+v9+","+v10+")",v9);}}

function P7_ShowPic(a,b) { //v2.0 by PVII
 var g,gg,d,dd,ic,im;if((g=MM_findObj(b))!=null){
 if(!document.P7ShowPic){document.P7ShowPic=true;}else{
 if((d=MM_findObj(document.P7SPlay))!=null){
  dd=(document.layers)?d:d.style;dd.visibility="hidden";}}
 document.P7SPlay=b;gg=(document.layers)?g:g.style;im=b+"im";
 if((ic=MM_findObj(im))!=null){ic.src=a;gg.visibility="visible";}}
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function P7_Snap() { //v2.63 by PVII
 var x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,tw,q0,xx,yy,w1,pa='px',args=P7_Snap.arguments;a=parseInt(a);
 if(document.layers||window.opera){pa='';}for(k=0;k<(args.length);k+=4){
 if((g=MM_findObj(args[k]))!=null){if((el=MM_findObj(args[k+1]))!=null){
 a=parseInt(args[k+2]);b=parseInt(args[k+3]);x=0;y=0;ox=0;oy=0;p="";tx=1;
 da="document.all['"+args[k]+"']";if(document.getElementById){
 d="document.getElementsByName('"+args[k]+"')[0]";if(!eval(d)){
 d="document.getElementById('"+args[k]+"')";if(!eval(d)){d=da;}}
 }else if(document.all){d=da;}if(document.all||document.getElementById){while(tx==1){
 p+=".offsetParent";if(eval(d+p)){x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop"));
 }else{tx=0;}}ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);tw=x+ox+y+oy;
 if(tw==0||(navigator.appVersion.indexOf("MSIE 4")>-1&&navigator.appVersion.indexOf("Mac")>-1)){
  ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);}else{
  w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
  x=document.body.scrollLeft+event.clientX+bx;y=document.body.scrollTop+event.clientY;}}
 }else if(document.layers){x=g.x;y=g.y;q0=document.layers,dd="";for(var s=0;s<q0.length;s++){
  dd='document.'+q0[s].name;if(eval(dd+'.document.'+args[k])){x+=eval(dd+'.left');y+=eval(dd+'.top');
  break;}}}e=(document.layers)?el:el.style;xx=parseInt(x+ox+a),yy=parseInt(y+oy+b);
 if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){
  xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);}
 e.left=xx+pa;e.top=yy+pa;}}}
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

function flvS3(v1){//v1.2
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;v3=isNaN(parseInt(v7.left))?v2.offsetLeft:parseInt(v7.left);v4=isNaN(parseInt(v7.top))?v4=v2.offsetTop:parseInt(v7.top);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 flvS8(v1,v2,v3){//v1.0
var v4=(document.layers)?v1:v1.style;var v5=flvS5();eval("v4.left='"+v2+v5+"'");eval("v4.top='"+v3+v5+"'");}

function flvS5(){//v1.0
var v1=((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1)&&(!window.opera))?"px":"";return v1;}

function dmxFPLP5(v1,v2){// v1.04
var v3=MM_findObj(v1),v4=window,v5=new flvS7(),v6=new flvS3(v1),v7,v8;this.cx=v6.x;this.cy=v6.y;if (v2){v3.PLP3=v5.w;v3.PLP4=v5.h;if (v3.PLP6==0||v3.PLP6==1){v8=v3.PLP19;}else if (v3.PLP6==2){v8=Math.round((v5.h/2)-(v6.h/2));}else {v8=v5.h-(v6.h+v3.PLP19);}v3.PLP1=v8;if (v3.PLP7==0||v3.PLP7==1){v7=v3.PLP20;}else if (v3.PLP7==2){v7=Math.round((v5.w/2)-(v6.w/2));}else {v7=v5.w-(v6.w+v3.PLP20);}v3.PLP2=v7;this.cx=v7;this.cy=v8;flvS8(v3,v7,v8);}if (v3.PLP17==0){if (v3.PLP13==0||v3.PLP13==2){if (v3.PLP6==0||v3.PLP6==1){v8=v5.y+v3.PLP19;}else if (v3.PLP6==2){v8=Math.round(v5.y+(v5.h/2)-(v6.h/2));}else {v8=v5.y+v5.h-(v6.h+v3.PLP19);}}else {v8=this.cy;}v3.PLP1=v8;if (v3.PLP13==1||v3.PLP13==2){if (v3.PLP7==0||v3.PLP7==1){v7=v5.x+v3.PLP20;}else if (v3.PLP7==2){v7=Math.round(v5.x+(v5.w/2)-(v6.w/2));}else {v7=v5.x+v5.w-(v6.w+v3.PLP20);}}else {v7=this.cx;}v3.PLP2=v7;}else {if (v3.PLP9==1){if (v3.PLP1<v5.y){v8=v5.y+v3.PLP15;}else {var v9=v5.y+v5.h;var v10=v3.PLP1+v6.h+v3.PLP15;if (v10>v9){v8=v9-(v6.h+v3.PLP15);}else {v8=v3.PLP1;}}}else {v8=v3.PLP1;}if (v3.PLP10==1){if (v3.PLP2<v5.x){v7=v5.x+v3.PLP16;}else {var v11=v5.x+v5.w;var v12=v3.PLP2+v6.w+v3.PLP16;if (v12>v11){v7=v11-(v6.w+v3.PLP16);}else {v7=v3.PLP2;}}}else {v7=v3.PLP2;}}this.nx=(v7<v3.PLP20)?v3.PLP20:v7;this.ny=(v8<v3.PLP19)?v3.PLP19:v8;}

function dmxFPLP4(v1){// v1.04
var v2=MM_findObj(v1),v3=(document.layers)?v2:v2.style,v4=new flvS7(),v5=0;if (v2.PLP11!=null){clearTimeout(v2.PLP11);}if (v2.PLP3!=v4.w||v2.PLP4!=v4.h){v5=1;}var v6=new dmxFPLP5(v1,v5),v7=v6.nx,v8=v6.ny;if ((v6.cx!=v7)||(v6.cy!=v8)){if (v2.PLP5>0){if (v2.PLP8>0){var v9=v2.PLP8,v10=v2.PLP8,v11=Math.abs(v6.cx-v7),v12=Math.abs(v6.cy-v8);if (v11<v12){v10=(v11!=0)?((v12/v11)*v2.PLP8):v2.PLP8;}else {v9=(v12!=0)?((v11/v12)*v2.PLP8):v2.PLP8;}if (v9>=v11){v9=Math.min(Math.ceil(v9),v2.PLP8);}if (v10>=v12){v10=Math.min(Math.ceil(v10),v2.PLP8);}if ((v6.cx<v7)&&(v6.cx+v9<v7)){v7=v6.cx+v9;}if ((v6.cx>v7)&&(v6.cx-v9>v7)){v7=v6.cx-v9;}if ((v6.cy<v8)&&(v6.cy+v10<v8)){v8=v6.cy+v10;}if ((v6.cy>v8)&&(v6.cy-v10>v8)){v8=v6.cy-v10;}}else {var v11=((v7-v6.cx)/v2.PLP5),v12=((v8-v6.cy)/v2.PLP5);v11=(v11>0)?Math.ceil(v11):Math.floor(v11);v7=v6.cx+v11;v12=(v12>0)?Math.ceil(v12):Math.floor(v12);v8=v6.cy+v12;}}if (v11!=0||v12!=0){flvS8(v2,v7,v8);}var v13="dmxFPLP4('"+v1+"')";v2.PLP11=setTimeout(v13,10);}}

function dmxFPLP3(){// v1.04
var v1=document;for (i=0;i<v1.PLP12.length;i++){var v2=v1.PLP12[i],v3=MM_findObj(v2);if (v3.PLP14){dmxFPLP4(v2);}}if (!v1.PLP21){var v4="dmxFPLP3()";setTimeout(v4,10);}}

function dmxFPLP1(){// v1.04
// Copyright 2003, 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);if (!v3){return;}if (v7.PLP12==null){v7.PLP12=new Array();v4=true;}for (var v9=0;v9<v7.PLP12.length;v9++){if (v7.PLP12[v9]==v2){v5=true;break;}}if (!v5){v7.PLP12[v7.PLP12.length]=v2;}var v10=(v7.layers)?v3:v3.style;v7.PLP18=navigator.userAgent.toLowerCase().indexOf("mac")!=-1;v3.PLP7=parseInt(v1[1]);if (v3.PLP7==0){v3.PLP20=v8.x;}else {v3.PLP20=parseInt(v1[2]);if (v3.PLP7==3){var v11=v7.PLP18&&v7.getElementById&&!v6.opera&&!v7.all&&navigator.userAgent.toLowerCase().indexOf("safari")<0;v11=v11||(!v7.PLP18&&(!v7.all||(v6.opera&&parseInt(navigator.appVersion))>6));if (v3.PLP20<16&&v11){v3.PLP20=v3.PLP20+16;}}}v3.PLP6=parseInt(v1[3]);if (v3.PLP6==0){v3.PLP19=v8.y;}else {v3.PLP19=parseInt(v1[4]);}v3.PLP5=parseInt(v1[5]);v3.PLP8=parseInt(v1[6]);v3.PLP17=parseInt(v1[7]);if (v3.PLP17==0){v3.PLP13=parseInt(v1[8]);}else if (v3.PLP17==1){v3.PLP10=parseInt(v1[8]);v3.PLP16=parseInt(v1[9]);v3.PLP9=parseInt(v1[10]);v3.PLP15=parseInt(v1[11]);}else {v3.PLP10=0;v3.PLP9=0;}var v12=new dmxFPLP5(v2,1);if (v12.cx!=v12.nx||v12.cy!=v12.ny){flvS8(v3,v12.nx,v12.ny);}v3.PLP14=true;if (v4){v7.PLP21=v7.all&&!v6.opera&&!v7.PLP18;if (v7.PLP21){v6.attachEvent("onresize",dmxFPLP3);v6.attachEvent("onscroll",dmxFPLP3);}}dmxFPLP3();}

