<!--
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_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_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 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 P7_setMM2(){ //v2.0 by PVII
 //set the image over and down name convention
 document.p7TabOver="_over";
 document.p7TabDown="_down";
 var dt=false;if(document.getElementsByTagName){dt=true;}if(document.P7TabBar){return;}
 var i,k=-1,g,x,gg,tl,ts,ti,tm,tt,tsn,tu,el,args=P7_setMM2.arguments;
 P7TabProp=new Array();for(i=0;i<args.length;i++){P7TabProp[i]=args[i];}
 P7TabIM=new Array();P7TabSB=new Array();if(dt){tm=document.getElementsByTagName("IMG");
 }else{tm=document.images;}tm=document.images;tt=new Array();tt=tt.concat(tm);
 if(document.layers){for(i=0;i<document.layers.length;i++){ti=document.layers[i].document.images;
 if(ti){tt=tt.concat(ti);}for(x=0;x<document.layers[i].document.layers.length;x++){
 ti=document.layers[i].document.layers[x].document.images;if(ti){tt=tt.concat(ti);}}}tm=tt;}
 for(i=0;i<tm.length;i++){tl=tm[i].name; if(dt&&!tl){tl=tm[i].id;}
 if(tl.indexOf("p7TBim")==0){ts=tl.replace("p7TBim","");
 tsn="p7TBsub"+ts;k++;P7TabIM[k]=tl;if((g=MM_findObj(tsn))!=null){P7TabSB[k]=tsn;
 gg=(document.layers)?g:g.style;gg.visibility="hidden";}else{P7TabSB[k]='N';}}}
 document.P7_TBswapd=new Array();document.P7_TBswapo=new Array();for(i=0;i<P7TabIM.length;i++){
 g=MM_findObj(P7TabIM[i]);gg=g.src;g.p7TBim=g.src;tu=gg.lastIndexOf(".");
 g.p7TBimo=gg.substring(0,tu)+document.p7TabOver+gg.substring(tu,gg.length);
 g.p7TBimd=gg.substring(0,tu)+document.p7TabDown+gg.substring(tu,gg.length);
 if(P7TabProp[2]>1){document.P7_TBswapo[i]=new Image();document.P7_TBswapo[i].src=g.p7TBimo;}
 if(P7TabProp[2]>0){if(P7TabProp[2]==3){g.p7TBimd=g.p7TBimo;}document.P7_TBswapd[i]=new Image();
 document.P7_TBswapd[i].src=g.p7TBimd;}}if((g=MM_findObj('P7TabH'))!=null){gg=(document.layers)?g:g.style;
 gg.visibility="hidden";}if(dt&&P7TabProp[3]!='none'&&!window.opera){
 g=document.getElementsByTagName("A");for(i=0;i<g.length;i++){if(g[i].hasChildNodes()){el=g[i].firstChild;
 while (el){if(el.nodeType==3){gg=el.nodeValue;if(P7TabProp[3]==gg.replace("\n","")){
 g[i].className=P7TabProp[4];break;}}el=el.firstChild;}}}}document.P7TabBar=true;
}

function actionMenu(order)
{
	var j=order;
	for(i=0; i<9; i++)
	{
		if(i == j)
		{
			nowmenu=document.all['Drop_menu'+i]
			nowmenu.style.display = 'block'
		}
		else
		{
			nowmenu=document.all['Drop_menu'+i]
			nowmenu.style.display = 'none'
		}
	}
}
//-->

function P7_trigMM2(bu){ //v2.0 by PVII
 if(!document.P7TabBar){return;}var i,g,d,dB=-1,tF=false,sF=false;
 for(i=0;i<P7TabSB.length;i++){sF=false;if((g=MM_findObj(P7TabSB[i]))!=null){g=MM_findObj(P7TabSB[i]);
 gg=(document.layers)?g:g.style;sF=true;}d=MM_findObj(P7TabIM[i]);if(P7TabIM[i]==P7TabProp[0]){
 dB=i;}if(P7TabIM[i]==bu){tF=true;if(sF){gg.visibility="visible";}if(P7TabProp[2]>0){
 if(i==dB){d.src=d.p7TBimd;}else if (P7TabProp[2]>1){d.src=d.p7TBimo;}}if((g=MM_findObj('P7TabH'))!=null){
 gg=(document.layers)?g:g.style;gg.visibility="visible";}}else{if(sF){gg.visibility="hidden";}
 if(P7TabProp[2]>0){d.src=d.p7TBim;}}}if(!tF){if(dB>-1){d=MM_findObj(P7TabIM[dB]);
 if((g=MM_findObj(P7TabSB[dB]))!=null&&P7TabProp[1]==0){gg=(document.layers)?g:g.style;
 gg.visibility="visible";}if(P7TabProp[2]>0){d.src=d.p7TBimd;}}
 if((g=MM_findObj('P7TabH'))!=null){gg=(document.layers)?g:g.style;gg.visibility="hidden";}}
}
function P7_ReDoIt() { //v1.21 by PVII
 if(document.layers) {MM_reloadPage(false);}
}
function dmxFLG1(){//v1.07
// Copyright 2003, Marja Ribbers (FlevOOware.nl), George Petrov (DMXzone.com). All rights reserved.
var v1=arguments,v2=v1[0],v3=MM_findObj(v2),v4=document;top.LG9=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);if (!v3||dmxFLG11(v2)){return;}v3.LG27=v1[1];if (!top.LG15){top.LG15=new Array();}if (top.LG15[0]==null){top.LG15[0]=new Array();}if (dmxFLG7(v2,0)==false){top.LG15[0][top.LG15[0].length]=v2;}if (v3.LG27>0){var v5=v1[3];dmxFLG4(v2,v5);}var v6=v1[2];if (v6==1){if (v4.layers){v3.captureEvents(Event.MOUSEOUT,Event.MOUSEOVER);}v3.onmouseout=dmxFLG8;v3.onmouseover=dmxFLG9;v3.LG8=false;}v3.LG16=(v2.indexOf("?")>0)?v2.substring(v2.indexOf("?")+1):"";v3.LG13=v1[4];if (v1.length>19){var v7=(v1.length>22)?v1[22]:null;dmxFLG22(v2,v1[19],v1[20],v1[21],v7);}var v8=new flvS3(v2);if (v3.LG13==2){v3.LG38=v1[5];v3.LG35=v1[6];v3.LG37=v1[7];v3.LG36=v1[8];dmxFLG5(v3);}else {if (v3.LG11==null){v3.LG11=v8.x;v3.LG10=v8.y;}}v3.LG12=v8.w;v3.LG14=v8.h;v3.LG30=v1[9];if (v3.LG30!=0){if ((v3.LG30==1)||(v3.LG30==2)){v3.LG4=v1[10];v3.LG17=v1[11];}if (v3.LG30==1){dmxFLG14(v2,v1[12],v1[13]);}else if (v3.LG30==3){v3.LG1=v1[10];v3.LG2=v1[11];}}if (v1[14]==1){v3.LG32=v1[15]*1000;if (v3.LG2){v3.LG32+=v3.LG2*1000;}else if (v3.LG4){v3.LG32+=1000;}var v9="dmxFLG6('"+v2+"')";v3.LG24=setTimeout(v9,v3.LG32);}v3.LG21=v1[16];if (v3.LG21==2){v3.LG25=v1[17];v3.LG28=v1[18];}else if (v3.LG21==3){v3.LG22=v1[17];v3.LG23=v1[18];}var v10=v3.LG11,v11=v3.LG10;if (v3.LG13==1){var v12=(v3.LG16!="")?eval("parent."+v3.LG16):window,v13=new flvS6(v12);v10+=v13.x;v11+=v13.y;}var v14=(v4.layers)?v3:v3.style;if (v3.LG30==1){var v15=v3.LG20,v16=v3.LG19;if (v3.LG13==1){var v12=(v3.LG16!="")?eval("parent."+v3.LG16):window;var v13=new flvS6(v12);v15+=v13.x;v16+=v13.y;}flvS8(v3,v15,v16);v14.visibility='visible';dmxFLG15(v2,v10,v11,1);}else {flvS8(v3,v10,v11);if (v3.LG30==2){dmxFLG16(v2);}else if (v3.LG30==3){dmxFLG20(v2,v3.LG1,v3.LG2,1);}else {v14.visibility='visible';v3.LG3=1;}}if (window.onLGShow){onLGShow(v2);}}

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 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 flvS6(){//v1.0
var v1=(arguments.length>0)?arguments[0]:window;if (v1.innerWidth){this.x=v1.pageXOffset;this.y=v1.pageYOffset;}else {v1=v1.document;if (v1.documentElement&&v1.documentElement.clientWidth){this.x=v1.documentElement.scrollLeft;this.y=v1.documentElement.scrollTop;}else if (v1.body){this.x=v1.body.scrollLeft;this.y=v1.body.scrollTop;}else {this.x=0;this.y=0;}}}

function dmxFLG7(){//v1.07
var v1=arguments,v2=v1[0],v3=v1[1],v4=false;if (top.LG15&&top.LG15[v3]){for (var v5=0;v5<top.LG15[v3].length;v5++){if (top.LG15[v3][v5]==v2){v4=true;break;}}}return v4;}

function dmxFLG11(){//v1.07
var v1=MM_findObj(arguments[0]);return ((v1.LG3!=null)&&(v1.LG3!=0));}

function dmxFLG3(){//v1.07
if (!top.LG15||(top.LG15.length<1)){return;}for (var v1=0;v1<top.LG15[0].length;v1++){var v2=top.LG15[0][v1],v3=MM_findObj(v2);if (v3&&v3.LG35){if (dmxFLG11(v2)){dmxFLG5(v3);flvS8(v3,v3.LG11,v3.LG10);}}}}

function dmxFLG5(v1){//v1.07
if (!top.LG18){var v2=false;var v3=document,v4=window;if (v3.getElementById&&v3.createElement){if (v4.addEventListener){v4.addEventListener("resize",dmxFLG3,true);}else if (v4.attachEvent){v4.attachEvent("onresize",dmxFLG3);}else {v2=true;}}else {v2=true;}if (v2){var v5=(v4.onresize)?v4.onresize:function (){};v4.onresize=function (){v5();dmxFLG3();};}top.LG18=true;}var v6;if (v1.LG35==1){v6=new flvS4(v1.LG38);}else if (v1.LG35==2){v6=new flvS1(v1.LG38);}else {v6=new flvS3(v1.LG38);}v1.LG34=v6.x;v1.LG33=v6.y;var v7=(v1.LG38.indexOf("?")>0)?v1.LG38.substring(v1.LG38.indexOf("?")+1):"";if (v1.LG16!=v7){var v8=(v1.LG16!="")?eval("parent."+v1.LG16):window,v9=new flvS6(v8);var v10=(v7!="")?eval("parent."+v7):window,v11=new flvS6(v10);v1.LG34=(v1.LG34-v11.x)+v9.x;v1.LG33=(v1.LG33-v11.y)+v9.y;}v1.LG11=v1.LG34+v1.LG37;v1.LG10=v1.LG33+v1.LG36;}

function flvS4(){//v1.1
var v1=arguments,v2=v1[0],v3=v1[1],v4=MM_findObj(v2),v5=v6=0;if (!v4&&document.all){v4=document.all[v2];}if (!v4){this.x=0;this.y=0;return;}var v7=(document.getElementById||document.all),v8=document.layers,v9=v2.indexOf("?"),v10=document,v11=navigator.appVersion;if (v9>-1){v2=v2.substring(0,v9);}if (v8){for (var v12=0;v12<v8.length;v12++){var v13="document."+v8[v12].id;if (eval(v13+".document."+v2)){v5=eval(v13+".left");v6=eval(v13+".top");break;}}}if (v7){v5+=v4.offsetLeft;v6+=v4.offsetTop;while (v4.offsetParent){v4=v4.offsetParent;v5+=v4.offsetLeft;v6+=v4.offsetTop;}}else if (v8){v5+=v4.x;v6+=v4.y;}if (v11.indexOf("MSIE 5")>-1&&v11.indexOf("Mac")>-1){v5+=parseInt(v10.body.leftMargin);v6+=parseInt(v10.body.topMargin);}this.x=v5;this.y=v6;}

//-->
