function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function MM_reloadPage(init) {  //Updated . 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) history.go(0);
}
MM_reloadPage(true);

function P7_limit(a,b){ //v1.1.3 
 document.p7limit=a;document.p7min=b;
 if(document.getElementById&&navigator.appVersion.indexOf("MSIE")>-1&&!window.opera){
 if(window.attachEvent){window.attachEvent("onresize",P7_setMinWidth);
 window.attachEvent("onload",P7_setMinWidth);}else{onload=P7_setMinWidth;
 onresize=P7_setMinWidth;}}}P7_limit('LayerMain',600);
function P7_setMinWidth(){ //v1.1.3 
 var cw,w,pl,pr,ml,mr,br,bl,ad,theDiv=document.p7limit;
 var g=document.getElementById(theDiv);w=parseInt(document.p7min);
 if(g&&document.body&&document.body.clientWidth){gs=g.currentStyle;
 cw=parseInt(document.body.clientWidth);pl=parseInt(gs.paddingLeft);
 pr=parseInt(gs.paddingRight);ml=parseInt(gs.marginLeft);mr=parseInt(gs.marginRight);
 bl=parseInt(gs.borderLeftWidth);br=parseInt(gs.borderRightWidth);ml=ml?ml:0;
 mr=mr?mr:0;pl=pl?pl:0;pr=pr?pr:0;bl=bl?bl:0;br=br?br:0;ad=pl+pr+ml+mr+bl+br;
 if(cw<=w){w-=ad;g.style.width=w+"px";}else{g.style.width="auto";}}
}
function P7_autoShowHide() { //v1.2 by PVII-www.projectseven.com
 var g,b,k,f,ag=arguments,a=parseInt(ag[0]);
 if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
 p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
 b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<ag.length;k++){
 if((g=MM_findObj(ag[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";
 f=false;for(var j=0;j<p7c[a].length;j++){if(ag[k]==p7c[a][j]){f=true;}}
 if(!f){p7c[a][p7c[a].length++]=ag[k];}}}
}


function P7_StyleLoader(tS) { //v1.1 
 var tH='',tDoc='',tA='<LIN'+'K REL="stylesheet" HREF=',tB=' TYPE="text/css">';
 if(document.getElementsByTagName){var bb=document.getElementsByTagName("LINK");
 if(bb) {for(var k=0;k<bb.length;k++){if(bb[k].rel.toLowerCase()=="stylesheet"){
 var h=bb[k].href,x=h.lastIndexOf("/");if(x>0){tH=h.substring(0,x+1);}
 bb[k].disabled=true;tDoc=tA+'"'+ tH + tS + '"' +tB;
 document.write(tDoc);break;}}}}
}
P7_StyleLoader('w3csheet.css');
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 P7_getHW(t,a) { //v2.08 
  var r,p,h=0,w=0;if((p=MM_findObj(a)) !=null){
  if(document.all || document.getElementById){h=parseInt(p.offsetHeight);w=parseInt(p.offsetWidth);
  if(!h){h=parseInt(p.style.pixelHeight);w=parseInt(p.style.pixelWidth);}
  }else if(document.layers){h=parseInt(p.clip.height);w=parseInt(p.clip.width);}}
  if(t=="width"){r=w;}else{r=h;}return r; 
}

function P7_MM1dwt() { //v2.08 
  var g,lh,sw,fr = false;
  if(!document.p7mc)return;
  for(var x=0;x<p7m1.length;x++){tl=p7m1[x].id;lh="P7CM1DWT0"+tl;
	if((g=MM_findObj(lh)) !=null){fr=true;sw=0;break;}
	lh="P7CM1DWT1"+tl;if((g=MM_findObj(lh)) !=null){fr=true;sw=1;break;}}
  if(fr){eval("P7_trigMenuMagic1('"+tl+"',"+sw+")");}
}

function P7_setMenuMagic1() { //v2.08 
  var s,d,g,g2,gg,ww,kx,th,tu,ts,nu,xx,k=0,pa=0;args=P7_setMenuMagic1.arguments;
  if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
  if(navigator.userAgent.indexOf("Opera")>-1){P7OperaW=window.innerWidth;P7OperaH=window.innerHeight;}
  if(!document.p7mc) { p7m3=new Array();
   p7m=new Array();document.p7mc=true;p7ms=new Array();document.P7_imswap=new Array();document.P7_imswapo=new Array();
   p7m1=new Array();p7m2=new Array();p7mprop=new Object();p7mprop.p7offset=args[0];p7mprop.p7rate=args[1];
   p7mprop.p7delay=args[2];p7mprop.p7bottom=args[3];
   if(document.layers){p7mprop.p7pageh = document.height;}}
  for(var x=4;x<args.length;x+=3){if((g=MM_findObj(args[x])) !=null){
    p7m[k]=args[x];g.p7imname=args[x+2];g.p7sub=args[x+1];p7m3[k]=0;
    g2=MM_findObj(args[x+2]);tu=g2.src;ts=tu.lastIndexOf(".");
    nu=tu.substring(0,ts)+"_open"+tu.substring(ts,tu.length);
	nu2=tu.substring(0,ts)+"_over"+tu.substring(ts,tu.length);
    document.P7_imswap[k]=new Image();document.P7_imswap[k].src=nu;
	document.P7_imswapo[k]=new Image();document.P7_imswapo[k].src=nu2;k++;}}
  var lf=0;for (var j=0;j<p7m.length;j++){
   if((g=MM_findObj(p7m[j])) !=null){d=(document.layers)?g:g.style;p7m1[j]=g;g.p7waiting=false;
    if(j==0){lf=parseInt(d.left);th=parseInt(d.top);}
    if(j>0){d.left=(lf+pa);th+=P7_getHW('height',p7m[j-1]);d.top=(th+pa);}
    if((s=MM_findObj(g.p7sub)) !=null){p7m2[j]=s;ww=P7_getHW('width',g.p7sub);
     kx=lf-ww-300;dd=(document.layers)?s:s.style;
     dd.left=(kx+pa);dd.top=(th+pa);p7ms[j]=th;dd.visibility="visible";s.p7open=false;s.p7waiting=false;}}}
  if((g=MM_findObj(p7mprop.p7bottom)) !=null){d=(document.layers)?g:g.style;
   d.left=(lf+parseInt(args[0])+pa);th+=P7_getHW('height',p7m[p7m.length-1]);d.top=(th+pa);}
}
document.p7mm1Q=true;

function P7_BM1(el,x,y,a,b,c,s) { //v2.08 
 var g,elo=el,f="",m=false,d="";x=parseInt(x);y=parseInt(y);
 var t = 'g.p7BM = setTimeout("P7_BM1(\''+elo+'\','; 
 if ((g=MM_findObj(el))!=null) {d=(document.layers)?g:g.style;}else{return;}
 var xx=(parseInt(d.left))?parseInt(d.left):0;
 var yy=(parseInt(d.top))?parseInt(d.top):0;
 var i=parseInt(a);
  if (eval(g.moved)){clearTimeout(g.p7BM);}
  if (xx<x){xx+=i;m=true;if(xx>x){xx=x;}}
  if (xx>x){xx-=i;m=true;if(xx<x){xx=x;}}
  if (yy<y){yy+=i;m=true;if(yy>y){yy=y;}}
  if (yy>y){yy-=i;m=true;if(yy<y){yy=y;}}
 if (m) {
  if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){   
   xx+="px";yy+="px";}d.left=xx;d.top=yy;g.moved=true;eval(t+x+','+y+','+a+','+b+','+c+',0)",'+b+')');
  }else {g.moved=false;P7_wait(elo);}
}

function P7_wait(a) { //v2.08 
  var ma,mb;if((mb=MM_findObj(a)) !=null){
   if(!mb.p7waiting || mb.p7waiting=="none"){return;}
    ma=mb.p7waiting;mb.p7waiting=false;eval(ma);}
}

function P7_trigMenuMagic1(a,sw) { //v2.08 
  var x,g,gg,d,dd,w,lp,tp,im,im2,ts,nu,e,pa=0;if(!document.p7mc)return;
  if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
  if(navigator.userAgent.indexOf("Opera")>-1){if( P7OperaW!=window.innerWidth || P7OperaH!=window.innerHeight)P7_setMenuMagic1();}
  var ofs=parseInt(p7mprop.p7offset),trt = parseInt(p7mprop.p7rate);
  var tdy=parseInt(p7mprop.p7delay),tsb,tlf,tst;for(x=0;x<p7m.length;x++){
  if(p7m[x]==a){d=p7m1[x];dd=(document.layers)?d:d.style;g=p7m2[x];gg=(document.layers)?g:g.style;
   e=MM_findObj(d.p7imname);im=e.src;ts=im.replace("_open","");ts=ts.replace("_over","");
   if(!g.p7open){tst="closed";im2=ts.lastIndexOf(".");
   nu=ts.substring(0,im2)+"_open"+ts.substring(im2,ts.length);ts = nu;}else{tst="open"}break;}}
	if(document.p7mm1Q){trt=4000;document.p7mm1Q=false;}
  for(j=0;j<p7m.length;j++){
   d=p7m1[j];dd=(document.layers)?d:d.style;g=p7m2[j];gg=(document.layers)?g:g.style;
   if(j==0){tlf=parseInt(dd.left);}if(g.p7open){
   w=P7_getHW('width',d.p7sub)+300;w-=parseInt(dd.left);w*=-1;d.p7waiting=false;
   eval("P7_BM1('"+d.p7sub+"',"+w+","+parseInt(gg.top)+","+trt+","+tdy+",0,0)");}
   d.p7waiting=false;g.p7open=false;
   if(parseInt(sw)==1){e=MM_findObj(d.p7imname);im=e.src;im2=im.replace("_open","");e.src=im2;}}
  var tnt=new Array();var df=0,tcd=0,tdl=p7m[0];for(j=0;j<p7m.length;j++){
  d=p7m1[j];dd=(document.layers)?d:d.style;g=p7m2[j];gg=(document.layers)?g:g.style;
  if(j==0){th=parseInt(dd.top);}tnt[j]=th;df=Math.abs(parseInt(dd.top)-th);
  if(df>tcd){tdl=p7m[j];tcd=df;}th+=P7_getHW('height',p7m[j]);
  if(x==j && tst=="closed"){tsb=th;if(p7m3[j]!=1){th+=P7_getHW('height',d.p7sub);}}p7ms[j]=th;}
  if(tst=="closed"){d=p7m1[x];dd=(document.layers)?d:d.style;
   g=p7m2[x];gg=(document.layers)?g:g.style;lp=tlf+ofs;
   gg.top=(tsb+pa);p7ms[x]=tsb;e=MM_findObj(d.p7imname);if(parseInt(sw)==1){e.src=ts;}
   g.p7open=true;if(p7m3[x]!=1){gg.visibility="visible";var r;r=MM_findObj(tdl);		
   r.p7waiting="P7_BM1('"+d.p7sub+"',"+lp+","+tsb+","+trt+","+tdy+",0,0)" ;}
   }else{d=p7m1[p7m1.length-1];d.p7waiting="none";}
  for(j=0;j<p7m.length;j++ ){eval("P7_BM1('"+p7m[j]+"',"+tlf+","+tnt[j]+","+trt+","+tdy+",0,0)");}
  if((g=MM_findObj(p7mprop.p7bottom)) !=null){d=(document.layers)?g:g.style;g.p7waiting=false;
   eval("P7_BM1('"+p7mprop.p7bottom+"',"+(tlf+ofs)+","+th+","+trt+","+tdy+",0,0)");
   th+=(document.layers)?P7_getHW('height',p7mprop.p7bottom):0;}
  if(document.layers){var tw2=document.width;
    if(document.height<th) {document.height=th;document.width=tw2;}}
}
function P7_rollCMenu1(ev,a,b) { //v2.08 
 var e,im,ts,j,nu,g,x,tev=ev.type;
 if(!document.p7mc)return;
 if(tev=="mouseover"){for(x=0;x<p7m.length;x++){
 if(p7m[x]==a){g=p7m2[x];if(parseInt(b)==0 && g.p7open) {break;return;}
 e=MM_findObj(p7m1[x].p7imname);im=e.src;ts=im.replace("_open","");
 ts=ts.replace("_over","");j=ts.lastIndexOf(".");
 e.src=ts.substring(0,j)+"_over"+ts.substring(j,ts.length);break;}}
 }else if(tev=="mouseout"){for(x=0;x<p7m.length;x++){
 if(p7m[x]==a){e=MM_findObj(d=p7m1[x].p7imname);im=e.src;
 g=p7m2[x];ts=im.replace("_open","");ts=ts.replace("_over","");
 if(g.p7open){j=ts.lastIndexOf(".");
 nu=ts.substring(0,j)+"_open"+ts.substring(j,ts.length);
 }else{nu=ts;}e.src=nu;break;}}}
}
function P7_getWD(tDim){ //v2.5 
 var sh=0,sw=0,rt=0;if(window.innerWidth){sh=window.innerHeight;sw=window.innerWidth;
 }else if(document.body){sh=document.body.clientHeight;sw=document.body.clientWidth;
 if(document.body.offsetHeight==sh&&document.documentElement&&document.documentElement.clientHeight){
  sh=document.documentElement.clientHeight;}
 if(document.body.offsetWidth==sw&&document.documentElement&&document.documentElement.clientWidth) {
 sw=document.documentElement.clientWidth;}}rt=(tDim=="width")?sw:sh;return rt;
}

function P7_getLDims(el) { //v2.5 
 var x,ll=0,tl=0,hh=0,ww=0,wx,g,gg;
 if((g=MM_findObj(el))!=null){gg=(document.layers)?g:g.style;ll=parseInt(gg.left);
 tt=parseInt(gg.top);if(isNaN(ll)){if(g.currentStyle){ll=parseInt(g.currentStyle.left);
 }else if(document.defaultView&&document.defaultView.getComputedStyle){
 ll=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("left"));
 }if(isNaN(ll)){ll=0;}}if(isNaN(tt)){if(g.currentStyle){tt=parseInt(g.currentStyle.top);
 }else if(document.defaultView&&document.defaultView.getComputedStyle){
 tt=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("top"));}if(isNaN(ll)){tt=0;}}
 if(document.all||document.getElementById){ww=parseInt(g.offsetWidth);hh=parseInt(g.offsetHeight);
 if(!ww){ww=parseInt(g.style.pixelWidth);if(!ww){ww=parseInt(g.style.width);}}if(!hh){
 hh=parseInt(g.style.pixelHeight);}if(g.hasChildNodes&&g.childNodes){for(x=0;x<g.childNodes.length;x++){
 wx=parseInt(g.childNodes[x].offsetWidth);if(wx>ww){ww=wx;}}}}else if(document.layers){
 ww=parseInt(g.clip.width);hh=parseInt(g.clip.height);}}var aR=[ll,tt,hh,ww];return aR;
}

function P7_alignRR() { //v2.5 
 var i;if(!document.p7alignRR) {return;}if(document.layers){
 if(innerWidth!=document.p7RRiw || innerHeight!=document.p7RRih){location.reload();}
 }else{document.p7RR=1;for(i=0;i<p7aRR.length;i++){eval(p7aRR[i]);}document.p7RR=0;}
}

function P7_alignWD2() { //v2.5 
 var g,gg,lp=0,tp=0,aL,lh,lw,ww,wh,pa='px',args=P7_alignWD2.arguments;if(document.layers||window.opera){pa='';}
 for(var i=0;i<args.length;i+=4){if((g=MM_findObj(args[i]))!=null){gg=(document.layers)?g:g.style;
 mm=parseInt(args[i+1]);mr=parseInt(args[i+2]);ml=parseInt(args[i+3]);ww=parseInt(P7_getWD('width'));
 wh=parseInt(P7_getWD('height'));aL=P7_getLDims(args[i]);lh=aL[2];lw=aL[3];tp=aL[1];lp=aL[0];
 if(mm==1){lp=mr;}if(mm==2){lp=parseInt((ww-lw-mr)/2);if(lp<0){lp=0;}}if(mm==3){lp=ww-lw-mr;if(lp<ml){lp=ml;}}
 if(mm==4){tp=parseInt((wh-lh-mr)/2);if(tp<0){tp=0;}}if(mm==5){tp=parseInt((wh-lh)/2);lp=parseInt((ww-lw)/2);
 if((lp-mr)<=0){lp=mr;}if((tp-ml)<=0){tp=ml;}}if(mm==6){tp=wh-lh-mr;}gg.top=tp+pa;gg.left=lp+pa;
 if(!document.p7alignRR){p7aRR=new Array();document.p7alignRR=true;document.p7RR=0;
 if(document.layers){document.p7RRiw=innerWidth;document.p7RRih=innerHeight;}onresize=P7_alignRR;}
 if(document.p7RR==0){p7aRR[p7aRR.length]="P7_alignWD2('"+args[i]+"',"+mm+","+mr+","+ml+")";}}}
}
function P7_ReDoIt() { //v1.21 
 if(document.layers) {MM_reloadPage(false);}
}


/* 
  ------------------------------------------------
  Tabellen angleichen
  ------------------------------------------------
*/
function P7_colH(){ 
 var i,oh,hh,h=0,dA=document.p7eqc,an=document.p7eqa;if(dA&&dA.length){
 for(i=0;i<dA.length;i++){dA[i].style.height='auto';}for(i=0;i<dA.length;i++){
 oh=dA[i].offsetHeight;h=(oh>h)?oh:h;}for(i=0;i<dA.length;i++){if(an){
 dA[i].style.height=h+'px';}else{P7_eqA(dA[i].id,dA[i].offsetHeight,h);}}if(an){
 for(i=0;i<dA.length;i++){hh=dA[i].offsetHeight;if(hh>h){
 dA[i].style.height=(h-(hh-h))+'px';}}}else{document.p7eqa=1;}
 document.p7eqth=document.body.offsetHeight;
 document.p7eqtw=document.body.offsetWidth;}
}
function P7_eqT(){ 
 if(document.p7eqth!=document.body.offsetHeight||document.p7eqtw!=document.body.offsetWidth){
 P7_colH();}
}
function P7_equalCols(){ 
 if(document.getElementById){document.p7eqc=new Array;for(var i=0;i<arguments.length;i++){
 document.p7eqc[i]=document.getElementById(arguments[i]);}setInterval("P7_eqT()",10);}
}
function P7_eqA(el,h,ht){ //v1.6 
 var sp=10,inc=20,nh=h,g=document.getElementById(el),oh=g.offsetHeight,ch=parseInt(g.style.height);
 ch=(ch)?ch:h;var ad=oh-ch,adT=ht-ad;nh+=inc;nh=(nh>adT)?adT:nh;g.style.height=nh+'px';
 oh=g.offsetHeight;if(oh>ht){nh=(ht-(oh-ht));g.style.height=nh+'px';}
 if(nh<adT){setTimeout("P7_eqA('"+el+"',"+nh+","+ht+")",sp);}
}


/* 

  ================================================
  
	Händlergleiter

  ================================================
 
*/

var p7AB=false;
var p7ABi=false;
function P7_setAB(){
	if(!document.getElementById){
		return;
	}
	var h,tA=navigator.userAgent.toLowerCase();
	if(window.opera){
		if(tA.indexOf("opera 5")>-1 || tA.indexOf("opera 6")>-1){
			return;
		}
	}
	h=String.fromCharCode(60,115,116,121,108,101,32,116,121,112,101,61,34,116,101,120,116,47,99,115,115,34,62,46,112,55,65,66,99,111,110,116,101,110,116,123,100,105,115,112,108,97,121,58,110,111,110,101,59,125,60,47,115,116,121,108,101,62);
	h+='\n'+String.fromCharCode(60,33,45,45,91,105,102,32,108,116,101,32,73,69,32,55,93,62,60,115,116,121,108,101,62,46,112,55,65,66,44,46,112,55,65,66,32,100,105,118,123,122,111,111,109,58,49,48,48,37,59,125,60,47,115,116,121,108,101,62,60,33,91,101,110,100,105,102,93,45,45,62);
	h+='\n'+String.fromCharCode(60,33,45,45,91,105,102,32,108,116,101,32,73,69,32,54,93,62,60,115,116,121,108,101,62,46,112,55,65,66,44,46,112,55,65,66,99,111,110,116,101,110,116,44,46,112,55,65,66,116,114,105,103,32,97,123,104,101,105,103,104,116,58,49,37,59,125,60,47,115,116,121,108,101,62,60,33,91,101,110,100,105,102,93,45,45,62);
	document.write(h);
}
P7_setAB();
function P7_opAB(){
	var x,c,tC,ab,tB;
	if(document.getElementById){
		ab='p7ABW'+arguments[0];
		tB=document.getElementById(ab);
		tB.p7Aba=arguments;
		x=arguments[3];
		if(x>0&&x<11){
			c='p7ABc'+arguments[0]+'_'+x;
			tC=document.getElementById(c);
			if(tC){
				tC.style.display='block';
			}
		}
		if(!p7ABi){
			p7ABi=true;
			if(window.addEventListener){
				window.addEventListener("load",P7_initAB,false);
			}
			else if(document.addEventListener){
				document.addEventListener("load",P7_initAB,false);
			}
			else if(window.attachEvent){
				window.attachEvent("onload",P7_initAB);
			}
			else if(typeof window.onload=='function'){
				var p7loadit=onload;
				window.onload=function(){
					p7loadit();
					P7_initAB();
				};
			}
			else{
				window.onload=P7_initAB;
			}
		}
	}
}
function P7_initAB(){
	var i,j,ab,tB,tD,tA,op,ob,tg;
	if(!document.getElementById){
		return;
	}
	for(i=10;i>0;i--){
		ab='p7ABW'+i;
		tB=document.getElementById(ab);
		if(tB){
			tA=tB.getElementsByTagName("A");
			tg='p7ABt'+i;
			for(j=0;j<tA.length;j++){
				if(tA[j].id && tA[j].id.indexOf(tg)==0){
					tA[j].onclick=function(){
						return P7_ABtrig(this);
					};
					tA[j].p7ABstate=0;
					tA[j].p7ABpr=ab;
				}
			}
			ob=i+'_'+tB.p7Aba[3];
			P7_ABopen(ob);
		}
	}
	p7AB=true;
	P7_ABurl();
	P7_ABauto();
}
function P7_ABopen(s){
	var a,g,d='p7ABt'+s;
	a=document.getElementById(d);
	g=s.split("_");
	if(g&&g.length>1&&g[1]==99){
		a=P7_randAB(g[0]);
	}
	if(g&&g.length>1&&g[1]=='a'){
		P7_ABall(s);
	}
	else{
		if(a&&a.p7ABpr){
			if(a.p7ABstate==0){
				P7_ABtrig(a);
			}
		}
	}
}
function P7_ABclose(s){
	var a,d='p7ABt'+s;
	a=document.getElementById(d);
	if(a&&a.p7ABpr){
		if(a.p7ABstate==1){
			P7_ABtrig(a);
		}
	}
}
function P7_ABclick(s){
	var a,d='p7ABt'+s;
	a=document.getElementById(d);
	if(a&&a.p7ABpr){
		P7_ABtrig(a);
	}
}
function P7_randAB(r){
	var i,k,j=0,d,dd,tA,a,rD=new Array();
	dd='p7ABW'+r;
	d=document.getElementById(dd);
	if(d){
		tA=d.getElementsByTagName("A");
		for(i=0;i<tA.length;i++){
			if(tA[i].p7ABpr && tA[i].p7ABpr==dd){
				rD[j]=tA[i].id;
				j++;
			}
		}
		if(j>0){
			k=Math.floor(Math.random()*j);
			a=document.getElementById(rD[k]);
		}
	}
	return a;
}
function P7_ABall(s){
	var i,m,d,dd,st,et,tA,g=s.split("_");
	if(g&&g.length==2){
		st=parseInt(g[0]);
		if(st){
			et=st+1;
		}
		else{
			st=1;
			et=11;
		}
		m=p7AB;
		p7AB=false;
		for(i=st;i<et;i++){
			dd='p7ABW'+i;
			d=document.getElementById(dd);
			if(d){
				tA=d.getElementsByTagName("A");
				for(j=0;j<tA.length;j++){
					if(tA[j].p7ABpr && tA[j].p7ABpr==dd){
						if(g[1]=='a' && tA[j].p7ABstate==0){
							P7_ABtrig(tA[j]);
						}
						else if(g[1]=='c' && tA[j].p7ABstate==1){
							P7_ABtrig(tA[j]);
						}
					}
				}
			}
		}
		p7AB=m;
	}
}
function P7_ABurl(){
	var i,h,s,x,d='pab';
	if(document.getElementById){
		h=document.location.search;
		if(h){
			h=h.replace('?','');
			s=h.split(/[=&]/g);
			if(s&&s.length){
				for(i=0;i<s.length;i+=2){
					if(s[i]==d){
						x=s[i+1];
						if(x){
							P7_ABopen(x);
						}
					}
				}
			}
		}
		h=document.location.hash;
		if(h){
			x=h.substring(1,h.length);
			if(x && x.indexOf("pab")==0){
				P7_ABopen(x.substring(3));
			}
		}
	}
}
function P7_ABtrig(a){
	var i,j=null,op,pD,ad,aT,m=true,cp='p7ABc'+a.p7ABpr.substring(a.p7ABpr.length-1);
	var iD=a.id.replace('t','c'),tD=document.getElementById(iD);
	if(tD){
		m=false;
		pD=document.getElementById(a.p7ABpr);
		op=pD.p7Aba;
		if(op[4]==1&&op[1]==1&&a.p7ABstate==1){
			return m;
		}
		tD=pD.getElementsByTagName("DIV");
		for(i=0;i<tD.length;i++){
			if( tD[i].id && tD[i].id.indexOf(cp)>-1 ){
				if(tD[i].id==iD){
					j=i;
					if( a.className=="p7ABtrig_down"){
						a.p7ABstate=0;
						a.className='';
						P7_ABhide(tD[j],op);
					}
					else{
						a.p7ABstate=1;
						a.className="p7ABtrig_down";
						P7_ABshow(tD[j],op);
					}
				}
				else{
					if(op[1]==1){
						ad=tD[i].id.replace('c','t');
						aT=document.getElementById(ad);
						aT.className='';
						aT.p7ABstate=0;
						P7_ABhide(tD[i],op);
					}
				}
			}
		}
	}
	P7_checkEQH();
	return m;
}
function P7_checkEQH(){
	if(typeof(P7_colH2)=='function'){
		P7_colH2();
	}
	if(typeof(P7_colH)=='function'){
		P7_colH();
	}
}
function P7_ABshow(d,op){
	var h,wd,wP,isIE5=(navigator.appVersion.indexOf("MSIE 5")>-1);
	if(p7AB&&op[2]==3){
		d.style.display='block';
		P7_ABfadeIn(d.id,0);
	}
	else if( (p7AB&&op[2]==1||p7AB&&op[2]==2) && !isIE5 ){
		wd=d.id.replace("c","w");
		wP=document.getElementById(wd);
		if(P7_hasOverflow(d)||P7_hasOverflow(wP)){
			d.style.display='block';
			return;
		}
		wP.style.overflow="hidden";
		wP.style.height="1px";
		d.style.display='block';
		h=d.offsetHeight;
		P7_ABglide(wd,1,h,op[2]);
	}
	else{
		d.style.display='block';
	}
}
function P7_ABhide(d,op){
	var h,wd,wP,isIE5=(navigator.appVersion.indexOf("MSIE 5")>-1);
	if((p7AB&&op[2]==1||p7AB&&op[2]==2)&&!isIE5){
		wd=d.id.replace("c","w");
		wP=document.getElementById(wd);
		if(d.style.display!="none"){
			if(P7_hasOverflow(d)||P7_hasOverflow(wP)){
				d.style.display='none';
				return;
			}
			h=wP.offsetHeight;
			wP.style.overflow="hidden";
			P7_ABglide(wd,h,0,op[2]);
		}
	}
	else{
		d.style.display='none';
	}
}
function P7_hasOverflow(ob){
	var s,m;
	if(navigator.userAgent.toLowerCase().indexOf('gecko')>-1){
		s=ob.style.overflow;
		if(!s){
			if(ob.currentStyle){
				s=ob.currentStyle.overflow;
			}
			else if(document.defaultView.getComputedStyle(ob,"")){
				s=document.defaultView.getComputedStyle(ob,"").getPropertyValue("overflow");
			}
		}
	}
	m=(s&&s=='auto')?true:false;
	return m;
}
function P7_ABfadeIn(id,op){
	var d=document.getElementById(id);
	op+=.05;
	op=(op>=1)?1:op;
	if((navigator.appVersion.indexOf("MSIE")>-1)){
		d.style.filter='alpha(opacity='+op*100+')';
	}
	else{
		d.style.opacity=op;
	}
	if(op<1){
		setTimeout("P7_ABfadeIn('"+id+"',"+op+")",40);
	}
}
function P7_ABglide(dd,ch,th,p){
	var w,m,d,wd,wC,tt,dy=10,inc=10,pc=.15;
	d=document.getElementById(dd);
	m=(ch<=th)?0:1;
	if(p==1){
		tt=Math.abs( parseInt( Math.abs(th)-Math.abs(ch) ) );
		inc=(tt*pc<1)?1:tt*pc;
	}
	inc=(m==1)?inc*-1:inc;
	d.style.height=ch+"px";
	if(ch==th){
		if(th==0){
			wd=d.id.replace("w","c");
			wC=document.getElementById(wd);
			wC.style.display="none";
			d.style.height="auto";
		}
		else{
			d.style.height="auto";
		}
		P7_checkEQH();
	}
	else{
		ch+=inc;
		if(m==0){
			ch=(ch>=th)?th:ch;
		}
		else{
			ch=(ch<=th)?th:ch;
		}
		if(d.p7abG){
			clearTimeout(d.p7abG);
		}
		d.p7abG=setTimeout("P7_ABglide('"+dd+"',"+ch+","+th+","+p+")",dy);
	}
}
function P7_ABauto(){
	var i,k,ab,tB,wH,tr,pp;
	wH=window.location.href;
	for(k=1;k<11;k++){
		tr=null;
		ab='p7ABW'+k;
		tB=document.getElementById(ab);
		if(tB&&tB.p7Aba[5]&&tB.p7Aba[5]==1){
			tA=tB.getElementsByTagName('A');
			if(tA){
				for(i=0;i<tA.length;i++){
					if(tA[i].href==wH){
						if(tA[i].p7ABpr){
							tr=tA[i].id.replace('p7ABt','');
							break;
						}
						else{
							tA[i].className="p7ap_currentmark";
							pp=tA[i].parentNode;
							while(pp){
								if(pp.id&&pp.id.indexOf('p7ABc')==0){
									tr=pp.id.replace('p7ABc','');
									break;
								}
								pp=pp.parentNode;
							}
							break;
						}
					}
				}
				if(tr){
					P7_ABopen(tr);
				}
				else{
					if(typeof(p7ABcm)!='undefined'&&p7ABcm.length){
						for(i=0;i<p7ABcm.length;i++){
							if(p7ABcm[i]&&p7ABcm[i].length>0){
								if(k==p7ABcm[i].charAt(0)){
									P7_ABopen(p7ABcm[i]);
								}
							}
						}
					}
				}
			}
		}
	}
}

/* 

  ================================================
  
	Händlerscroller
	
  ================================================
  
 */

var p7VSCi=false,p7VSCctl=[],p7vscobj,p7vscofY,p7vscuA=navigator.userAgent.toLowerCase();
function P7_setVSC(){
	var h;
	if(!document.getElementById){
		return;
	}
	h='\n<st'+'yle type="text/css">\n';
	h+='.p7VSC_scrollbox {overflow:hidden;}\n';
	h+='.p7VSC_scrolling {position:absolute;}\n';
	h+='.p7VSCdragchannel, .p7VSCtoolbar{display: block !important;}\n';
	h+='</s'+'tyle>';
	document.write(h);
}
function P7_VSCaddLoad(){
	if(!document.getElementById){
		return;
	}
	if(window.addEventListener){
		window.addEventListener("load",P7_initVSC,false);
	}
	else if(window.attachEvent){
		window.attachEvent("onload",P7_initVSC);
	}
	else if(typeof window.onload=='function'){
		var p7vloadit=onload;
		window.onload=function(){
			p7vloadit();
			P7_initVSC();
		};
	}
	else{
		window.onload=P7_initVSC;
	}
	p7VSCi=true;
}
P7_setVSC();
function P7_opVSC(){
	var h='',hh,b,cn;
	if(!document.getElementById){
		return;
	}
	p7VSCctl[p7VSCctl.length]=arguments;
	hh=arguments[6];
	b=arguments[0];
	cn=b.replace("b","cn");
	h='\n<st'+'yle type="text/css">\n';
	h+='#'+b+'{height:'+hh+'px;}\n';
	h+='#'+cn+'{height:'+hh+'px;}\n';
	h+='</s'+'tyle>';
	document.write(h);
	if(!p7VSCi){
		P7_VSCaddLoad();
	}
}
function P7_initVSC(){
	var i,j,tB,d,sD,t,oh,dB,pp,dD,h,sf;
	for(i=0;i<p7VSCctl.length;i++){
		tB=document.getElementById(p7VSCctl[i][0]);
		if(tB){
			tB.p7opt=p7VSCctl[i];
			tB.p7acdv='';
			tB.p7dragbar=false;
			tB.p7resume='no';
			tB.p7status='none';
			tB.p7box=tB.id;
			d=tB.id.replace('b','d')+'_c'+tB.p7opt[8];
			sD=document.getElementById(d);
			if(sD){
				t=tB.p7opt[9];
				sD.style.top=t+'px';
				tB.p7acdv=d;
				if(t<tB.offsetHeight*-1){
					tB.p7dir='down';
				}
				else{
					tB.p7dir='up';
				}
				oh=tB.p7opt[6];
				d=tB.id.replace("b","dc");
				dB=document.getElementById(d);
				if(dB){
					pp=dB.parentNode.childNodes;
					for(j=0;j<pp.length;j++){
						if(pp[j].nodeName=='DIV'&&pp[j]!=dB){
							h=pp[j].offsetHeight;
							if(!h||h===0){
								if(p7vscuA.indexOf("applewebkit")>-1){
									sf=P7_fixSafDB(tB);
								}
								h=parseInt(P7_getPropValue(pp[j].getElementsByTagName("A")[0],'height','height'),10);
							}
							h=(h>0)?h:0;
							oh-=h;
						}
					}
					dB.style.height=oh+"px";
					if(sf){
						sf.style.display="none";
					}
				}
				if(tB.p7opt[7]==1){
					tB.onmouseover=function(){
						if(this.p7status=='moving'){
							this.p7resume='yes';
						}
						P7_VSCpause(this,1);
					};
					tB.onmouseout=function(){
						if(this.p7resume=='yes'){
							P7_VSCplay(this,1);
						}
					};
				}
				dD=getBoxChild(tB.id,"a",true);
				if(dD){
					dD.p7status='show';
					dD.onclick=function(){
						return P7_VSCshowall(this);
					};
				}
				dD=getBoxChild(tB.id,"db",true);
				dD=getBoxChild(tB.id,"dc",true);
				if(dD){
					dDa=dD.getElementsByTagName("A")[0];
					tB.p7dragbar=d;
					tB.p7dragbar=d;
					if(tB.p7opt[14]===1){
						dDa.removeAttribute("href");
					}
					else{
						dDa.onmousedown=P7_VSCeng;
						dDa.onkeydown=P7_VSCkey;
						dDa.onkeyup=P7_VSCkeyup;
						dD.onmousedown=P7_VSCeng;
					}
					P7VSCsetDrag(tB);
				}
				dD=getBoxChild(tB.id,"du",true);
				if(dD){
					dD.onmousedown=function(){
						P7_VSCmoveUp(this);
					};
					dD.onmouseup=function(){
						P7_VSCpause(this);
					};
					dD.onkeydown=P7_VSCkey;
					dD.onkeyup=P7_VSCkeyup;
				}
				dD=getBoxChild(tB.id,"dd",true);
				if(dD){
					dD.onmousedown=function(){
						P7_VSCmoveDown(this);
					};
					dD.onmouseup=function(){
						P7_VSCpause(this);
					};
					dD.onkeydown=P7_VSCkey;
					dD.onkeyup=P7_VSCkeyup;
				}
				dD=getBoxChild(tB.id,"bu",true);
				if(dD){
					dD.onmousedown=function(){
						P7_VSCmoveUp(this);
					};
					dD.onkeydown=P7_VSCkey;
					if(tB.p7opt[3]<3){
						dD.onmouseup=function(){
							P7_VSCpause(this);
						};
						dD.onkeyup=P7_VSCkeyup;
					}
				}
				dD=getBoxChild(tB.id,"bd",true);
				if(dD){
					dD.onmousedown=function(){
						P7_VSCmoveDown(this);
					};
					dD.onkeydown=P7_VSCkey;
					if(tB.p7opt[3]<3){
						dD.onmouseup=function(){
							P7_VSCpause(this);
						};
						dD.onkeyup=P7_VSCkeyup;
					}
				}
				dD=getBoxChild(tB.id,"bpp",true);
				if(dD){
					dD.onmousedown=function(){
						P7_VSCpp(this);
					};
					dD.onkeydown=P7_VSCppkey;
				}
				tB.accum=0;
				tB.autostarting=false;
				tB.p7vscMode='manual';
				if(tB.p7opt[10]==1){
					tB.p7vscMode='auto';
					tB.p7status='moving';
					tB.p7VSCtimer=setTimeout("P7_VSCplay('"+tB.id+"')",tB.p7opt[11]);
				}
			}
		}
	}
	P7_VSCaddEvts();
}
function getBoxChild(bx,rp,fl){
	var d,ret;
	d=bx.replace("b",rp);
	ret=document.getElementById(d);
	if(ret&&fl){
		ret.p7box=bx;
	}
	return ret;
}
function P7_VSCaddEvts(){
	if(window.addEventListener){
		document.addEventListener("mousemove",P7_VSCdrg,false);
		document.addEventListener("mouseup",P7_VSCrel,false);
		document.addEventListener("DOMMouseScroll",P7_VSCwheel,false);
		if(window.opera || p7vscuA.indexOf("applewebkit")>-1){
			document.addEventListener("mousewheel",P7_VSCwheel,false);
		}
	}
	else if(window.attachEvent){
		document.attachEvent("onmousemove",P7_VSCdrg);
		document.attachEvent("onmouseup",P7_VSCrel);
		document.attachEvent("onmousewheel",P7_VSCwheel);
	}
	else{
		document.onmousemove=P7_VSCdrg;
		document.onmouseup=P7_VSCrel;
	}
}
function P7_VSCshowall(a){
	var b,tB,tD,tC,tT,mv;
	b=a.p7box;
	tB=document.getElementById(b);
	tD=document.getElementById(tB.p7acdv);
	tC=getBoxChild(tB.id,"cn");
	tT=getBoxChild(tB.id,"tb");
	mv=tB.p7status;
	if(a.p7status=="show"){
		P7_VSCpause(b);
		tB.p7restore=mv;
		a.p7status="restore";
		a.innerHTML="Restore Scroller";
		a.setAttribute("title","Restore Scroller");
		tB.style.height="auto";
		tD.style.position="static";
		if(tC){
			tC.style.visibility="hidden";
		}
		if(tT){
			tT.style.visibility="hidden";
		}
	}
	else{
		a.p7status="show";
		a.innerHTML="Alle anzeigen";
		a.setAttribute("title","Alle anzeigen Scroller Content");
		tB.style.height=tB.p7opt[6]+"px";
		tD.style.position="absolute";
		if(tC){
			tC.style.visibility="visible";
		}
		if(tT){
			tT.style.visibility="visible";
		}
		if(tB.p7restore=='moving'){
			P7_VSCplay(tB);
		}
	}
	return false;
}
function P7_VSCplay(b,ov){
	var tB,tS,t,ct,bh,sh,dy;
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	tB=document.getElementById(b);
	tB.p7vscMode='auto';
	P7_VSCpause(b,ov);
	tS=document.getElementById(tB.p7acdv);
	bh=tB.offsetHeight;
	sh=tS.offsetHeight;
	t=bh-sh;
	dy=tB.p7opt[2];
	if(t>=0){
		return;
	}
	ct=parseInt(tS.style.top,10);
	if(ct==t){
		if(tB.p7opt[3]===0 || tB.p7opt[3]==3){
			ct=0;
			P7_VSCmoveTo(tB.p7box,ct);
			dy=(tB.p7opt[3]==3)?tB.p7opt[13]:1000;
		}
	}
	t=(tB.p7dir=='up')?t:0;
	if(tB.p7opt[3]==2){
		t=t-bh;
		if(ct<t){
			ct=bh;
		}
		else if(ct>bh){
			ct=bh;
		}
		tS.style.top=ct+"px";
		tB.p7dir='up';
	}
	if(tB.p7opt[3]>2){
		var m=true;
		var x=tB.p7opt[12];
		while (m){
			if(ct>x){
				m=false;
				if(tB.p7dir=='up'){
					tB.accum=(x+tB.p7opt[12])-ct;
				}
				else{
					tB.accum=ct - x;
				}
			}
			if(x<=(tB.offsetHeight-tS.offsetHeight)){
				m=false;
			}
			x-=tB.p7opt[12];
		}
	}
	P7_VSCspp(b,'play');
	if(tB.p7VSCtimer){
		clearTimeout(tB.p7VSCtimer);
	}
	tB.p7VSCtimer=setTimeout("P7_VSCscroll('"+tB.id+"',"+ct+","+t+","+false+")",dy);
}
function P7_VSCpp(b){
	var a,cl;
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	a=getBoxChild(b,"bpp");
	cl=a.className;
	if(a.className=='pause'){
		a.className='play';
		P7_VSCpause(b);
	}
	else{
		a.className='pause';
		P7_VSCplay(b);
	}
}
function P7_VSCspp(b,m){
	var a=getBoxChild(b,"bpp");
	if(a&&a.className&&a.className==m){
		a.className=(m=='play')?'pause':'play';
	}
}
function P7_VSCpause(b,ov){
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	var dB=document.getElementById(b);
	if(dB.p7VSCtimer){
		clearTimeout(dB.p7VSCtimer);
		dB.p7status='stopped';
	}
	if(ov!=1){
		dB.p7resume='no';
	}
	P7_VSCspp(b,'pause');
}
function P7_VSCctrl(op,b,y){
	if(op=='pause'){
		P7_VSCpause(b);
	}
	else if(op=='play'){
		P7_VSCplay(b);
	}
	else if(op=='scrollUp'){
		P7_VSCmoveUp(b);
	}
	else if(op=='scrollDown'){
		P7_VSCmoveDown(b);
	}
	else if(op=='panelUp'){
		P7_VSCmoveBy(b,'up');
	}
	else if(op=='panelDown'){
		P7_VSCmoveBy(b,'down');
	}
	else if(y&&op=='moveBy'){
		P7_VSCmoveBy(b,y);
	}
	else if(y&&op=='goTo'){
		P7_VSCmoveTo(b,y);
	}
	else if(op=='goToElement'){
		P7_VSCmovetoId(b);
	}
}
function P7_VSCmovetoId(d){
	var tB,tS,ct,tD,pp,tt,y=0,m=false,bx;
	pp=document.getElementById(d);
	while(pp){
		y+=pp.offsetTop;
		if(pp.className&&pp.className=='p7VSC_scrolling'){
			m=true;
			break;
		}
		pp=pp.offsetParent;
	}
	if(m){
		tB=pp.parentNode;
		tS=document.getElementById(tB.p7acdv);
		ct=parseInt(tS.style.top,10);
		tt=ct-y;
		P7_VSCmoveTo(tB.id,tt);
	}
}
function P7_VSCwheel(evt){
	var g,m=false,r=true,delta=0,s,tS;
	evt=(evt)?evt:event;
	g=(evt.target)?evt.target:evt.srcElement;
	while(g){
		if(g.id&&g.id.indexOf("p7VSCb_")>-1){
			m=true;
			break;
		}
		g=g.parentNode;
	}
	if(m){
		tS=document.getElementById(g.p7acdv);
		if(tS.offsetHeight>g.offsetHeight){
			r=false;
			if(evt.wheelDelta){
				delta=evt.wheelDelta/120;
				if(window.opera&&parseFloat(navigator.appVersion)<9.20){
					delta=delta*-1;
				}
			}
			else if(evt.detail){
				delta= -evt.detail/3;
			}
			s=delta*16;
			P7_VSCmoveBy(g.id,s);
			if(evt.preventDefault){
				evt.preventDefault();
			}
		}
	}
	return r;
}
function P7_VSCmoveBy(b,y){
	var tS,t,tB,rr;
	tB=document.getElementById(b);
	if(tB.p7status!="stopped"){
		P7_VSCpause(b);
	}
	tS=document.getElementById(tB.p7acdv);
	rr=tB.offsetHeight-tS.offsetHeight;
	if(rr>=0){
		return;
	}
	if(y=='down'){
		y=tB.offsetHeight*-1;
	}
	if(y=='up'){
		y=tB.offsetHeight;
	}
	if(rr<0){
		t=parseInt(tS.style.top,10);
		t+=y;
		t=(t<=rr)?rr:t;
		t=(t>=0)?0:t;
		tS.style.top=t+"px";
		if(tB.p7dragbar){
			P7VSCsetDrag(tB);
		}
	}
}
function P7_VSCmoveTo(b,y){
	var tB,tS,rr,t;
	P7_VSCpause(b);
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	rr=tB.offsetHeight-tS.offsetHeight;
	if(rr>=0){
		return;
	}
	if(y=='start'){
		y=0;
	}
	else if(y=='end'){
		y=rr;
	}
	if(rr<0){
		t=parseInt(tS.style.top,10);
		y=(y<=rr)?rr:y;
		y=(y>=0)?0:y;
		tS.style.top=y+"px";
		if(tB.p7dragbar){
			P7VSCsetDrag(tB);
		}
	}
}
function P7_VSCmoveUp(b){
	var tS,t,tB,fl=1,a;
	if(typeof(b)=='object'){
		a=b;
		b=b.p7box;
	}
	P7_VSCpause(b);
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	if(tS.offsetHeight<=tB.offsetHeight){
		return;
	}
	if(tB.p7opt[3]>2){
		if(a&&a.id&&a.id.indexOf("p7VSCbu_")>-1){
			fl=2;
		}
	}
	P7_VSCscroll(tB.id,parseInt(tS.style.top,10),0,fl);
}
function P7_VSCmoveDown(b){
	var tS,t,tB,fl=1,a;
	P7_VSCpause(b);
	if(typeof(b)=='object'){
		a=b;
		b=b.p7box;
	}
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	t=tB.offsetHeight-tS.offsetHeight;
	if(t>=0){
		return;
	}
	if(tB.p7opt[3]>2){
		if(a&&a.id&&a.id.indexOf("p7VSCbd_")>-1){
			fl=2;
		}
	}
	P7_VSCscroll(tB.id,parseInt(tS.style.top,10),t,fl);
}
function P7_VSCscroll(b,ct,tt,dd){
	var fr,dy,dB,dD,nt,dr,r,m=true,op;
	if(!dd){
		dd=false;
	}
	dB=document.getElementById(b);
	dD=document.getElementById(dB.p7acdv);
	dB.p7status='moving';
	op=dB.p7opt[3];
	r=dB.offsetHeight-dD.offsetHeight;
	if(r>=0){
		return;
	}
	if(!dd){
		fr=dB.p7opt[1];
		dy=dB.p7opt[2];
	}
	else{
		fr=dB.p7opt[4];
		dy=dB.p7opt[5];
	}
	if(tt!==0){
		if(op>2&&dd!==1){
			dB.accum+=fr;
			if(dB.accum>=dB.p7opt[12]){
				fr-=dB.accum-dB.p7opt[12];
				dB.accum=0;
				m=false;
			}
		}
		ct-=fr;
		if(ct<=tt){
			ct=tt;
			m=false;
		}
	}
	else{
		if(dd!=1&&op>2){
			dB.accum+=fr;
			if(dB.accum>=dB.p7opt[12]){
				fr-=dB.accum-dB.p7opt[12];
				dB.accum=0;
				m=false;
			}
		}
		ct+=fr;
		if(ct>=tt){
			ct=tt;
			m=false;
		}
	}
	dD.style.top=ct+"px";
	if(dB.p7dragbar){
		P7VSCsetDrag(dB);
	}
	if(!m&&dd!==1){
		if(op>2){
			dB.accum=0;
			dy=dB.p7opt[13];
			if(dd!==2){
				if(ct!==0&&ct!=r){
					m=true;
				}
			}
			if(op==4 && (ct===0||ct==r)){
				op=1;
			}
		}
		if(op==1){
			tt=(ct===0)?r:0;
			dB.p7dir=(tt===0)?'down':'up';
			if(dd!==2){
				m=true;
			}
		}
		else if(op==2){
			ct=dB.offsetHeight;
			dB.p7dir='up';
			m=true;
		}
	}
	if(m){
		dB.p7VSCtimer=setTimeout("P7_VSCscroll('"+b+"',"+ct+","+tt+","+dd+")",dy);
	}
	else{
		dB.p7status='stopped';
		P7_VSCpause(dB.p7box);
	}
}
function P7_VSCkey(evt){
	var tg,m=true;
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode==38){
			P7_VSCmoveUp(tg.p7box);
			m=false;
		}
		else if(evt.keyCode==40){
			P7_VSCmoveDown(tg.p7box);
			m=false;
		}
		else if(evt.keyCode==33||evt.keyCode==37||(evt.keyCode==32&&evt.shiftKey)){
			P7_VSCmoveBy(tg.p7box,'up');
			m=false;
		}
		else if(evt.keyCode==34||evt.keyCode==39||evt.keyCode==32){
			P7_VSCmoveBy(tg.p7box,'down');
			m=false;
		}
		else if(evt.keyCode==36){
			P7_VSCmoveTo(tg.p7box,'start');
			m=false;
		}
		else if(evt.keyCode==35){
			P7_VSCmoveTo(tg.p7box,'end');
			m=false;
		}
		if(!m){
			if(evt.preventDefault){
				evt.preventDefault();
			}
		}
	}
	return m;
}
function P7_VSCkeyup(evt){
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode!=9&&evt.keyCode!=16){
			P7_VSCpause(tg.p7box);
		}
	}
}
function P7_VSCppkey(evt){
	var tg;
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode==13){
			P7_VSCpp(tg.p7box);
		}
	}
}
function P7_VSCeng(evt){
	var tg,y,tD,g,ot=0,pp,yy,oh,m=true,dr;
	evt=(evt)?evt:event;
	p7vscobj=null;
	tg=(evt.target)?evt.target:evt.srcElement;
	g=tg.parentNode;
	if(evt.clientY){
		if(tg&&tg.id&&tg.id.indexOf('p7VSCdc_')>-1){
			g=document.getElementById(tg.id.replace("dc","db"));
			P7_VSCpause(g.p7box);
			oh=tg.offsetHeight;
			pp=tg;
			while(pp){
				ot+=pp.offsetTop;
				pp=pp.offsetParent;
			}
			y=(evt.clientY+document.documentElement.scrollTop+document.body.scrollTop)-ot;
			dr='down';
			if(y<=g.offsetTop){
				dr='up';
			}
			P7_VSCmoveBy(g.p7box,dr);
			m=false;
		}
		else if(g&&g.id&&g.id.indexOf('p7VSCdb_')>-1){
			p7vscobj=g;
			P7_VSCpause(g.p7box);
			y=(p7vscobj.offsetTop)?p7vscobj.offsetTop:0;
			p7vscofY=evt.clientY-y;
			m=false;
			if(!document.addEventListener&&document.attachEvent){
				g.setCapture();
			}
		}
	}
	return m;
}
function P7_VSCdrg(evt){
	evt=(evt)?evt:event;
	var m=true;
	if(p7vscobj){
		if(evt.clientY){
			P7_VSCshift(p7vscobj,(evt.clientY-p7vscofY));
		}
		evt.cancelBubble=true;
		m=false;
	}
	return m;
}
function P7_VSCrel(){
	if(p7vscobj){
		if(!document.addEventListener&&document.attachEvent){
			p7vscobj.releaseCapture();
		}
		p7vscobj=null;
	}
}
function P7_VSCshift(obj,y){
	var tC,d,b,bT,s,sT,bh,sh,p,yy,r,rr;
	d=obj.id.replace("db","dc");
	tC=document.getElementById(d);
	b=obj.id.replace("db","b");
	bT=document.getElementById(b);
	r=tC.offsetHeight-obj.offsetHeight;
	y=(y<=0)?0:y;
	y=(y>=r)?r:y;
	s=bT.p7acdv;
	sT=document.getElementById(s);
	rr=bT.offsetHeight-sT.offsetHeight;
	if(rr>=0){
		y=0;
		rr=0;
	}
	p=y/r;
	yy=parseInt(rr*p,10);
	obj.style.top=y+"px";
	sT.style.top=yy+"px";
}
function P7VSCsetDrag(sB){
	var dC,s,dB,y,rr,r,p,sD;
	if(sB.p7dragbar){
		dC=document.getElementById(sB.p7dragbar);
		s=dC.id.replace("dc","db");
		dB=document.getElementById(s);
		sD=document.getElementById(sB.p7acdv);
		y=parseInt(sD.style.top,10);
		rr=sB.offsetHeight-sD.offsetHeight;
		r=dC.offsetHeight-dB.offsetHeight;
		p=y/rr;
		yy=parseInt(r*p,10);
		yy=(yy<=0)?0:yy;
		yy=(yy>=r)?r:yy;
		if(!isNaN(yy)){
			dB.style.top=yy+"px";
		}
	}
}
function P7_getPropValue(ob,prop,prop2){
	var h,v=null;
	if(ob){
		if(ob.currentStyle){
			v=eval('ob.currentStyle.'+prop);
		}
		else if(document.defaultView.getComputedStyle(ob,"")){
			v=document.defaultView.getComputedStyle(ob,"").getPropertyValue(prop2);
		}
		else{
			v=eval("ob.style."+prop);
		}
	}
	return v;
}
function P7_fixSafDB(bx){
	var s,d,pm=false;
	s=bx.id.replace("b","");
	pp=document.getElementById(s);
	pp=pp.parentNode;
	while(pp){
		d=P7_getPropValue(pp,'display','display');
		if(!d || d=='none'){
			if(!pp.id || pp.id.indexOf("p7VSC")==-1){
				pm=pp;
				pp.style.display="block";
				break;
			}
		}
		if(pp.nodeName=='BODY'){
			break;
		}
		pp=pp.parentNode;
	}
	return pm;
}
/* 
  ------------------------------------------------
  PrintSection
  ------------------------------------------------
*/

function LvLPrintContent(id, css, start, head, foot) { //v1.0
 	var s=unescape(css),h=unescape(head),f=unescape(foot);
	var c=document.getElementById(id),w=window.open('print','',''),x = "";
	x+='<html><head>';x+='<title>Print</title>';if(css){
	x +='<link href="'+s+'" rel="stylesheet" type="text/css" />';}
	x+='</head><body>';x+=h;x+=c.innerHTML;x+=f;x+='</body></html>';
	w.document.writeln(x);w.document.close();if(window.focus){w.focus()};
	if(start=="true"){w.print()};
}

/* 

  ================================================
  Bildergalerie
  ================================================
  
*/


// Global text content for Help and Table of Contents boxes
// Any single quotes (') MUST be preceded by a backward slash (\)

// Help Box Heading Text:
var p7LSMHLP='Hilfe: Tastatur Shortcuts';

// Help Box text items:
// A new line is created for each p7Help[x] item
var p7LSMHelp=[];
p7LSMHelp[0]='Um zum naechstem Bild zu gelangen, drücken Sie die Leertaste.';
p7LSMHelp[1]='Alternativ können Sie die "Pfeil rechts, Pfeil links", oder die Bild-auf / Bild-ab Tasten benutzen.';
p7LSMHelp[2]='Mit der Taste "P" pausieren Sie die Slideshow.';
p7LSMHelp[3]='Die Taste "T" zeigt das Inhaltsverzeichnis an.';
p7LSMHelp[4]='Zum Beenden der Praesentation drücken Sie die "X", oder "ESC"-Taste.';
p7LSMHelp[5]='Mit der Taste "H" können Sie die Hilfe jederzeit anzeigen, oder verbergen.';
	
// Table Of Contents Heading Text:
var p7LSMTOC='Table of Contents';

// Minimum width setting for display box (effective only if toolbar is active)
var p7LSMminwidth=200;

// Delay before fade in or animation
var p7lsmdly=500;

var p7LSMi=false,p7LSMf=false,p7LSMctl=[],p7LSMcshow=[],p7LSMmode='pause',p7LSMantmr,p7LSMimtmr,p7LSMoptmr,p7LSMshowtmr,p7LSMan=false;
var p7LSMstat=false,p7lsmA=navigator.userAgent.toLowerCase(),p7LSMcan=true,p7LSMnextMode='',p7LSMtocActive=false,p7LSMhlpActive=false;
if(!document.getElementById||typeof document.appendChild=='undefined'||p7lsmA.indexOf('msie 5')>-1){
	p7LSMcan=false;
}
function P7_LSMset(){
	var i,h,sh,hd,x,v;
	if(!p7LSMcan){
		return;
	}
	sh='.p7lsm_link {display:none;}\n';
	sh+='.p7lsm_description {display:none;}\n';
	sh+='.p7lsm_content {display:none;}\n';
	sh+='.p7lsm_link {display:none;}\n';
	sh+='#p7LSM_ovr {position:absolute;top:0px;left:0px;display:none;z-index:9999900;}\n';
	sh+='#p7lsm_overlay {position:fixed;width:100%;height:100%;left:0px;top:0px;z-index:9999900;display:none;}\n';
	sh+='#p7LSM_box {position:absolute;display:block;top:0px;left:-9000px;width:100px;overflow:hidden;z-index:9999930;}\n';
	sh+='#p7lsm_abox {position:absolute;top:0px;left:0px;display:none;z-index:9999960;}\n';
	sh+='#p7LSM_loading {display:none;position:absolute;top:0px;left:0px;z-index:9999980;}\n';
	sh+='#p7LSM_helpbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999990;}\n';
	sh+='#p7LSM_tocbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999995;}\n';
	sh+='#p7LSM_descboxW {display:block;position:absolute;top:0px;left:-9000px;z-index:9999985;overflow:hidden;}\n';
	if(P7_LSMisIE6()){
		sh+='#p7lsm_overlay {position:absolute;}\n';
	}
	if(document.styleSheets){
		h='\n<st' + 'yle type="text/css">\n'+sh+'\n</s' + 'tyle>';
		document.write(h);
	}
	else{
		h=document.createElement('style');
		h.type='text/css';
		h.appendChild(document.createTextNode(sh));
		hd=document.getElementsByTagName('head');
		hd[0].appendChild(h);
	}
}
P7_LSMset();
function P7_LSMaddLoad(){
	if(!p7LSMcan){
		return;
	}
	if(window.addEventListener){
		window.addEventListener("load",P7_LSMinit,false);
		window.addEventListener("resize",P7_LSMrsz,false);
		window.addEventListener("unload",P7_LSMclose,false);
		document.addEventListener("keydown",P7_LSMkey,false);
	}
	else if(window.attachEvent){
		window.attachEvent("onload",P7_LSMinit);
		window.attachEvent("onresize",P7_LSMrsz);
		window.attachEvent("onunload",P7_LSMclose);
		document.attachEvent("onkeydown",P7_LSMkey);
	}
}
P7_LSMaddLoad();
function P7_LSMop(){
	if(!document.getElementById||!p7LSMcan){
		return;
	}
	p7LSMctl[p7LSMctl.length]=arguments;
}
function P7_LSMinit(){
	var i,j,x=0,el,ob,h,tx,tD,tA,cntr=0,tIM,tB,bA,li,ul,tR,obb;
	if(p7LSMi||!p7LSMcan){
		return;
	}
	p7LSMi=true;
	P7_LSMbuildpop();
	el=document.createElement('div');
	el.setAttribute("id","p7lsm_abox");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","p7lsm_overlay");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","p7LSM_ovr");
	ob=document.createElement('img');
	ob.setAttribute('id','p7LSM_ovrimg');
	el.appendChild(ob);
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	ob=document.createElement('a');
	ob.appendChild(document.createTextNode("X"));
	ob.setAttribute("href","javascript:;")
	ob.setAttribute("title","Close Box");
	ob.onclick=function(){
		return P7_LSMhelp();
	};
	obb=document.createElement('div');
	obb.setAttribute("class","p7LSM_helpbox_close");
	obb.appendChild(ob);
	el.appendChild(obb);
	ob=document.createElement('p');
	ob.appendChild(document.createTextNode(p7LSMHLP));
	el.appendChild(ob);
	ob=document.createElement('ul');
	for(i=0;i<p7LSMHelp.length;i++){
		li=document.createElement('li')
		li.appendChild(document.createTextNode(p7LSMHelp[i]));
		ob.appendChild(li);
	}
	el.appendChild(ob);
	el.setAttribute("id","p7LSM_helpbox");
	el.p7status="closed";
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	ob=document.createElement('a');
	ob.appendChild(document.createTextNode("X"));
	ob.setAttribute("href","javascript:;")
	ob.setAttribute("title","Close Box");
	ob.onclick=function(){
		return P7_LSMtoc();
	};
	obb=document.createElement('div');
	obb.setAttribute("class","p7LSM_tocbox_close");
	obb.appendChild(ob);
	el.appendChild(obb);
	ob=document.createElement('p');
	ob.appendChild(document.createTextNode(p7LSMTOC));
	el.appendChild(ob);
	el.setAttribute("id","p7LSM_tocbox");
	el.p7status="closed";
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","p7LSM_descboxW");
	el.p7status="closed";
	obb=document.createElement('div');
	obb.setAttribute("id","p7LSM_descboxInner");
	el.appendChild(obb);
	ob=document.createElement('div');
	ob.setAttribute("id","p7LSM_descbox");
	obb.appendChild(ob);
	document.getElementsByTagName('body')[0].appendChild(el);
	bA=document.getElementById("p7LSM_box");
	bA.p7status="closed";
	bA=document.getElementById("p7LSM_help");
	if(bA){
		bA.onclick=function(){
			return P7_LSMhelp();
		};
	}
	bA=document.getElementById("p7LSM_toc");
	if(bA){
		bA.onclick=function(){
			return P7_LSMtoc();
		};
	}
	bA=document.getElementById("p7LSM_first");
	if(bA){
		bA.onclick=function(){
			return P7_LSMctrl('first');
		};
	}
	bA=document.getElementById("p7LSM_prev");
	if(bA){
		bA.onclick=function(){
			return P7_LSMctrl('previous');
		};
	}
	bA=document.getElementById("p7LSM_next");
	if(bA){
		bA.onclick=function(){
			return P7_LSMctrl('next');
		};
	}
	bA=document.getElementById("p7LSM_last");
	if(bA){
		bA.onclick=function(){
			return P7_LSMctrl('last');
		};
	}
	bA=document.getElementById("p7LSM_pauseplay");
	if(bA){
		bA.onclick=function(){
			return P7_LSMppTrig();
		};
	}
	bA=document.getElementById("p7LSM_close");
	if(bA){
		bA.onclick=function(){
			return P7_LSMclose();
		};
	}
	bA=document.getElementById("p7lsm_overlay");
	if(bA){
		bA.onclick=function(){
			return P7_LSMclose();
		};
	}
	document.p7lsmpre=[];
	document.getElementById("p7LSM_desc").p7src=false;
	document.getElementById("p7LSM_cnt").p7src=false;
	for(j=0;j<p7LSMctl.length;j++){
		tD=document.getElementById(p7LSMctl[j][0]);
		if(tD){
			cntr=-1;
			tD.p7opt=p7LSMctl[j];
			tD.p7slides=[];
			tR=document.getElementById(tD.id.replace("_","trg_"));
			tA=tR.getElementsByTagName("a");
			for(i=0;i<tA.length;i++){
				if(tA[i].className&&tA[i].className.indexOf("p7lsm_type")>-1){
					cntr++;
					tD.p7slides[cntr]=tA[i];
					tA[i].onclick=function(){
						return P7_LSMshow(this);
					};
					tA[i].parentNode.onmouseover=function(){
						this.className="over";
					};
					tA[i].parentNode.onmouseout=function(){
						this.className="";
					};
					tA[i].p7lsmdiv=tD.id;
					tA[i].p7lsmsnum=cntr+1;
					if(tA[i].className=="p7lsm_type_img"){
						if(tD.p7opt[10]==1){
							tA[i].onmouseover=function(){
								P7_LSMrollover(this);
							};
							tA[i].onmouseout=P7_LSMrollout;
						}
						document.p7lsmpre[x]=new Image();
						document.p7lsmpre[x].cmp=false;
						document.p7lsmpre[x].onload=function(){
							this.cmp=true;
						};
						document.p7lsmpre[x].onerror=function(){
							this.cmp=true;
							this.width=300;
							this.height=300;
						};
						tA[i].p7imindex=x;
						x++;
					}
				}
			}
			tD.p7lsmnum=tD.p7slides.length;
		}
	}
	P7_LSMpause(1);
	p7LSMf=true;
}
function P7_LSMrollover(a){
	var tp,rD,rI,tI,dm,rw,rh,tt,tl;
	tp=a.className;
	if(tp&&tp.indexOf("_img")>-1){
		rD=document.getElementById("p7LSM_ovr");
		rI=document.getElementById("p7LSM_ovrimg");
		tI=a.getElementsByTagName("img");
		dm=P7_LSMdims(a);
		rI.setAttribute("src",tI[0].getAttribute("src"));
		rD.style.visibility="hidden";
		rD.style.display="block";
		rw=rD.offsetWidth;
		rh=rD.offsetHeight;
		tt=dm[1]-rh;
		tl= dm[0]-((rw-dm[2])/2);
		tt-=5;
		if(tt<0){
			tt=dm[1]+a.offsetHeight+2;
		}
		if(tl<0){
			tl=0;
		}
		rD.style.top=tt+"px";
		rD.style.left=tl+"px";
		rD.style.visibility="visible";
	}
}
function P7_LSMrollout(){
	var rD=document.getElementById("p7LSM_ovr");
	rD.style.display="none";
}
function P7_LSMctrl(ag,sd,bp){
	var n,x,cDB,toc,op;
	if(!p7LSMf){
		return false;
	}
	if(!ag){
		ag='next';
	}
	if(ag=='pause'){
		P7_LSMpause();
		return false;
	}
	if(ag=='play'){
		P7_LSMplay();
		return false;
	}
	if(ag=='close'){
		P7_LSMclose();
		return false;
	}
	if(!sd){
		if(p7LSMcshow[0]){
			sd=p7LSMcshow[0];
		}
		else{
			sd=p7LSMctl[0][0];
		}
	}
	if(!p7LSMcshow[0]){
		p7LSMcshow[0]=sd;
		p7LSMcshow[1]=1;
	}
	cDB=document.getElementById(sd);
	if(!cDB||!cDB.p7lsmnum){
		return false;
	}
	if(sd!=p7LSMcshow[0]){
		p7LSMcshow[1]=1;
	}
	op=P7_LSMopts();
	if(ag=='first'){
		n=1;
		if(op[5]==3&&sd!=p7LSMctl[0][0]){
			sd=p7LSMctl[0][0];
			cDB=document.getElementById(sd);
			P7_LSMtochelpStat();
			P7_LSMclose();
		}
		else{
			if(n==p7LSMcshow[1]&&cDB.p7status=='open'){
				return false;
			}
		}
	}
	else if(ag=='last'){
		n=cDB.p7lsmnum;
		if(op[5]==3&&sd!=p7LSMctl[0][p7LSMctl.length-1]){
			sd=p7LSMctl[p7LSMctl.length-1][0];
			cDB=document.getElementById(sd);
			n=cDB.p7lsmnum;
			P7_LSMtochelpStat();
			P7_LSMclose();
		}
		else{
			if(n==p7LSMcshow[1]&&cDB.p7status=='open'){
				return false;
			}
		}
	}
	else if(ag=='next'){
		n=p7LSMcshow[1]+1;
		if(n>cDB.p7lsmnum){
			if(op[5]==0){
				return false;
			}
			else if(cDB.p7opt[5]==1){
				n=1;;
			}
			else if(cDB.p7opt[5]==2){
				return false;
			}
			else if(op[5]==3){
				x=P7_LSMnextShow();
				sd=p7LSMctl[x][0];
				cDB=document.getElementById(sd);
				n=1;
				if(p7LSMmode=="auto"){
					p7LSMnextMode='auto';
				}
				P7_LSMtochelpStat();
				P7_LSMclose();
			}
		}
	}
	else if(ag=='previous'){
		n=p7LSMcshow[1]-1;
		if(n<1){
			if(op[5]==0){
				return false;;
			}
			else if(cDB.p7opt[5]==1){
				n=cDB.p7lsmnum;
			}
			else if(cDB.p7opt[5]==2){
				return false;
			}
			else if(op[5]==3){
				x=P7_LSMprevShow();
				sd=p7LSMctl[x][0];
				cDB=document.getElementById(sd);
				n=cDB.p7lsmnum;
				P7_LSMtochelpStat();
				P7_LSMclose();
			}
			else{
				return false;
			}
		}
	}
	else{
		n=parseInt(ag);
	}
	if(!n||n<1){
		n=1;
	}
	else if(n>cDB.p7lsmnum){
		n=cDB.p7lsmnum;
	}
	n--;
	if(op[8]==1&&p7LSMnextMode!='auto'&&bp!=1){
		P7_LSMpause();
	}
	P7_LSMshow(cDB.p7slides[n]);
	return false;
}
function P7_LSMppTrig(){
	if(!p7LSMf){
		return false;
	}
	var a=document.getElementById('p7LSM_pauseplay');
	if(a.p7state=='play'){
		P7_LSMpause();
	}
	else{
		P7_LSMplay();
	}
	return false;
}
function P7_LSMplay(bp){
	var n,b=document.getElementById('p7LSM_pauseplay');
	if(p7LSMmode=='auto'&&bp!=1){
		return;
	}
	b.p7state='play';
	p7LSMmode='auto';
	b.title='Pause';
	b.className='p7LSM_pause';
	if(bp!=1){
		P7_LSMctrl('next','',1);
	}
}
function P7_LSMpause(bp){
	var b=document.getElementById('p7LSM_pauseplay');
	if(p7LSMshowtmr){
		clearTimeout(p7LSMshowtmr);
	}
	b.p7state='pause';
	if(bp!=1){
		p7LSMmode='pause';
	}
	b.title='Play';
	b.className='p7LSM_play';
}
function P7_LSMdescpop(ac,bp){
	var dP,dPC,op,tl,tt,th,tw,cl,ct,cw,ch;
	dP=document.getElementById("p7LSM_descboxW");
	dPC=document.getElementById("p7LSM_descbox");
	op=P7_LSMopts();
	if(ac=='show'){
		dP.p7status="open";
		if(op[1]>1&&bp!=1){
			dP.style.width=dP.offsetWidth+"px";
			dP.style.visibility="hidden";
			dP.style.height="auto";
			P7_LSMposdesc();
			tt=parseInt(dP.style.top);
			th=dP.offsetHeight;
			ct=tt+th-1;
			ch=1;
			dP.style.height=ch+"px";
			dP.style.top=ct+"px";
			dP.style.visibility="visible";
			P7_LSMglide(dP.id,ct,tt,ch,th,'open');
		}
		else{
			P7_LSMposdesc();
			P7_LSMshow_fin2();
		}
	}
	else{
		if(op[1]>1&&bp!=1){
			ct=parseInt(dP.style.top);
			ch=dP.offsetHeight;
			th=0;
			tt=ct+ch;
			P7_LSMglide(dP.id,ct,tt,ch,th,'close');
		}
		else{
			dP.p7status="closed";
			dP.style.left="-9000px";
			dP.style.top="0px";
			dP.style.height="10px";
			if(bp==2){
				P7_LSMshowB();
			}
		}
	}
}
function P7_LSMglide(id,ct,tt,ch,th,dr){
	var inc=2,dy=10,pc=0.08,tv,sp,dV=document.getElementById(id);
	p7LSMan=true;
	tv=Math.abs( parseInt( Math.abs(ct)-Math.abs(tt),10 ) );
	sp=inc;
	inc=tv*pc;
	inc=(inc<=sp)?sp:inc;
	inc=(dr!='open')?inc:inc*-1;
	dV.style.top=ct+"px";
	dV.style.height=ch+"px";
	if(ct==tt){
		p7LSMan=false;
		if(dr=='open'){
			dV.style.height="auto";
			if(dV.id=='p7LSM_descboxW'){
				P7_LSMshow_fin2();
			}
		}
		else{
			dV.style.left="-9000px";
			dV.style.height="10px";
			dV.style.top="0px";
			if(dV.id=='p7LSM_descboxW'){
				dV.p7status="closed";
				P7_LSMshowB();
			}
		}
	}
	else{
		ct+=inc;
		ch-=inc;
		if(dr=='open'&&ct<tt){
			ct=tt;
			ch=th;
		}
		if(dr=='close'&&ct>tt){
			ct=tt;
			ch=th;
		}
		p7LSMantmr=setTimeout("P7_LSMglide('"+id+"',"+ct+","+tt+","+ch+","+th+",'"+dr+"')",dy);
	}
}
function P7_LSMhelp(ac){
	var hp,tR,tB;
	hp=document.getElementById("p7LSM_helpbox");
	tR=document.getElementById('p7LSM_help');
	if(null==ac){
		ac=(hp.p7status=='closed')?'show':'hide';
	}
	if(ac=='show'){
		hp.p7status="open";
		if(tR){
			tR.className='down';
		}
		tB=document.getElementById(p7LSMcshow[0]);
		if(!tB){
			tB=document.getElementById(p7LSMctl[0][0]);
		}
		hp.className=tB.className;
		P7_LSMposhelp();
	}
	else{
		if(tR){
			tR.className='';
		}
		hp.style.left="-9000px";
		hp.style.top="0px";
		hp.style.height="10px";
		hp.p7status="closed";
	}
	return false;
}
function P7_LSMtitle(a){
	var tt,im,nt='Item';
	tt=a.getAttribute("title");
	if(!tt||tt==''){
		im=a.getElementsByTagName("img");
		if(im&&im[0]){
			tt=im[0].getAttribute("alt");
		}
		else{
			tt=a.textContent;
			if(!tt||tt==''){
				tt=a.innerText;
			}
			if(!tt||tt==''){
				tt=a.innerHTML;
			}
		}
	}
	if(tt&&tt!=''){
		nt=tt;
	}
	return nt;
}
function P7_LSMtoc(ac,sd){
	var i,x=0,toc,wd,h,t,tB,tLI,tt,ea,ol,li,tIM,tA,tx,tR,tD,tSP,cDB;
	toc=document.getElementById("p7LSM_tocbox");
	if(ac==null){
		ac=(toc.p7status=='closed')?'show':'hide';
	}
	tR=document.getElementById('p7LSM_toc');
	if(ac=='show'){
		P7_LSMclrtag(toc,'ol');
		if(!sd){
			tB=document.getElementById(p7LSMcshow[0]);
			if(!tB){
				tB=document.getElementById(p7LSMctl[0][0]);
			}
		}
		else{
			tB=document.getElementById(sd);
		}
		toc.className=tB.className;
		ol=document.createElement('ol');
		tD=document.getElementById(tB.id.replace("_","trg_"));
		tA=tD.getElementsByTagName("a");
		for(i=0;i<tA.length;i++){
			if(tA[i].className&&tA[i].className.indexOf('p7lsm_type')>-1){
				tt=P7_LSMtitle(tA[i]);
				ea=document.createElement('a');
				ea.appendChild(document.createTextNode(tt));
				ea.setAttribute("href","javascript:;");
				ea.p7num=(x);
				x++
				ea.onclick=function(){
					cDB=document.getElementById(p7LSMcshow[0]);
					P7_LSMshow(cDB.p7slides[this.p7num]);
					return false;
				};
				li=document.createElement("li");
				li.appendChild(ea);
				ol.appendChild(li);
			}
		}
		toc.appendChild(ol);
		toc.p7status="open";
		if(tR){
			tR.className='down';
		}
		P7_LSMsetTOC();
		P7_LSMpostoc();
	}
	else{
		toc.style.left="-9000px";
		toc.style.top="0px";
		toc.p7status="closed";
		if(tR){
			tR.className='';
		}
		P7_LSMclrtag(toc,'ol');
	}
	return false;
}
function P7_LSMsetTOC(){
	var i,tT,tA,cI;
	cI=p7LSMcshow[1]-1;
	tT=document.getElementById('p7LSM_tocbox');
	tA=tT.getElementsByTagName("a");
	if(tA&&tA.length>cI){
		for(i=0;i<tA.length;i++){
			if((i-1)==cI){
				tA[i].className='down';
			}
			else{
				tA[i].className='';
			}
		}
	}
}
function P7_LSMtochelpStat(){
	var tD=document.getElementById('p7LSM_tocbox');
	if(tD.p7status=="open"){
		p7LSMtocActive=true;
	}
	else{
		p7LSMtocActive=false;
	}
	tD=document.getElementById('p7LSM_helpbox');
	if(tD.p7status=="open"){
		p7LSMhlpActive=true;
	}
	else{
		p7LSMhlpActive=false;
	}
}
function P7_LSMclrtag(ob,tg){
	var i,tG;
	tG=ob.getElementsByTagName(tg);
	if(tG&&tG[0]){
		ob.removeChild(tG[0]);
	}
}
function P7_LSMshow(a){
	var pB,op;
	if(!p7LSMf){
		return false;
	}
	P7_LSMrollout();
	if(p7LSMantmr){
		clearTimeout(p7LSMantmr);
	}
	if(p7LSMoptmr){
		clearTimeout(p7LSMoptmr);
	}
	if(p7LSMimtmr){
		clearTimeout(p7LSMimtmr);
	}
	if(p7LSMshowtmr){
		clearTimeout(p7LSMshowtmr);
	}
	document.getElementById('p7LSM_loading').style.display="none";
	p7LSMcshow[0]=a.p7lsmdiv;
	p7LSMcshow[1]=a.p7lsmsnum;
	p7LSMcshow[2]=a;
	op=P7_LSMopts();
	pB=document.getElementById('p7LSM_descboxW');
	if(pB.p7status=="open"&&op[17]!=1){
		P7_LSMdescpop('hide',2);
	}
	else{
		P7_LSMshowB();
	}
	return false;
}
function P7_LSMshowB(){
	var i,a,cAB,cOV,cDB,sD,bw=0,bh=0,x,pI,prg,op,opp;
	a=p7LSMcshow[2];
	P7_LSMsetTOC();
	op=P7_LSMopts();
	P7_LSMbuttons();
	if(op[19]==0){
		P7_LSMsetdsp('p7LSM_toolbar','none');
		document.getElementById("p7LSM_container").className="hideToolbar";
	}
	else{
		P7_LSMsetdsp('p7LSM_toolbar','block');
		document.getElementById("p7LSM_container").className="";
	}
	cAB=document.getElementById('p7lsm_abox');
	cOV=document.getElementById('p7lsm_overlay');
	cDB=document.getElementById('p7LSM_box');
	if(cDB.p7status=='closed'){
		if(op[9]==1||p7LSMnextMode=='auto'){
			if(p7LSMmode!="auto"){
				p7LSMmode="auto";
				P7_LSMplay(1);
			}
		}
	}
	p7LSMnextMode='';
	cDB.style.display="block";
	cOV.style.display="block";
	p7LSMstat=true;
	opp=1.00;
	if(!cAB.filters){
		cAB.style.opacity=opp;
	}
	else{
		cAB.style.zoom="100%";
		cAB.style.filter='alpha(opacity='+opp*100+')';
	}
	if(cDB.p7status=='open'){
		cDB.p7new=false;
		bw=cDB.offsetWidth;
		bh=cDB.offsetHeight;
		cDB.p7bl=parseInt(cDB.style.left);
		cDB.p7bt=parseInt(cDB.style.top);
		cDB.p7status='closed';
	}
	else{
		cDB.p7new=true;
		sD=document.getElementById(p7LSMcshow[0]);
		cDB.className=sD.className;
		cAB.className=sD.className;
		cOV.className=sD.className;
		document.getElementById('p7LSM_helpbox').className=sD.className;
		document.getElementById('p7LSM_tocbox').className=sD.className;
		document.getElementById('p7LSM_descboxW').className=sD.className;
		if(op[13]==1||p7LSMtocActive){
			P7_LSMtoc('show');
			p7LSMtocActive=false;
		}
		if(op[16]==1||p7LSMhlpActive){
			P7_LSMhelp('show');
			p7LSMhlpActive=false;
		}
	}
	if(op[1]==1 || op[1]>1&&op[7]==1){
		cAB.style.height=bh+"px";
		cAB.style.width=bw+"px";
		cAB.style.display="block";
		P7_LSMpos(cAB.id);
	}
	if(op[1]>0){
		cDB.style.left="-9000px";
	}
	cDB.p7bw=bw;
	cDB.p7bh=bh;
	cDB.style.height="auto";
	if(a.className=='p7lsm_type_img'){
		x=a.p7imindex;
		pI=document.p7lsmpre[x];
		if(!pI.cmp){
			P7_LSMposldng();
			pI.src=a.href;
			P7_LSMload_img(x);
		}
		else{
			if(op[1]>0){
				p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly);
			}
			else{
				P7_LSMshow_dsp();
			}
		}
	}
	else if(a.className=='p7lsm_type_cnt'){
		if(op[1]>0){
			p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly);
		}
		else{
			P7_LSMshow_dsp();
		}
	}
}
function P7_LSMshow_dsp(){
	var i,a,cF,cB,cAB,cDB,cIM,cTM,an,el,ob,cN,tA,w,op,th,tw,cl,ct,cw,ch,fd,hs,sc,tl,tt,t,tSP,pB,pBC;
	a=p7LSMcshow[2];
	P7_LSMrestore();
	cDB=document.getElementById('p7LSM_box');
	cAB=document.getElementById('p7lsm_abox');
	pB=document.getElementById('p7LSM_descboxW');
	pBC=document.getElementById('p7LSM_descbox');
	cB=document.getElementById(p7LSMcshow[0]);
	cN=a.parentNode.childNodes;
	an=cB.p7opt[1];
	if(cB.p7opt[6]==1){
		el=P7_LSMsetdsp('p7LSM_counter','block');
		ob=document.createTextNode('Slide '+a.p7lsmsnum+' of '+cB.p7lsmnum);
		if(el.hasChildNodes){
			for(i=0;i<el.childNodes.length;i++){
				el.removeChild(el.childNodes[i]);
			}
		}
		el.appendChild(ob);
	}
	else{
		P7_LSMsetdsp('p7LSM_counter','none');
	}
	if(cB.p7opt[12]==1){
		el=P7_LSMsetdsp('p7LSM_caption','block');
		ob=document.createTextNode(P7_LSMtitle(a));
		if(el.hasChildNodes){
			for(i=0;i<el.childNodes.length;i++){
				el.removeChild(el.childNodes[i]);
			}
		}
		el.appendChild(ob);
	}
	else{
		P7_LSMsetdsp('p7LSM_caption','none');
	}
	tw=cB.p7opt[4];
	cDB.style.width=tw+"px";
	P7_LSMsetdsp('p7LSM_cnt','none');
	P7_LSMsetdsp('p7LSM_img','none');
	P7_LSMsetdsp('p7LSM_desc','none');
	if(a.className=='p7lsm_type_img'){
		cIM=document.getElementById('p7LSMfsim');
		cIM.src=a.href;
		cIM.setAttribute("width",document.p7lsmpre[a.p7imindex].width);
		cIM.setAttribute("height",document.p7lsmpre[a.p7imindex].height);
		P7_LSMsetdsp('p7LSM_img','block');
		P7_LSMsetdsp('p7LSM_toolbar','none');
		P7_LSMsetdsp('p7LSM_info','none');
		cTM=a.getElementsByTagName("img")[0];
		cIM.setAttribute("alt",cTM.getAttribute("alt"));
		cDB.style.width="auto";
		tw=cDB.offsetWidth;
		cDB.style.width=tw+"px";
		if(cB.p7opt[19]!=0){
			P7_LSMsetdsp('p7LSM_toolbar','block');
		}
		P7_LSMsetdsp('p7LSM_info','block');
		tA=document.getElementById('p7LSMfslink');
		tA.removeAttribute("href");
		tA.setAttribute("title","");
		tA.onclick=null;
		for(i=0;i<cN.length;i++){
			if(cN[i].className&&cN[i].className=='p7lsm_link'){
				el=cN[i].getElementsByTagName("a");
				if(el&&el[0]){
					tA.setAttribute("title",P7_LSMtitle(el[0]));
					tA.setAttribute("href",el[0].getAttribute("href"));
					if(el[0].onclick){
						tA.onclick=el[0].onclick;
					}
				}
			}
		}
	}
	else{
		hs=a.hash;
		if(hs&&hs.length>1){
			ob=document.getElementById(hs.substring(1));
			if(ob){
				el=P7_LSMsetdsp('p7LSM_cnt','block');
				P7_LSMcopyCN(el,ob);
				el.p7src=ob;
			}
		}
	}
	pB.p7show=false;
	for(i=0;i<cN.length;i++){
		if(cN[i].className&&cN[i].className=='p7lsm_description'){
			if(cB.p7opt[15]==1){
				P7_LSMcopyCN(pBC,cN[i]);
				pBC.p7src=cN[i];
				pB.p7show=true;
			}
			else{
				el=P7_LSMsetdsp('p7LSM_desc','block');
				P7_LSMcopyCN(el,cN[i]);
				el.p7src=cN[i];
			}
		}
	}
	if(cB.p7opt[15]==1){
		if(cB.p7opt[17]==1&&pB.p7status=='open'){
			P7_LSMposdesc();
		}
	}
	th=cDB.offsetHeight;
	if(cB.p7opt[19]!=0&&cDB.offsetWidth<p7LSMminwidth){
		if(!cB.p7hideButtons){
			cDB.style.width=p7LSMminwidth+"px";
			tw=p7LSMminwidth;
		}
	}
	if(an==0){
		P7_LSMpos('p7LSM_box');
		cDB.p7status="open";
		P7_LSMshow_fin();
	}
	else if(an==1){
		cDB.style.visiblity="hidden";
		P7_LSMpos('p7LSM_box');
		cAB.style.top=cDB.style.top;
		cAB.style.left=cDB.style.left;
		cAB.style.height=cDB.offsetHeight+"px";
		cAB.style.width=cDB.offsetWidth+"px";
		cDB.style.visbility="visible";
		P7_LSMfadeOut(cAB.id,0.99);
	}
	else if(an>1){
		if(an==2||an==3){
			cw=6;
			ch=20;
		}
		else{
			cw=tw;
			ch=th;
		}
		if(cB.p7opt[7]==1&&!cDB.p7new){
			ch=(cDB.p7bh>10)?cDB.p7bh:ch;
			cw=(cDB.p7bw>20)?cDB.p7bw:cw;
		}
		else{
			cAB.style.width=cw+"px";
			cAB.style.height=ch+"px";
			cAB.style.display="block";
			P7_LSMpos(cAB.id);
		}
		cl=parseInt(cAB.style.left);
		ct=parseInt(cAB.style.top);
		cDB.style.visibility="hidden";
		P7_LSMpos(cDB.id);
		tl=parseInt(cDB.style.left);
		tt=parseInt(cDB.style.top);
		fd=0;
		if(cB.p7opt[2]==1){
			fd=1;
			if(cB.p7opt[7]!=1||cDB.p7new){
				ct=parseInt(ct-(ch/2)+(th/2));
				fd=0;
			}
		}
		else if(cB.p7opt[2]==2){
			fd=2;
			if(cB.p7opt[7]!=1||cDB.p7new){
				cl=parseInt(cl-(cw/2)+(tw/2));
				fd=0;
			}
		}
		else if(cB.p7opt[2]==3){
			fd=3;
			if(cB.p7opt[7]!=1||cDB.p7new){
				cl=parseInt(cl-(cw/2)+(tw/2));
				ct=parseInt(ct-(ch/2)+(th/2));
				fd=0;
			}
		}
		P7_LSMgrow(cAB.id,cl,tl,ct,tt,ch,th,cw,tw,an,fd);
	}
}
function P7_LSMshow_fin(){
	var pB,op=P7_LSMopts();
	p7LSMan=false;
	if(op[15]==1){
		pB=document.getElementById('p7LSM_descboxW');
		if((pB.p7show&&op[17]!=1) || (op[17]==1&&pB.p7status!='open')){
			P7_LSMdescpop('show');
		}
		else{
			if(op[17]==1){
				pB.p7status='open';
			}
			P7_LSMshow_fin2();
		}
	}
	else{
		P7_LSMshow_fin2();
	}
}
function P7_LSMshow_fin2(){
	var i,j,cn,n,nn,tn,op,nA,tS,tB,tA,im,px,sd,m=false;
	p7LSMan=false;
	tB=document.getElementById('p7LSM_box');
	tB.p7status='open';
	tB.p7new=false;
	P7_LSMrsz();
	tS=document.getElementById(p7LSMcshow[0]);
	op=tS.p7opt;
	nn=p7LSMcshow[1]+1;
	n=nn;
	sd=p7LSMcshow[0];
	if(op[14]==1){
		if(nn>tS.p7lsmnum){
			if(op[5]==1){
				nA=tS.p7slides[0];
			}
			else if(op[5]==3){
				j=P7_LSMnextShow();
				sd=p7LSMctl[j][0];
				nA=document.getElementById(sd).p7slides[0];
			}
			else{
				nA=null;
			}
		}
		else{
			nA=tS.p7slides[nn-1];
		}
		if(nA&&nA.p7imindex){
			px=nA.p7imindex;
			im=document.p7lsmpre[px];
			if(!im.cmp){
				im.src=nA.href;
			}
		}
	}
	if(p7LSMmode=="auto"){
		if(n>tS.p7lsmnum&&op[5]==0){
			P7_LSMpause();
		}
		else if(n>tS.p7lsmnum&&op[5]==2){
			p7LSMshowtmr=setTimeout("P7_LSMclose()",op[11]*1000);
		}
		else{
			p7LSMshowtmr=setTimeout("P7_LSMctrl('next','',1)",op[11]*1000);
		}
	}
}
function P7_LSMnextShow(){
	var i,cs,j=-1;
	cs=p7LSMcshow[0];
	for(i=0;i<p7LSMctl.length;i++){
		if(p7LSMctl[i][0]==cs){
			if(i>=p7LSMctl.length-1){
				j=0;
			}
			else{
				j=i+1;
			}
			break;
		}
	}
	return j;
}
function P7_LSMprevShow(){
	var i,cs,j=-1;
	cs=p7LSMcshow[0];
	for(i=0;i<p7LSMctl.length;i++){
		if(p7LSMctl[i][0]==cs){
			if(i==0){
				j=p7LSMctl.length-1;
			}
			else{
				j=i-1;
			}
			break;
		}
	}
	return j;
}
function P7_LSMrestore(){
	var el;
	el=document.getElementById("p7LSM_cnt");
	if(el.p7src){
		P7_LSMcopyCN(el.p7src,el);
	}
	el.p7src=false;
	el=document.getElementById("p7LSM_desc");
	if(el.p7src){
		P7_LSMcopyCN(el.p7src,el);
	}
	el.p7src=false;
	el=document.getElementById("p7LSM_descbox");
	if(el.p7src){
		P7_LSMcopyCN(el.p7src,el);
	}
	el.p7src=false;
}
function P7_LSMload_img(ix,kn){
	var pR,op,im=document.p7lsmpre[ix];
	kn=(kn)?kn:0;
	if(im.cmp){
		im.cmp=true;
		document.getElementById("p7LSM_loading").style.display="none";
		p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly);
	}
	else{
		if(p7LSMimtmr){
			clearTimeout(p7LSMimtmr);
		}
		kn++;
		if(kn<500){
			p7LSMimtmr=setTimeout("P7_LSMload_img("+ix+","+kn+")",60);
		}
		else{
			document.getElementById("p7LSM_loading").style.display="none";
			im.cmp=true;
			im.width=300;
			im.height=300;
			op=P7_LSMopts();
			if(op[1]>0){
				p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly);
			}
			else{
				P7_LSMshow_dsp()
			}
		}
	}
}
function P7_LSMbuttons(){
	var i,tS,tn,opt;
	tS=document.getElementById(p7LSMcshow[0]);
	tn=tS.p7lsmnum;
	if(tn==1){
		tS.p7hideButtons=true;
		P7_LSMsetdsp('p7LSM_toc','none');
		P7_LSMsetdsp('p7LSM_first','none');
		P7_LSMsetdsp('p7LSM_prev','none');
		P7_LSMsetdsp('p7LSM_pauseplay','none');
		P7_LSMsetdsp('p7LSM_next','none');
		P7_LSMsetdsp('p7LSM_last','none');
		P7_LSMsetdsp('p7LSM_help','none');
	}
	else{
		tS.p7hideButtons=false;
		P7_LSMsetdsp('p7LSM_toc','block');
		P7_LSMsetdsp('p7LSM_first','block');
		P7_LSMsetdsp('p7LSM_prev','block');
		P7_LSMsetdsp('p7LSM_pauseplay','block');
		P7_LSMsetdsp('p7LSM_next','block');
		P7_LSMsetdsp('p7LSM_last','block');
		P7_LSMsetdsp('p7LSM_help','block');
	}
}
function P7_LSMclose(){
	var i,cAB,cOV,cDB,j,v;
	if(p7LSMantmr){
		clearTimeout(p7LSMantmr);
	}
	if(p7LSMoptmr){
		clearTimeout(p7LSMoptmr);
	}
	if(p7LSMimtmr){
		clearTimeout(p7LSMimtmr);
	}
	if(p7LSMshowtmr){
		clearTimeout(p7LSMshowtmr);
	}
	P7_LSMpause();
	p7LSMstat=false;
	P7_LSMtoc('hide');
	P7_LSMhelp('hide');
	P7_LSMdescpop('hide',1);
	cAB=document.getElementById('p7lsm_abox');
	cOV=document.getElementById('p7lsm_overlay');
	cDB=document.getElementById('p7LSM_box');
	cDB.p7status="closed";
	cDB.style.left="-9000px";
	cDB.style.height="10px";
	cDB.style.top="0px";
	P7_LSMrestore();
	cAB.style.display="none";
	document.getElementById("p7LSM_loading").style.display="none";
	cOV.style.display="none";
	if(P7_LSMisIE6()){
		cOV.style.height="10px";
	}
	return false;
}
function P7_LSMopts(){
	var sd,tD;
	if(!p7LSMcshow[0]){
		p7LSMcshow[0]=p7LSMctl[0][0];
		p7LSMcshow[1]=1;
	}
	tD=document.getElementById(p7LSMcshow[0]);
	if(tD&&tD.p7opt){
		return tD.p7opt;
	}
	else{
		return ['',0,0,0,0,0];
	}
}
function P7_LSMrsz(){
	var tB=document.getElementById('p7LSM_box');
	if(tB.p7status=='open'&&!p7LSMan){
		P7_LSMpos('p7LSM_box');
		P7_LSMpostoc();
		P7_LSMposhelp();
		P7_LSMposdesc();
	}
}
function P7_LSMpostoc(){
	var tB,h,t,wd,sc,l=10;
	tB=document.getElementById("p7LSM_tocbox");
	wd=P7_LSMwin();
	if(tB.p7status=="open"){
		tB.style.height="auto";
		h=tB.offsetHeight;
		t=wd[0]-h-20;
		if(t<10){
			h=wd[0]-20;
			t=10;
			tB.style.height=h+"px";
		}
		sc=P7_LSMsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function P7_LSMposhelp(){
	var tB,h,w,t,l,wd,sc;
	tB=document.getElementById("p7LSM_helpbox");
	wd=P7_LSMwin();
	if(tB.p7status=="open"){
		tB.style.height="auto";
		h=tB.offsetHeight;
		w=tB.offsetWidth;
		t=wd[0]-h-20;
		l=wd[1]-w-20;
		sc=P7_LSMsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function P7_LSMposdesc(){
	var tB,tBC,h,w,t,l,wd,sc,lm;
	tB=document.getElementById("p7LSM_descboxW");
	tBC=document.getElementById("p7LSM_descbox");
	wd=P7_LSMwin();
	if(tB.p7status=="open"){
		tB.style.height="auto";
		h=tB.offsetHeight;
		w=tB.offsetWidth;
		t=wd[0]-h-20;
		l=wd[1]-w-20;
		sc=P7_LSMsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		lm=P7_LSMminleft();
		l=(l<lm)?lm:l;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function P7_LSMposldng(){
	var tD,dB,wd,x,y,lw,lw,sc;
	tD=document.getElementById('p7LSM_loading');
	dB=document.getElementById('p7LSM_box');
	tD.style.visibility="hidden";
	tD.style.display="block";
	if(!dB.p7new&&dB.p7bl){
		x=parseInt(dB.p7bl)+((dB.p7bw-tD.offsetWidth)/2);
		y=parseInt(dB.p7bt)+((dB.p7bh-tD.offsetHeight)/2);
	}
	else{
		sc=P7_LSMsclb();
		wd=P7_LSMwin();
		x=((wd[1]-tD.offsetWidth)/2)+sc[0];
		y=((wd[0]-tD.offsetHeight)/2)+sc[1];
	}
	tD.style.left=x+"px";
	tD.style.top=y+"px";
	tD.style.visibility="visible";
}
function P7_LSMminleft(){
	var d=document.getElementById('p7LSM_box');
	return parseInt(d.style.left)+d.offsetWidth+5;
}
function P7_LSMpos(d){
	var x,y,wd,tB,dB,h,w,sh,oD,op,v,j,t,bx,by,bh,bw,sc;
	wd=P7_LSMwin();
	tB=document.getElementById(d);
	op=P7_LSMopts();
	w=tB.offsetWidth;
	h=tB.offsetHeight;
	x=parseInt((wd[1]-w)/2);
	x=(x<0)?0:x;
	y=parseInt((wd[0]-h)/2);
	y=(y<0)?0:y;
	if(op[2]==1){
		y=op[3];
	}
	else if(op[2]==2){
		x=op[18];
	}
	else if(op[2]==3){
		y=op[3];
		x=op[18];
	}
	sc=P7_LSMsclb();
	if(op[2]!=3){
		if(op[2]!=2){
			x+=sc[0];
		}
		if(op[2]!=1){
			y+=sc[1];
		}
	}
	tB.style.left=x+"px";
	tB.style.top=y+"px";
	if(P7_LSMisIE6()){
		sh=document.body.parentNode.scrollHeight;
		oD=document.getElementById('p7lsm_overlay');
		h=(wd[0]>0)?wd[0]:h;
		h=(h>sh)?h:sh;
		oD.style.height=h+"px";
		oD.style.position="absolute";
	}
}
function P7_LSMdims(ob){
	var pp,h,w,l=0,t=0,r=[4];
	pp=ob;
	while(pp){
		l+=(pp.offsetLeft)?pp.offsetLeft:0;
		t+=(pp.offsetTop)?pp.offsetTop:0;
		if(window.opera||navigator.userAgent.indexOf("Safari")>-1){
			if(pp.nodeName=="BODY"){
				l-=(pp.offsetLeft)?pp.offsetLeft:0;
				t-=(pp.offsetTop)?pp.offsetTop:0;
			}
		}
		pp=pp.offsetParent;
	}
	r[0]=l;
	r[1]=t
	r[2]=ob.offsetWidth;
	r[3]=ob.offsetHeight;
	return r;
}
function P7_LSMsclb(){
	var x,y;
	y=document.body.parentNode.scrollTop;
	if(!y){
		y=document.body.scrollTop;
	}
	y=(y)?y:0;
	x=document.body.parentNode.scrollLeft;
	if(!x){
		x=document.body.scrollLeft;
	}
	x=(x)?x:0;
	return [x,y];
}
function P7_LSMgrow(id,cl,tl,ct,tt,ch,th,cw,tw,op){
	var il=10,it=10,ih=1,iw=1,dy=10,sp;
	var cD,nw=0,nh=0,nl=0,nt=0,tv,pc=0.10;
	tv=Math.abs( parseInt( Math.abs(th)-Math.abs(ch),10 ) );
	sp=ih;
	ih=tv*pc;
	ih=(ih<=sp)?sp:ih;
	tv=Math.abs( parseInt( Math.abs(tw)-Math.abs(cw),10 ) );
	sp=iw;
	iw=tv*pc;
	iw=(iw<=sp)?sp:iw;
	il=iw/2;
	it=ih/2;
	if(tw<cw){
		iw=iw*-1;
	}
	if(th<ch){
		ih=ih*-1;
	}
	if(tt<ct){
		it=it*-1;
	}
	if(tl<cl){
		il=il*-1;
	}
	p7LSMan=true;
	cD=document.getElementById(id);
	cD.style.height=ch+'px';
	cD.style.width=cw+'px';
	cD.style.left=cl+"px";
	cD.style.top=ct+"px";
	if(ch==th && cw==tw && ct==tt && cl==tl){
		document.getElementById('p7LSM_box').style.visibility="visible";
		if(op==3){
			P7_LSMfadeOut(cD.id,0.99);
		}
		else{
			cD.style.display='none';
			P7_LSMshow_fin();
		}
	}
	else{
		nl=cl+il;
		nt=ct+it;
		if(op==2||op==3){
			nw=cw+iw;
			if(cw==tw){
				nh=ch+ih;
			}
			else{
				nh=ch;
				nt=ct;
			}
		}
		if(ih<0){
			nh=(nh<=th)?th:nh;
		}
		else{
			nh=(nh>=th)?th:nh;
		}
		if(iw<0){
			nw=(nw<=tw)?tw:nw;
		}
		else{
			nw=(nw>=tw)?tw:nw;
		}
		if(it<0){
			nt=(nt<=tt)?tt:nt;
		}
		else{
			nt=(nt>=tt)?tt:nt;
		}
		if(il<0){
			nl=(nl<=tl)?tl:nl;
		}
		else{
			nl=(nl>=tl)?tl:nl;
		}
		p7LSMantmr=setTimeout("P7_LSMgrow('"+id+"',"+nl+","+tl+","+nt+","+tt+","+nh+","+th+","+nw+","+tw+","+op+")",dy);
	}
}
function P7_LSMfadeOut(id,op){
	var im,dy=10,lm=0.01,inc,d=document.getElementById(id);
	p7LSMan=true;
	inc=(window.opera)?0.15:0.04;
	op=(op<=lm)?lm:op;
	if(!d.filters){
		d.style.opacity=op;
	}
	else{
		inc=.10;
		dy=30;
		d.style.filter='alpha(opacity='+op*100+')';
	}
	if(op>lm){
		op-=inc;
		p7LSMoptmr=setTimeout("P7_LSMfadeOut('"+id+"',"+op+")",dy);
	}
	else{
		d.style.display="none";
		P7_LSMpos('p7LSM_box');
		P7_LSMshow_fin();
	}
}
function P7_LSMkey(evt){
	var k,tg,nn,pp,m=true,tb=false,i,pp,dB,tA;
	if(p7LSMstat){
		evt=(evt)?evt:event;
		tg=(evt.target)?evt.target:evt.srcElement;
		nn=tg.nodeName.toLowerCase();
		if(!evt.altKey&&!evt.ctrlKey){
			if(nn!='input'&&nn!='textarea'){
				k=evt.keyCode;
				var j=evt.charCode;
				if(k==33||k==37||k==109 || k==32&&evt.shiftKey){
					P7_LSMctrl('previous');
					m=false;
				}
				else if(k==34||k==39||k==107||k==32){
					P7_LSMctrl('next');
					m=false;
				}
				else if(k==35){
					P7_LSMctrl('last');
					m=false;
				}
				else if(k==36){
					P7_LSMctrl('first');
					m=false;
				}
				else if(k==80){
					P7_LSMppTrig();
					m=false;
				}
				else if(k==27 || (k==88&&!window.opera)){
					P7_LSMclose();
					m=false;
				}
				else if(k==72&&!window.opera){
					P7_LSMhelp();
					m=false;
				}
				else if(k==84){
					P7_LSMtoc();
					m=false;
				}
			}
		}
	}
	if(!m){
		if(evt.preventDefault){
			evt.preventDefault();
		}
	}
	return m;
}
function P7_LSMwin(){
	var h,w;
	if(window.innerHeight){
		if(document.documentElement.clientWidth){
			w=document.documentElement.clientWidth;
		}
		else{
			w=window.innerWidth;
		}
		h=window.innerHeight;
	}
	else if(document.documentElement&&document.documentElement.clientHeight){
		w=document.documentElement.clientWidth;
		h=document.documentElement.clientHeight;
	}
	else if(document.body){
		w=document.body.clientWidth;
		h=document.body.clientHeight;
	}
	return [h,w];
}
function P7_LSMsetdsp(dd,dt){
	var el=document.getElementById(dd);
	if(el){
		el.style.display=dt;
	}
	return el;
}
function P7_LSMcopyCN(tD,tS){
	while(tD.childNodes.length>0){
		tD.removeChild(tD.childNodes[0]);
	}
	while(tS.childNodes.length>0){
		tD.appendChild(tS.childNodes[0]);
	}
}
function P7_LSMbuildpop(){
	var el,a,i,li,ul,ob,tb,bx,cn;
	tb=document.createElement('div');
	tb.setAttribute('id','p7LSM_toolbar');
	i=document.createElement('i');
	i.appendChild(document.createTextNode('contents'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_toc');
	a.setAttribute('href','#');
	a.setAttribute('title','Table of Contents');
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_toolbartoc');
	ob.appendChild(a);
	tb.appendChild(ob);
	ul=document.createElement('ul');
	i=document.createElement('i');
	i.appendChild(document.createTextNode('first'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_first');
	a.setAttribute('href','#');
	a.setAttribute('title','First');
	li=document.createElement('li');
	li.appendChild(a);
	ul.appendChild(li);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('previous'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_prev');
	a.setAttribute('href','#');
	a.setAttribute('title','Previous');
	li=document.createElement('li');
	li.appendChild(a);
	ul.appendChild(li);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('pause/play'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_pauseplay');
	a.setAttribute('href','#');
	a.setAttribute('title','Play');
	a.setAttribute('class','p7LSM_play');
	li=document.createElement('li');
	li.appendChild(a);
	ul.appendChild(li);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('next'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_next');
	a.setAttribute('href','#');
	a.setAttribute('title','Next');
	li=document.createElement('li');
	li.appendChild(a);
	ul.appendChild(li);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('last'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_last');
	a.setAttribute('href','#');
	a.setAttribute('title','Last');
	li=document.createElement('li');
	li.appendChild(a);
	ul.appendChild(li);
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_vcr');
	ob.appendChild(ul);
	tb.appendChild(ob);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('help'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_help');
	a.setAttribute('href','#');
	a.setAttribute('title','Help for Keyboard Users');
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_toolbarhelp');
	ob.appendChild(a);
	tb.appendChild(ob);
	i=document.createElement('i');
	i.appendChild(document.createTextNode('close'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id','p7LSM_close');
	a.setAttribute('href','#');
	a.setAttribute('title','Close');
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_toolbarclose');
	ob.appendChild(a);
	tb.appendChild(ob);
	cn=document.createElement('div');
	cn.setAttribute('id','p7LSM_container');
	cn.appendChild(tb);
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_cnt');
	cn.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_img');
	cn.appendChild(ob);
	bx=document.createElement('div');
	bx.setAttribute('id','p7LSM_box');
	bx.appendChild(cn);
	el=document.createElement('div');
	el.setAttribute('id','p7LSM_info');
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_caption');
	el.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_desc');
	el.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','p7LSM_counter');
	el.appendChild(ob);
	cn.appendChild(el);
	document.getElementsByTagName('body')[0].appendChild(bx);
	el=document.createElement('div');
	el.setAttribute("id","p7LSM_loading");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('a');
	el.setAttribute("id","p7LSMfslink");
	ob=document.createElement('img');
	ob.setAttribute("id","p7LSMfsim");
	el.appendChild(ob);
	document.getElementById('p7LSM_img').appendChild(el);
}
function P7_LSMisIE6(){
	var j,v,m=false;
	j=p7lsmA.indexOf("msie");
	v=parseInt(p7lsmA.substring(j+4,j+6));
	if(v<7){
		m=true;
	}
	return m;
}

/* 

  ================================================
  Horizontaler Scroller 1-13
  ================================================
  
 */

var p7HSMi=false,p7HSMctl=[],p7hsmobj,p7hsmofX,p7hsmuA=navigator.userAgent.toLowerCase();
function P7_setHSM(){
	var h;
	if(!document.getElementById){
		return;
	}
	h='\n<st'+'yle type="text/css">\n';
	h+='.p7HSM_vp {overflow:hidden;}\n';
	h+='.p7HSMdragchannel, .p7HSMtoolbar{display: block !important;}\n';
	h+='</s'+'tyle>';
	document.write(h);
}
P7_setHSM();
function P7_HSMrsz(){
	var i,b,tB;
	for(i=0;i<p7HSMctl.length;i++){
		tB=document.getElementById(p7HSMctl[i][0]);
		P7_HSMsetDrag(tB);
	}
}
function P7_HSMaddLoad(){
	if(!document.getElementById){
		return;
	}
	if(window.addEventListener){
		window.addEventListener("load",P7_initHSM,false);
		window.addEventListener("resize",P7_HSMrsz,false);
	}
	else if(window.attachEvent){
		window.attachEvent("onload",P7_initHSM);
		window.attachEvent("onresize",P7_HSMrsz);
	}
	else if(typeof window.onload=='function'){
		var p7vloadit=onload;
		window.onload=function(){
			p7vloadit();
			P7_initHSM();
		};
		p7vloadit=onresize;
		window.onresize=function(){
			P7_HSMrsz();
		};
	}
	else{
		window.onload=P7_initHSM;
	}
	p7HSMi=true;
}
function P7_opHSM(){
	var h='',hh,b,cn,sD,d,tB,cTD,mD;
	if(!document.getElementById){
		return;
	}
	p7HSMctl[p7HSMctl.length]=arguments;
	mD=document.getElementById(arguments[0].replace("b",''));
	mD.innerHTML=' <table width="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;position:relative;"><tr><td>'+mD.innerHTML+'</td></tr></table>';
	tB=document.getElementById(arguments[0]);
	d=tB.id.replace('b','d')+'_c'+arguments[8];
	sD=document.getElementById(d);
	if(sD){
		sD.innerHTML='<table border="0" cellspacing="0" cellpadding="0"><tr><td>'+sD.innerHTML+'</td></tr></table>';
		if(arguments[15]==1){
			sD=document.getElementById(d);
			cTD=sD.getElementsByTagName("TD")[0];
			if(window.opera){
				cTD.setAttribute("nowrap","nowrap");
			}
			else if(!P7_HSMgpv(cTD,"whiteSpace","white-space")){
				cTD.noWrap=true;
			}
			else{
				cTD.style.whiteSpace="nowrap";
			}
		}
	}
	if(!p7HSMi){
		P7_HSMaddLoad();
	}
}
function P7_initHSM(){
	var i,j,tB,d,sD,t,oh,dB,pp,dD,h,sf,w,nw,mD;
	for(i=0;i<p7HSMctl.length;i++){
		tB=document.getElementById(p7HSMctl[i][0]);
		if(tB){
			tB.p7opt=p7HSMctl[i];
			tB.p7acdv='';
			tB.p7dragbar=false;
			tB.p7resume='no';
			tB.p7status='none';
			tB.p7box=tB.id;
			d=tB.id.replace('b','d')+'_c'+tB.p7opt[8];
			sD=document.getElementById(d);
			if(sD){
				t=tB.p7opt[9];
				sD.style.left=t+'px';
				tB.p7acdv=d;
				if(t<tB.offsetLeft*-1){
					tB.p7dir='left';
				}
				else{
					tB.p7dir='right';
				}
				if(tB.p7opt[7]==1){
					tB.onmouseover=function(){
						if(this.p7status=='moving'){
							this.p7resume='yes';
						}
						P7_HSMpause(this,1);
					};
					tB.onmouseout=function(){
						if(this.p7resume=='yes'){
							P7_HSMplay(this,1);
						}
					};
				}
				dD=P7_HSMgbc(tB.id,"a",true);
				if(dD){
					dD.p7status='show';
					dD.onclick=function(){
						return P7_HSMshowall(this);
					};
				}
				d=tB.id.replace("b","dc");
				dB=document.getElementById(d);
				dD=P7_HSMgbc(tB.id,"db",true);
				dD=P7_HSMgbc(tB.id,"dc",true);
				if(dD){
					dDa=dD.getElementsByTagName("A")[0];
					tB.p7dragbar=d;
					if(tB.p7opt[14]===1){
						dDa.removeAttribute("href");
					}
					else{
						dDa.onmousedown=P7_HSMeng;
						dDa.onkeydown=P7_HSMkey;
						dDa.onkeyup=P7_HSMkeyup;
						dD.parentNode.onmousedown=P7_HSMeng;
					}
					P7_HSMsetDrag(tB);
				}
				dD=P7_HSMgbc(tB.id,"du",true);
				if(dD){
					dD.onmousedown=function(){
						P7_HSMmoveLeft(this);
					};
					dD.onmouseup=function(){
						P7_HSMpause(this);
					};
					dD.onkeydown=P7_HSMkey;
					dD.onkeyup=P7_HSMkeyup;
				}
				dD=P7_HSMgbc(tB.id,"dd",true);
				if(dD){
					dD.onmousedown=function(){
						P7_HSMmoveRight(this);
					};
					dD.onmouseup=function(){
						P7_HSMpause(this);
					};
					dD.onkeydown=P7_HSMkey;
					dD.onkeyup=P7_HSMkeyup;
				}
				dD=P7_HSMgbc(tB.id,"bu",true);
				if(dD){
					dD.onmousedown=function(){
						P7_HSMmoveLeft(this);
					};
					dD.onkeydown=P7_HSMkey;
					if(tB.p7opt[3]<3){
						dD.onmouseup=function(){
							P7_HSMpause(this);
						};
						dD.onkeyup=P7_HSMkeyup;
					}
				}
				dD=P7_HSMgbc(tB.id,"bd",true);
				if(dD){
					dD.onmousedown=function(){
						P7_HSMmoveRight(this);
					};
					dD.onkeydown=P7_HSMkey;
					if(tB.p7opt[3]<3){
						dD.onmouseup=function(){
							P7_HSMpause(this);
						};
						dD.onkeyup=P7_HSMkeyup;
					}
				}
				dD=P7_HSMgbc(tB.id,"bpp",true);
				if(dD){
					dD.onmousedown=function(){
						P7_HSMpp(this);
					};
					dD.onkeydown=P7_HSMppkey;
				}
				tB.accum=0;
				tB.autostarting=false;
				tB.p7hsmMode='manual';
				if(tB.p7opt[10]==1){
					tB.p7hsmMode='auto';
					tB.p7status='moving';
					tB.p7HSMtimer=setTimeout("P7_HSMplay('"+tB.id+"')",tB.p7opt[11]);
				}
			}
		}
	}
	P7_HSMaddEvts();
}
function P7_HSMgbc(bx,rp,fl){
	var d,ret;
	d=bx.replace("b",rp);
	ret=document.getElementById(d);
	if(ret&&fl){
		ret.p7box=bx;
	}
	return ret;
}
function P7_HSMaddEvts(){
	if(window.addEventListener){
		document.addEventListener("mousemove",P7_HSMdrg,false);
		document.addEventListener("mouseup",P7_HSMrel,false);
		document.addEventListener("DOMMouseScroll",P7_HSMwheel,false);
		if(window.opera || p7hsmuA.indexOf("applewebkit")>-1){
			document.addEventListener("mousewheel",P7_HSMwheel,false);
		}
	}
	else if(window.attachEvent){
		document.attachEvent("onmousemove",P7_HSMdrg);
		document.attachEvent("onmouseup",P7_HSMrel);
		document.attachEvent("onmousewheel",P7_HSMwheel);
	}
	else{
		document.onmousemove=P7_HSMdrg;
		document.onmouseup=P7_HSMrel;
	}
}
function P7_HSMshowall(a){
	var i,b,tB,tD,tC,tT,mv,dV,fl,cTD;
	b=a.p7box;
	tB=document.getElementById(b);
	tD=document.getElementById(tB.p7acdv);
	tC=P7_HSMgbc(tB.id,"cn");
	tT=P7_HSMgbc(tB.id,"tb");
	mv=tB.p7status;
	cTD=tD.getElementsByTagName("TD")[0];
	if(a.p7status=="show"){
		P7_HSMpause(b);
		tB.p7restore=mv;
		tB.p7restorepx=tD.style.left;
		a.p7status="restore";
		a.innerHTML="Restore Scroller";
		a.setAttribute("title","Restore Scroller");
		tD.style.left="0px";
		if(tB.p7dragbar){
			P7_HSMsetDrag(tB);
		}
		if(tB.p7opt[15]==1){
			if(window.opera){
				cTD.removeAttribute("nowrap");
			}
			else if(!P7_HSMgpv(cTD,"whiteSpace","white-space")){
				cTD.noWrap=false;
			}
			else{
				cTD.style.whiteSpace="normal";
			}
		}
		else{
			dV=tD.getElementsByTagName("DIV");
			for(i=0;i<dV.length;i++){
				fl=P7_HSMgpv(dV[i],'styleFloat','float');
				if(fl&&fl!="none"){
					dV[i].p7restoreFL=fl;
					if(p7hsmuA.indexOf('msie')>-1&&p7hsmuA.indexOf('windows')>-1){
						dV[i].style.styleFloat = 'none';
					}
					else{
						dV[i].style.cssFloat = 'none';
					}
				}
			}
		}
		if(tC){
			tC.style.visibility="hidden";
			tC.style.height="0";
		}
		if(tT){
			tT.style.visibility="hidden";
			tT.style.height="0";
		}
	}
	else{
		a.p7status="show";
		a.innerHTML="Show All";
		a.setAttribute("title","Show All Scroller Content");
		if(tB.p7opt[15]==1){
			if(window.opera){
				cTD.setAttribute("nowrap","nowrap");
			}
			else if(!P7_HSMgpv(cTD,"whiteSpace","white-space")){
				cTD.noWrap=true;
			}
			else{
				cTD.style.whiteSpace="nowrap";
			}
		}
		else{
			dV=tD.getElementsByTagName("DIV");
			for(i=0;i<dV.length;i++){
				if(dV[i].p7restoreFL){
					if(p7hsmuA.indexOf('msie')>-1&&p7hsmuA.indexOf('windows')>-1){
						dV[i].style.styleFloat=dV[i].p7restoreFL;
					}
					else{
						dV[i].style.cssFloat=dV[i].p7restoreFL;
					}
				}
			}
		}
		if(tB.p7restorepx){
			tD.style.left=tB.p7restorepx;
		}
		if(tC){
			tC.style.visibility="visible";
			tC.style.height="auto";
		}
		if(tT){
			tT.style.visibility="visible";
			tT.style.height="auto";
		}
		if(tB.p7dragbar){
			P7_HSMsetDrag(tB);
		}
		if(tB.p7restore=='moving'){
			P7_HSMplay(tB);
		}
	}
	return false;
}
function P7_HSMplay(b,ov){
	var tB,tS,t,ct,bh,sh,dy;
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	tB=document.getElementById(b);
	tB.p7hsmMode='auto';
	P7_HSMpause(b,ov);
	tS=document.getElementById(tB.p7acdv);
	bh=tB.offsetWidth;
	sh=tS.firstChild.offsetWidth;
	t=bh-sh;
	dy=tB.p7opt[2];
	if(t>=0){
		return;
	}
	ct=parseInt(tS.style.left,10);
	if(ct==t){
		if(tB.p7opt[3]===0 || tB.p7opt[3]==3){
			ct=0;
			P7_HSMmoveTo(tB.p7box,ct);
			dy=(tB.p7opt[3]==3)?tB.p7opt[13]:1000;
		}
	}
	t=(tB.p7dir=='right')?t:0;
	if(tB.p7opt[3]==2){
		t=t-bh;
		if(ct<t){
			ct=bh;
		}
		else if(ct>bh){
			ct=bh;
		}
		tS.style.left=ct+"px";
		tB.p7dir='right';
	}
	if(tB.p7opt[3]>2){
		var m=true;
		var x=tB.p7opt[12];
		while (m){
			if(ct>x){
				m=false;
				if(tB.p7dir=='right'){
					tB.accum=(x+tB.p7opt[12])-ct;
				}
				else{
					tB.accum=ct - x;
				}
			}
			if(x<=(tB.offsetWidth-tS.firstChild.offsetWidth)){
				m=false;
			}
			x-=tB.p7opt[12];
		}
	}
	P7_HSMspp(b,'play');
	if(tB.p7HSMtimer){
		clearTimeout(tB.p7HSMtimer);
	}
	tB.p7HSMtimer=setTimeout("P7_HSMscroll('"+tB.id+"',"+ct+","+t+","+false+")",dy);
}
function P7_HSMpp(b){
	var a,cl;
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	a=P7_HSMgbc(b,"bpp");
	cl=a.className;
	if(a.className=='pause'){
		a.className='play';
		P7_HSMpause(b);
	}
	else{
		a.className='pause';
		P7_HSMplay(b);
	}
}
function P7_HSMspp(b,m){
	var a=P7_HSMgbc(b,"bpp");
	if(a&&a.className&&a.className==m){
		a.className=(m=='play')?'pause':'play';
	}
}
function P7_HSMpause(b,ov){
	if(typeof(b)=='object'){
		b=b.p7box;
	}
	var dB=document.getElementById(b);
	if(dB.p7HSMtimer){
		clearTimeout(dB.p7HSMtimer);
		dB.p7status='stopped';
	}
	if(ov!=1){
		dB.p7resume='no';
	}
	P7_HSMspp(b,'pause');
}
function P7_HSMctrl(op,b,y){
	if(op=='pause'){
		P7_HSMpause(b);
	}
	else if(op=='play'){
		P7_HSMplay(b);
	}
	else if(op=='scrollLeft'){
		P7_HSMmoveLeft(b);
	}
	else if(op=='scrollRight'){
		P7_HSMmoveRight(b);
	}
	else if(op=='panelLeft'){
		P7_HSMmoveBy(b,'left');
	}
	else if(op=='panelRight'){
		P7_HSMmoveBy(b,'right');
	}
	else if(y&&op=='moveBy'){
		P7_HSMmoveBy(b,y);
	}
	else if(y&&op=='goTo'){
		P7_HSMmoveTo(b,y);
	}
	else if(op=='goToElement'){
		P7_HSMmovetoId(b);
	}
}
function P7_HSMmovetoId(d){
	var tB,tS,ct,tD,pp,tt,y=0,m=false,bx;
	pp=document.getElementById(d);
	while(pp){
		y+=pp.offsetLeft;
		if(pp.className&&pp.className=='p7HSM_scrolling'){
			m=true;
			break;
		}
		pp=pp.offsetParent;
	}
	if(m){
		tB=pp.parentNode;
		tS=document.getElementById(tB.p7acdv);
		ct=parseInt(tS.style.left,10);
		tt=ct-y;
		P7_HSMmoveTo(tB.id,tt);
	}
}
function P7_HSMwheel(evt){
	var g,m=false,r=true,delta=0,s,tS;
	evt=(evt)?evt:event;
	g=(evt.target)?evt.target:evt.srcElement;
	while(g){
		if(g.id&&g.id.indexOf("p7HSMb_")>-1){
			m=true;
			break;
		}
		g=g.parentNode;
	}
	if(m){
		tS=document.getElementById(g.p7acdv);
		if(tS.firstChild.offsetWidth>g.offsetWidth){
			r=false;
			if(evt.wheelDelta){
				delta=evt.wheelDelta/120;
				if(window.opera&&parseFloat(navigator.appVersion)<9.20){
					delta=delta*-1;
				}
			}
			else if(evt.detail){
				delta= -evt.detail/3;
			}
			s=delta*16;
			P7_HSMmoveBy(g.id,s);
			if(evt.preventDefault){
				evt.preventDefault();
			}
		}
	}
	return r;
}
function P7_HSMmoveBy(b,y){
	var tS,t,tB,rr;
	tB=document.getElementById(b);
	if(tB.p7status!="stopped"){
		P7_HSMpause(b);
	}
	tS=document.getElementById(tB.p7acdv);
	rr=tB.offsetWidth-tS.firstChild.offsetWidth;
	if(rr>=0){
		return;
	}
	if(y=='left'){
		y=tB.offsetWidth;
	}
	if(y=='right'){
		y=tB.offsetWidth*-1;
	}
	if(rr<0){
		t=parseInt(tS.style.left,10);
		t+=y;
		t=(t<=rr)?rr:t;
		t=(t>=0)?0:t;
		tS.style.left=t+"px";
		if(tB.p7dragbar){
			P7_HSMsetDrag(tB);
		}
	}
}
function P7_HSMmoveTo(b,y){
	var tB,tS,rr,t;
	P7_HSMpause(b);
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	rr=tB.offsetWidth-tS.firstChild.offsetWidth;
	if(rr>=0){
		return;
	}
	if(y=='start'){
		y=0;
	}
	else if(y=='end'){
		y=rr;
	}
	if(rr<0){
		t=parseInt(tS.style.left,10);
		y=(y<=rr)?rr:y;
		y=(y>=0)?0:y;
		tS.style.left=y+"px";
		if(tB.p7dragbar){
			P7_HSMsetDrag(tB);
		}
	}
}
function P7_HSMmoveLeft(b){
	var tS,t,tB,fl=1,a;
	if(typeof(b)=='object'){
		a=b;
		b=b.p7box;
	}
	P7_HSMpause(b);
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	if(tS.firstChild.offsetWidth<=tB.offsetWidth){
		return;
	}
	if(tB.p7opt[3]>2){
		if(a&&a.id&&a.id.indexOf("p7HSMbu_")>-1){
			fl=2;
		}
	}
	P7_HSMscroll(tB.id,parseInt(tS.style.left,10),0,fl);
}
function P7_HSMmoveRight(b){
	var tS,t,tB,fl=1,a;
	P7_HSMpause(b);
	if(typeof(b)=='object'){
		a=b;
		b=b.p7box;
	}
	tB=document.getElementById(b);
	tS=document.getElementById(tB.p7acdv);
	t=tB.offsetWidth-tS.firstChild.offsetWidth;
	if(t>=0){
		return;
	}
	if(tB.p7opt[3]>2){
		if(a&&a.id&&a.id.indexOf("p7HSMbd_")>-1){
			fl=2;
		}
	}
	P7_HSMscroll(tB.id,parseInt(tS.style.left,10),t,fl);
}
function P7_HSMscroll(b,ct,tt,dd){
	var fr,dy,dB,dD,nt,dr,r,m=true,op;
	if(!dd){
		dd=false;
	}
	dB=document.getElementById(b);
	dD=document.getElementById(dB.p7acdv);
	dB.p7status='moving';
	op=dB.p7opt[3];
	r=dB.offsetWidth-dD.firstChild.offsetWidth;
	if(r>=0){
		return;
	}
	if(!dd){
		fr=dB.p7opt[1];
		dy=dB.p7opt[2];
	}
	else{
		fr=dB.p7opt[4];
		dy=dB.p7opt[5];
	}
	if(tt!==0){
		if(op>2&&dd!==1){
			dB.accum+=fr;
			if(dB.accum>=dB.p7opt[12]){
				fr-=dB.accum-dB.p7opt[12];
				dB.accum=0;
				m=false;
			}
		}
		ct-=fr;
		if(ct<=tt){
			ct=tt;
			m=false;
		}
	}
	else{
		if(dd!=1&&op>2){
			dB.accum+=fr;
			if(dB.accum>=dB.p7opt[12]){
				fr-=dB.accum-dB.p7opt[12];
				dB.accum=0;
				m=false;
			}
		}
		ct+=fr;
		if(ct>=tt){
			ct=tt;
			m=false;
		}
	}
	dD.style.left=ct+"px";
	if(dB.p7dragbar){
		P7_HSMsetDrag(dB);
	}
	if(!m&&dd!==1){
		if(op>2){
			dB.accum=0;
			dy=dB.p7opt[13];
			if(dd!==2){
				if(ct!==0&&ct!=r){
					m=true;
				}
			}
			if(op==4 && (ct===0||ct==r)){
				op=1;
			}
		}
		if(op==1){
			tt=(ct===0)?r:0;
			dB.p7dir=(tt===0)?'left':'right';
			if(dd!==2){
				m=true;
			}
		}
		else if(op==2){
			ct=dB.offsetWidth;
			dB.p7dir='right';
			m=true;
		}
	}
	if(m){
		dB.p7HSMtimer=setTimeout("P7_HSMscroll('"+b+"',"+ct+","+tt+","+dd+")",dy);
	}
	else{
		dB.p7status='stopped';
		P7_HSMpause(dB.p7box);
	}
}
function P7_HSMkey(evt){
	var tg,m=true;
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode==37){
			P7_HSMmoveLeft(tg.p7box);
			m=false;
		}
		else if(evt.keyCode==39){
			P7_HSMmoveRight(tg.p7box);
			m=false;
		}
		else if(evt.keyCode==34||evt.keyCode==40|| (evt.keyCode==32&&evt.shiftKey) ){
			P7_HSMmoveBy(tg.p7box,'left');
			m=false;
		}
		else if(evt.keyCode==33||evt.keyCode==38||(evt.keyCode==32)){
			P7_HSMmoveBy(tg.p7box,'right');
			m=false;
		}
		else if(evt.keyCode==36){
			P7_HSMmoveTo(tg.p7box,'start');
			m=false;
		}
		else if(evt.keyCode==35){
			P7_HSMmoveTo(tg.p7box,'end');
			m=false;
		}
		if(!m){
			if(evt.preventDefault){
				evt.preventDefault();
			}
		}
	}
	return m;
}
function P7_HSMkeyup(evt){
	var tg;
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode!=9&&evt.keyCode!=16){
			P7_HSMpause(tg.p7box);
		}
	}
}
function P7_HSMppkey(evt){
	var tg;
	evt=(evt)?evt:event;
	tg=(evt.target)?evt.target:evt.srcElement;
	if(tg&&tg.p7box){
		if(evt.keyCode==13){
			P7_HSMpp(tg.p7box);
		}
	}
}
function P7_HSMeng(evt){
	var tg,x,g,pp,m=true,dr,dc,dL=0;
	evt=(evt)?evt:event;
	p7hsmobj=null;
	tg=(evt.target)?evt.target:evt.srcElement;
	g=tg.parentNode;
	if(evt.clientX){
		if(tg&&tg.id&&tg.id.indexOf('p7HSMcn_')>-1){
			g=document.getElementById(tg.id.replace("cn","db"));
			dc=document.getElementById(tg.id.replace("cn","dc"));
			P7_HSMpause(g.p7box);
			pp=dc;
			while(pp){
				dL+=pp.offsetLeft;
				pp=pp.offsetParent;
			}
			x=evt.clientX-dL;
			dr='right';
			if(x<=g.offsetLeft){
				dr='left';
			}
			P7_HSMmoveBy(g.p7box,dr);
			m=false;
		}
		else if(g&&g.id&&g.id.indexOf('p7HSMdb_')>-1){
			p7hsmobj=g;
			P7_HSMpause(g.p7box);
			x=(p7hsmobj.offsetLeft)?p7hsmobj.offsetLeft:0;
			p7hsmofX=evt.clientX-x;
			if(!document.addEventListener&&document.attachEvent){
				g.setCapture();
			}
			m=false;
		}
	}
	return m;
}
function P7_HSMdrg(evt){
	evt=(evt)?evt:event;
	var m=true;
	if(p7hsmobj){
		if(evt.clientX){
			P7_HSMshift(p7hsmobj,(evt.clientX-p7hsmofX));
		}
		evt.cancelBubble=true;
		m=false;
	}
	return true;
}
function P7_HSMrel(){
	if(p7hsmobj){
		if(!document.addEventListener&&document.attachEvent){
			p7hsmobj.releaseCapture();
		}
		p7hsmobj=null;
	}
}
function P7_HSMshift(obj,x){
	var tC,d,b,bT,s,sT,bh,sh,p,xx,r,rr,cw;
	d=obj.id.replace("db","dc");
	tC=document.getElementById(d);
	b=obj.id.replace("db","b");
	bT=document.getElementById(b);
	cw=P7_HSMdbw(bT,tC);
	r=cw-obj.offsetWidth;
	x=(x<=0)?0:x;
	x=(x>=r)?r:x;
	s=bT.p7acdv;
	sT=document.getElementById(s);
	rr=bT.offsetWidth-sT.firstChild.offsetWidth;
	if(rr>=0){
		x=0;
		rr=0;
	}
	p=x/r;
	xx=parseInt(rr*p,10);
	obj.style.left=x+"px";
	sT.style.left=xx+"px";
}
function P7_HSMsetDrag(sB){
	var dC,s,dB,x,xx,rr,r,p,sD,cw;
	if(sB.p7dragbar){
		dC=document.getElementById(sB.p7dragbar);
		s=dC.id.replace("dc","db");
		dB=document.getElementById(s);
		sD=document.getElementById(sB.p7acdv);
		x=parseInt(sD.style.left,10);
		rr=sB.offsetWidth-sD.firstChild.offsetWidth;
		cw=P7_HSMdbw(sB,dC);
		r=cw-dB.offsetWidth;
		p=x/rr;
		xx=parseInt(r*p,10);
		xx=(xx<=0)?0:xx;
		xx=(xx>=r)?r:xx;
		if(!isNaN(xx)){
			dB.style.left=xx+"px";
		}
	}
}
function P7_HSMdbw(tB,dB){
	var pp,ow=0,w,j,sf;
	ow=tB.offsetWidth;
	if(dB){
		pp=dB.parentNode.childNodes;
		for(j=0;j<pp.length;j++){
			if(pp[j].nodeName=='DIV'&&pp[j]!=dB){
				w=pp[j].offsetWidth;
				if(!w||w===0){
					w=parseInt(P7_HSMgpv(pp[j].getElementsByTagName("A")[0],'width','width'),10);
				}
				w=(w>0)?w:0;
				ow-=w;
			}
		}
	}
	return ow;
}
function P7_HSMgpv(ob,prop,prop2){
	var h,v=null;
	if(ob){
		if(ob.currentStyle){
			v=eval('ob.currentStyle.'+prop);
		}
		else if(document.defaultView.getComputedStyle(ob,"")){
			v=document.defaultView.getComputedStyle(ob,"").getPropertyValue(prop2);
		}
		else{
			v=eval("ob.style."+prop);
		}
	}
	return v;
}










