var SHOWA='';
var SHOWa=[];
SHOWa[0]='';
SHOWa[1]='';
SHOWa[2]='';
SHOWa[3]='';
SHOWa[4]='';
SHOWa[5]='';
	

var SHOWtoc='';

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

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

var SHOWCASEi=false,SHOWCASEf=false,SHOWCASEctl=[],SHOWCASEcshow=[],SHOWCASEmode='pause',SHOWantmr,SHOWCASEimtmr,SHOWCASEoptmr,SHOWCASEshowtmr,SHOWan=false;
var SHOWCASEstat=false,prayadotmyA=navigator.userAgent.toLowerCase(),SHOWCASEcan=true,SHOWCASEnextMode='',SHOWCASEtocActive=false,SHOWCASEhlpActive=false;
if(!document.getElementById||typeof document.appendChild=='undefined'||prayadotmyA.indexOf('msie 5')>-1){
	SHOWCASEcan=false;
}
function PR_AYADOTMYset(){
	var i,h,sh,hd,x,v;
	if(!SHOWCASEcan){
		return;
	}
	sh='.prayadotmy_link {display:none;}\n';
	sh+='.prayadotmy_description {display:none;}\n';
	sh+='.prayadotmy_content {display:none;}\n';
	sh+='.prayadotmy_link {display:none;}\n';
	sh+='#SHOWCASE_ovr {position:absolute;top:0px;left:0px;display:none;z-index:9999900;}\n';
	sh+='#prayadotmy_overlay {position:fixed;width:100%;height:100%;left:0px;top:0px;z-index:9999900;display:none;}\n';
	sh+='#SHOWCASE_box {position:absolute;display:block;top:0px;left:-9000px;width:100px;overflow:hidden;z-index:9999930;}\n';
	sh+='#prayadotmy_abox {position:absolute;top:0px;left:0px;display:none;z-index:9999960;}\n';
	sh+='#SHOWCASE_loading {display:none;position:absolute;top:0px;left:0px;z-index:9999980;}\n';
	sh+='#SHOWCASE_helpbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999990;}\n';
	sh+='#SHOWCASE_tocbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999995;}\n';
	sh+='#SHOWCASE_descboxW {display:block;position:absolute;top:0px;left:-9000px;z-index:9999985;overflow:hidden;}\n';
	if(PR_AYADOTMYisIE6()){
		sh+='#prayadotmy_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);
	}
}
PR_AYADOTMYset();
function PR_AYADOTMYaddLoad(){
	if(!SHOWCASEcan){
		return;
	}
	if(window.addEventListener){
		window.addEventListener("load",PR_AYADOTMYinit,false);
		window.addEventListener("resize",PR_AYADOTMYrsz,false);
		window.addEventListener("unload",PR_AYADOTMYclose,false);
		document.addEventListener("keydown",PR_AYADOTMYkey,false);
	}
	else if(window.attachEvent){
		window.attachEvent("onload",PR_AYADOTMYinit);
		window.attachEvent("onresize",PR_AYADOTMYrsz);
		window.attachEvent("onunload",PR_AYADOTMYclose);
		document.attachEvent("onkeydown",PR_AYADOTMYkey);
	}
}
PR_AYADOTMYaddLoad();
function PR_AYADOTMYop(){
	if(!document.getElementById||!SHOWCASEcan){
		return;
	}
	SHOWCASEctl[SHOWCASEctl.length]=arguments;
}
function PR_AYADOTMYinit(){
	var i,j,x=0,el,ob,h,tx,tD,tA,cntr=0,tIM,tB,bA,li,ul,tR,obb;
	if(SHOWCASEi||!SHOWCASEcan){
		return;
	}
	SHOWCASEi=true;
	PR_AYADOTMYbuildpop();
	el=document.createElement('div');
	el.setAttribute("id","prayadotmy_abox");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","prayadotmy_overlay");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","SHOWCASE_ovr");
	ob=document.createElement('img');
	ob.setAttribute('id','SHOWCASE_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 PR_AYADOTMYhelp();
	};
	obb=document.createElement('div');
	obb.setAttribute("class","SHOWCASE_helpbox_close");
	obb.appendChild(ob);
	el.appendChild(obb);
	ob=document.createElement('p');
	ob.appendChild(document.createTextNode(SHOWA));
	el.appendChild(ob);
	ob=document.createElement('ul');
	for(i=0;i<SHOWa.length;i++){
		li=document.createElement('li')
		li.appendChild(document.createTextNode(SHOWa[i]));
		ob.appendChild(li);
	}
	el.appendChild(ob);
	el.setAttribute("id","SHOWCASE_helpbox");
	el.prstatus="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 PR_AYADOTMYtoc();
	};
	obb=document.createElement('div');
	obb.setAttribute("class","SHOWCASE_tocbox_close");
	obb.appendChild(ob);
	el.appendChild(obb);
	ob=document.createElement('p');
	ob.appendChild(document.createTextNode(SHOWtoc));
	el.appendChild(ob);
	el.setAttribute("id","SHOWCASE_tocbox");
	el.prstatus="closed";
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('div');
	el.setAttribute("id","SHOWCASE_descboxW");
	el.prstatus="closed";
	obb=document.createElement('div');
	obb.setAttribute("id","SHOWCASE_descboxInner");
	el.appendChild(obb);
	ob=document.createElement('div');
	ob.setAttribute("id","SHOWCASE_descbox");
	obb.appendChild(ob);
	document.getElementsByTagName('body')[0].appendChild(el);
	bA=document.getElementById("SHOWCASE_box");
	bA.prstatus="closed";
	bA=document.getElementById("SHOWCASE_help");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYhelp();
		};
	}
	bA=document.getElementById("SHOWCASE_toc");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYtoc();
		};
	}
	bA=document.getElementById("SHOWCASE_first");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYctrl('first');
		};
	}
	bA=document.getElementById("SHOWCASE_prev");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYctrl('previous');
		};
	}
	bA=document.getElementById("SHOWCASE_next");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYctrl('next');
		};
	}
	bA=document.getElementById("SHOWCASE_last");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYctrl('last');
		};
	}
	bA=document.getElementById("SHOWCASE_pauseplay");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYppTrig();
		};
	}
	bA=document.getElementById("SHOWCASE_close");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYclose();
		};
	}
	bA=document.getElementById("prayadotmy_overlay");
	if(bA){
		bA.onclick=function(){
			return PR_AYADOTMYclose();
		};
	}
	document.prayadotmypre=[];
	document.getElementById("SHOWCASE_desc").prsrc=false;
	document.getElementById("SHOWCASE_cnt").prsrc=false;
	for(j=0;j<SHOWCASEctl.length;j++){
		tD=document.getElementById(SHOWCASEctl[j][0]);
		if(tD){
			cntr=-1;
			tD.propt=SHOWCASEctl[j];
			tD.prslides=[];
			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("prayadotmy_type")>-1){
					cntr++;
					tD.prslides[cntr]=tA[i];
					tA[i].onclick=function(){
						return PR_AYADOTMYshow(this);
					};
					tA[i].parentNode.onmouseover=function(){
						this.className="over";
					};
					tA[i].parentNode.onmouseout=function(){
						this.className="";
					};
					tA[i].prayadotmydiv=tD.id;
					tA[i].prayadotmysnum=cntr+1;
					if(tA[i].className=="prayadotmy_type_img"){
						if(tD.propt[10]==1){
							tA[i].onmouseover=function(){
								PR_AYADOTMYrollover(this);
							};
							tA[i].onmouseout=PR_AYADOTMYrollout;
						}
						document.prayadotmypre[x]=new Image();
						document.prayadotmypre[x].cmp=false;
						document.prayadotmypre[x].onload=function(){
							this.cmp=true;
						};
						document.prayadotmypre[x].onerror=function(){
							this.cmp=true;
							this.width=300;
							this.height=300;
						};
						tA[i].primindex=x;
						x++;
					}
				}
			}
			tD.prayadotmynum=tD.prslides.length;
		}
	}
	PR_AYADOTMYpause(1);
	SHOWCASEf=true;
}
function PR_AYADOTMYrollover(a){
	var tp,rD,rI,tI,dm,rw,rh,tt,tl;
	tp=a.className;
	if(tp&&tp.indexOf("_img")>-1){
		rD=document.getElementById("SHOWCASE_ovr");
		rI=document.getElementById("SHOWCASE_ovrimg");
		tI=a.getElementsByTagName("img");
		dm=PR_AYADOTMYdims(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 PR_AYADOTMYrollout(){
	var rD=document.getElementById("SHOWCASE_ovr");
	rD.style.display="none";
}
function PR_AYADOTMYctrl(ag,sd,bp){
	var n,x,cDB,toc,op;
	if(!SHOWCASEf){
		return false;
	}
	if(!ag){
		ag='next';
	}
	if(ag=='pause'){
		PR_AYADOTMYpause();
		return false;
	}
	if(ag=='play'){
		PR_AYADOTMYplay();
		return false;
	}
	if(ag=='close'){
		PR_AYADOTMYclose();
		return false;
	}
	if(!sd){
		if(SHOWCASEcshow[0]){
			sd=SHOWCASEcshow[0];
		}
		else{
			sd=SHOWCASEctl[0][0];
		}
	}
	if(!SHOWCASEcshow[0]){
		SHOWCASEcshow[0]=sd;
		SHOWCASEcshow[1]=1;
	}
	cDB=document.getElementById(sd);
	if(!cDB||!cDB.prayadotmynum){
		return false;
	}
	if(sd!=SHOWCASEcshow[0]){
		SHOWCASEcshow[1]=1;
	}
	op=PR_AYADOTMYopts();
	if(ag=='first'){
		n=1;
		if(op[5]==3&&sd!=SHOWCASEctl[0][0]){
			sd=SHOWCASEctl[0][0];
			cDB=document.getElementById(sd);
			PR_AYADOTMYtochelpStat();
			PR_AYADOTMYclose();
		}
		else{
			if(n==SHOWCASEcshow[1]&&cDB.prstatus=='open'){
				return false;
			}
		}
	}
	else if(ag=='last'){
		n=cDB.prayadotmynum;
		if(op[5]==3&&sd!=SHOWCASEctl[0][SHOWCASEctl.length-1]){
			sd=SHOWCASEctl[SHOWCASEctl.length-1][0];
			cDB=document.getElementById(sd);
			n=cDB.prayadotmynum;
			PR_AYADOTMYtochelpStat();
			PR_AYADOTMYclose();
		}
		else{
			if(n==SHOWCASEcshow[1]&&cDB.prstatus=='open'){
				return false;
			}
		}
	}
	else if(ag=='next'){
		n=SHOWCASEcshow[1]+1;
		if(n>cDB.prayadotmynum){
			if(op[5]==0){
				return false;
			}
			else if(cDB.propt[5]==1){
				n=1;;
			}
			else if(cDB.propt[5]==2){
				return false;
			}
			else if(op[5]==3){
				x=PR_AYADOTMYnextShow();
				sd=SHOWCASEctl[x][0];
				cDB=document.getElementById(sd);
				n=1;
				if(SHOWCASEmode=="auto"){
					SHOWCASEnextMode='auto';
				}
				PR_AYADOTMYtochelpStat();
				PR_AYADOTMYclose();
			}
		}
	}
	else if(ag=='previous'){
		n=SHOWCASEcshow[1]-1;
		if(n<1){
			if(op[5]==0){
				return false;;
			}
			else if(cDB.propt[5]==1){
				n=cDB.prayadotmynum;
			}
			else if(cDB.propt[5]==2){
				return false;
			}
			else if(op[5]==3){
				x=PR_AYADOTMYprevShow();
				sd=SHOWCASEctl[x][0];
				cDB=document.getElementById(sd);
				n=cDB.prayadotmynum;
				PR_AYADOTMYtochelpStat();
				PR_AYADOTMYclose();
			}
			else{
				return false;
			}
		}
	}
	else{
		n=parseInt(ag);
	}
	if(!n||n<1){
		n=1;
	}
	else if(n>cDB.prayadotmynum){
		n=cDB.prayadotmynum;
	}
	n--;
	if(op[8]==1&&SHOWCASEnextMode!='auto'&&bp!=1){
		PR_AYADOTMYpause();
	}
	PR_AYADOTMYshow(cDB.prslides[n]);
	return false;
}
function PR_AYADOTMYppTrig(){
	if(!SHOWCASEf){
		return false;
	}
	var a=document.getElementById('SHOWCASE_pauseplay');
	if(a.prstate=='play'){
		PR_AYADOTMYpause();
	}
	else{
		PR_AYADOTMYplay();
	}
	return false;
}
function PR_AYADOTMYplay(bp){
	var n,b=document.getElementById('SHOWCASE_pauseplay');
	if(SHOWCASEmode=='auto'&&bp!=1){
		return;
	}
	b.prstate='play';
	SHOWCASEmode='auto';
	b.title='Pause';
	b.className='SHOWCASE_pause';
	if(bp!=1){
		PR_AYADOTMYctrl('next','',1);
	}
}
function PR_AYADOTMYpause(bp){
	var b=document.getElementById('SHOWCASE_pauseplay');
	if(SHOWCASEshowtmr){
		clearTimeout(SHOWCASEshowtmr);
	}
	b.prstate='pause';
	if(bp!=1){
		SHOWCASEmode='pause';
	}
	b.title='Play';
	b.className='SHOWCASE_play';
}
function PR_AYADOTMYdescpop(ac,bp){
	var dP,dPC,op,tl,tt,th,tw,cl,ct,cw,ch;
	dP=document.getElementById("SHOWCASE_descboxW");
	dPC=document.getElementById("SHOWCASE_descbox");
	op=PR_AYADOTMYopts();
	if(ac=='show'){
		dP.prstatus="open";
		if(op[1]>1&&bp!=1){
			dP.style.width=dP.offsetWidth+"px";
			dP.style.visibility="hidden";
			dP.style.height="auto";
			PR_AYADOTMYposdesc();
			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";
			PR_AYADOTMYglide(dP.id,ct,tt,ch,th,'open');
		}
		else{
			PR_AYADOTMYposdesc();
			PR_AYADOTMYshow_fin2();
		}
	}
	else{
		if(op[1]>1&&bp!=1){
			ct=parseInt(dP.style.top);
			ch=dP.offsetHeight;
			th=0;
			tt=ct+ch;
			PR_AYADOTMYglide(dP.id,ct,tt,ch,th,'close');
		}
		else{
			dP.prstatus="closed";
			dP.style.left="-9000px";
			dP.style.top="0px";
			dP.style.height="10px";
			if(bp==2){
				PR_AYADOTMYshowB();
			}
		}
	}
}
function PR_AYADOTMYglide(id,ct,tt,ch,th,dr){
	var inc=2,dy=10,pc=0.08,tv,sp,dV=document.getElementById(id);
	SHOWan=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){
		SHOWan=false;
		if(dr=='open'){
			dV.style.height="auto";
			if(dV.id=='SHOWCASE_descboxW'){
				PR_AYADOTMYshow_fin2();
			}
		}
		else{
			dV.style.left="-9000px";
			dV.style.height="10px";
			dV.style.top="0px";
			if(dV.id=='SHOWCASE_descboxW'){
				dV.prstatus="closed";
				PR_AYADOTMYshowB();
			}
		}
	}
	else{
		ct+=inc;
		ch-=inc;
		if(dr=='open'&&ct<tt){
			ct=tt;
			ch=th;
		}
		if(dr=='close'&&ct>tt){
			ct=tt;
			ch=th;
		}
		SHOWantmr=setTimeout("PR_AYADOTMYglide('"+id+"',"+ct+","+tt+","+ch+","+th+",'"+dr+"')",dy);
	}
}
function PR_AYADOTMYhelp(ac){
	var hp,tR,tB;
	hp=document.getElementById("SHOWCASE_helpbox");
	tR=document.getElementById('SHOWCASE_help');
	if(null==ac){
		ac=(hp.prstatus=='closed')?'show':'hide';
	}
	if(ac=='show'){
		hp.prstatus="open";
		if(tR){
			tR.className='down';
		}
		tB=document.getElementById(SHOWCASEcshow[0]);
		if(!tB){
			tB=document.getElementById(SHOWCASEctl[0][0]);
		}
		hp.className=tB.className;
		PR_AYADOTMYposhelp();
	}
	else{
		if(tR){
			tR.className='';
		}
		hp.style.left="-9000px";
		hp.style.top="0px";
		hp.style.height="10px";
		hp.prstatus="closed";
	}
	return false;
}
function PR_AYADOTMYtitle(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 PR_AYADOTMYtoc(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("SHOWCASE_tocbox");
	if(ac==null){
		ac=(toc.prstatus=='closed')?'show':'hide';
	}
	tR=document.getElementById('SHOWCASE_toc');
	if(ac=='show'){
		PR_AYADOTMYclrtag(toc,'ol');
		if(!sd){
			tB=document.getElementById(SHOWCASEcshow[0]);
			if(!tB){
				tB=document.getElementById(SHOWCASEctl[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('prayadotmy_type')>-1){
				tt=PR_AYADOTMYtitle(tA[i]);
				ea=document.createElement('a');
				ea.appendChild(document.createTextNode(tt));
				ea.setAttribute("href","javascript:;");
				ea.prnum=(x);
				x++
				ea.onclick=function(){
					cDB=document.getElementById(SHOWCASEcshow[0]);
					PR_AYADOTMYshow(cDB.prslides[this.prnum]);
					return false;
				};
				li=document.createElement("li");
				li.appendChild(ea);
				ol.appendChild(li);
			}
		}
		toc.appendChild(ol);
		toc.prstatus="open";
		if(tR){
			tR.className='down';
		}
		PR_AYADOTMYsetTOC();
		PR_AYADOTMYpostoc();
	}
	else{
		toc.style.left="-9000px";
		toc.style.top="0px";
		toc.prstatus="closed";
		if(tR){
			tR.className='';
		}
		PR_AYADOTMYclrtag(toc,'ol');
	}
	return false;
}
function PR_AYADOTMYsetTOC(){
	var i,tT,tA,cI;
	cI=SHOWCASEcshow[1]-1;
	tT=document.getElementById('SHOWCASE_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 PR_AYADOTMYtochelpStat(){
	var tD=document.getElementById('SHOWCASE_tocbox');
	if(tD.prstatus=="open"){
		SHOWCASEtocActive=true;
	}
	else{
		SHOWCASEtocActive=false;
	}
	tD=document.getElementById('SHOWCASE_helpbox');
	if(tD.prstatus=="open"){
		SHOWCASEhlpActive=true;
	}
	else{
		SHOWCASEhlpActive=false;
	}
}
function PR_AYADOTMYclrtag(ob,tg){
	var i,tG;
	tG=ob.getElementsByTagName(tg);
	if(tG&&tG[0]){
		ob.removeChild(tG[0]);
	}
}
function PR_AYADOTMYshow(a){
	var pB,op;
	if(!SHOWCASEf){
		return false;
	}
	PR_AYADOTMYrollout();
	if(SHOWantmr){
		clearTimeout(SHOWantmr);
	}
	if(SHOWCASEoptmr){
		clearTimeout(SHOWCASEoptmr);
	}
	if(SHOWCASEimtmr){
		clearTimeout(SHOWCASEimtmr);
	}
	if(SHOWCASEshowtmr){
		clearTimeout(SHOWCASEshowtmr);
	}
	document.getElementById('SHOWCASE_loading').style.display="none";
	SHOWCASEcshow[0]=a.prayadotmydiv;
	SHOWCASEcshow[1]=a.prayadotmysnum;
	SHOWCASEcshow[2]=a;
	op=PR_AYADOTMYopts();
	pB=document.getElementById('SHOWCASE_descboxW');
	if(pB.prstatus=="open"&&op[17]!=1){
		PR_AYADOTMYdescpop('hide',2);
	}
	else{
		PR_AYADOTMYshowB();
	}
	return false;
}
function PR_AYADOTMYshowB(){
	var i,a,cAB,cOV,cDB,sD,bw=0,bh=0,x,pI,prg,op,opp;
	a=SHOWCASEcshow[2];
	PR_AYADOTMYsetTOC();
	op=PR_AYADOTMYopts();
	PR_AYADOTMYbuttons();
	if(op[19]==0){
		PR_AYADOTMYsetdsp('SHOWCASE_toolbar','none');
		document.getElementById("SHOWCASE_container").className="hideToolbar";
	}
	else{
		PR_AYADOTMYsetdsp('SHOWCASE_toolbar','block');
		document.getElementById("SHOWCASE_container").className="";
	}
	cAB=document.getElementById('prayadotmy_abox');
	cOV=document.getElementById('prayadotmy_overlay');
	cDB=document.getElementById('SHOWCASE_box');
	if(cDB.prstatus=='closed'){
		if(op[9]==1||SHOWCASEnextMode=='auto'){
			if(SHOWCASEmode!="auto"){
				SHOWCASEmode="auto";
				PR_AYADOTMYplay(1);
			}
		}
	}
	SHOWCASEnextMode='';
	cDB.style.display="block";
	cOV.style.display="block";
	SHOWCASEstat=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.prstatus=='open'){
		cDB.prnew=false;
		bw=cDB.offsetWidth;
		bh=cDB.offsetHeight;
		cDB.prbl=parseInt(cDB.style.left);
		cDB.prbt=parseInt(cDB.style.top);
		cDB.prstatus='closed';
	}
	else{
		cDB.prnew=true;
		sD=document.getElementById(SHOWCASEcshow[0]);
		cDB.className=sD.className;
		cAB.className=sD.className;
		cOV.className=sD.className;
		document.getElementById('SHOWCASE_helpbox').className=sD.className;
		document.getElementById('SHOWCASE_tocbox').className=sD.className;
		document.getElementById('SHOWCASE_descboxW').className=sD.className;
		if(op[13]==1||SHOWCASEtocActive){
			PR_AYADOTMYtoc('show');
			SHOWCASEtocActive=false;
		}
		if(op[16]==1||SHOWCASEhlpActive){
			PR_AYADOTMYhelp('show');
			SHOWCASEhlpActive=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";
		PR_AYADOTMYpos(cAB.id);
	}
	if(op[1]>0){
		cDB.style.left="-9000px";
	}
	cDB.prbw=bw;
	cDB.prbh=bh;
	cDB.style.height="auto";
	if(a.className=='prayadotmy_type_img'){
		x=a.primindex;
		pI=document.prayadotmypre[x];
		if(!pI.cmp){
			PR_AYADOTMYposldng();
			pI.src=a.href;
			PR_AYADOTMYload_img(x);
		}
		else{
			if(op[1]>0){
				SHOWantmr=setTimeout("PR_AYADOTMYshow_dsp()",prayadotmydly);
			}
			else{
				PR_AYADOTMYshow_dsp();
			}
		}
	}
	else if(a.className=='prayadotmy_type_cnt'){
		if(op[1]>0){
			SHOWantmr=setTimeout("PR_AYADOTMYshow_dsp()",prayadotmydly);
		}
		else{
			PR_AYADOTMYshow_dsp();
		}
	}
}
function PR_AYADOTMYshow_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=SHOWCASEcshow[2];
	PR_AYADOTMYrestore();
	cDB=document.getElementById('SHOWCASE_box');
	cAB=document.getElementById('prayadotmy_abox');
	pB=document.getElementById('SHOWCASE_descboxW');
	pBC=document.getElementById('SHOWCASE_descbox');
	cB=document.getElementById(SHOWCASEcshow[0]);
	cN=a.parentNode.childNodes;
	an=cB.propt[1];
	if(cB.propt[6]==1){
		el=PR_AYADOTMYsetdsp('SHOWCASE_counter','block');
		ob=document.createTextNode('Image '+a.prayadotmysnum+' of '+cB.prayadotmynum);
		if(el.hasChildNodes){
			for(i=0;i<el.childNodes.length;i++){
				el.removeChild(el.childNodes[i]);
			}
		}
		el.appendChild(ob);
	}
	else{
		PR_AYADOTMYsetdsp('SHOWCASE_counter','none');
	}
	if(cB.propt[12]==1){
		el=PR_AYADOTMYsetdsp('SHOWCASE_caption','block');
		ob=document.createTextNode(PR_AYADOTMYtitle(a));
		if(el.hasChildNodes){
			for(i=0;i<el.childNodes.length;i++){
				el.removeChild(el.childNodes[i]);
			}
		}
		el.appendChild(ob);
	}
	else{
		PR_AYADOTMYsetdsp('SHOWCASE_caption','none');
	}
	tw=cB.propt[4];
	cDB.style.width=tw+"px";
	PR_AYADOTMYsetdsp('SHOWCASE_cnt','none');
	PR_AYADOTMYsetdsp('SHOWCASE_img','none');
	PR_AYADOTMYsetdsp('SHOWCASE_desc','none');
	if(a.className=='prayadotmy_type_img'){
		cIM=document.getElementById('SHOWCASEfsim');
		cIM.src=a.href;
		cIM.setAttribute("width",document.prayadotmypre[a.primindex].width);
		cIM.setAttribute("height",document.prayadotmypre[a.primindex].height);
		PR_AYADOTMYsetdsp('SHOWCASE_img','block');
		PR_AYADOTMYsetdsp('SHOWCASE_toolbar','none');
		PR_AYADOTMYsetdsp('SHOWCASE_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.propt[19]!=0){
			PR_AYADOTMYsetdsp('SHOWCASE_toolbar','block');
		}
		PR_AYADOTMYsetdsp('SHOWCASE_info','block');
		tA=document.getElementById('SHOWCASEfslink');
		tA.removeAttribute("href");
		tA.setAttribute("title","");
		tA.onclick=null;
		for(i=0;i<cN.length;i++){
			if(cN[i].className&&cN[i].className=='prayadotmy_link'){
				el=cN[i].getElementsByTagName("a");
				if(el&&el[0]){
					tA.setAttribute("title",PR_AYADOTMYtitle(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=PR_AYADOTMYsetdsp('SHOWCASE_cnt','block');
				PR_AYADOTMYcopyCN(el,ob);
				el.prsrc=ob;
			}
		}
	}
	pB.prshow=false;
	for(i=0;i<cN.length;i++){
		if(cN[i].className&&cN[i].className=='prayadotmy_description'){
			if(cB.propt[15]==1){
				PR_AYADOTMYcopyCN(pBC,cN[i]);
				pBC.prsrc=cN[i];
				pB.prshow=true;
			}
			else{
				el=PR_AYADOTMYsetdsp('SHOWCASE_desc','block');
				PR_AYADOTMYcopyCN(el,cN[i]);
				el.prsrc=cN[i];
			}
		}
	}
	if(cB.propt[15]==1){
		if(cB.propt[17]==1&&pB.prstatus=='open'){
			PR_AYADOTMYposdesc();
		}
	}
	th=cDB.offsetHeight;
	if(cB.propt[19]!=0&&cDB.offsetWidth<SHOWCASEminwidth){
		if(!cB.prhideButtons){
			cDB.style.width=SHOWCASEminwidth+"px";
			tw=SHOWCASEminwidth;
		}
	}
	if(an==0){
		PR_AYADOTMYpos('SHOWCASE_box');
		cDB.prstatus="open";
		PR_AYADOTMYshow_fin();
	}
	else if(an==1){
		cDB.style.visiblity="hidden";
		PR_AYADOTMYpos('SHOWCASE_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";
		PR_AYADOTMYfadeOut(cAB.id,0.99);
	}
	else if(an>1){
		if(an==2||an==3){
			cw=6;
			ch=20;
		}
		else{
			cw=tw;
			ch=th;
		}
		if(cB.propt[7]==1&&!cDB.prnew){
			ch=(cDB.prbh>10)?cDB.prbh:ch;
			cw=(cDB.prbw>20)?cDB.prbw:cw;
		}
		else{
			cAB.style.width=cw+"px";
			cAB.style.height=ch+"px";
			cAB.style.display="block";
			PR_AYADOTMYpos(cAB.id);
		}
		cl=parseInt(cAB.style.left);
		ct=parseInt(cAB.style.top);
		cDB.style.visibility="hidden";
		PR_AYADOTMYpos(cDB.id);
		tl=parseInt(cDB.style.left);
		tt=parseInt(cDB.style.top);
		fd=0;
		if(cB.propt[2]==1){
			fd=1;
			if(cB.propt[7]!=1||cDB.prnew){
				ct=parseInt(ct-(ch/2)+(th/2));
				fd=0;
			}
		}
		else if(cB.propt[2]==2){
			fd=2;
			if(cB.propt[7]!=1||cDB.prnew){
				cl=parseInt(cl-(cw/2)+(tw/2));
				fd=0;
			}
		}
		else if(cB.propt[2]==3){
			fd=3;
			if(cB.propt[7]!=1||cDB.prnew){
				cl=parseInt(cl-(cw/2)+(tw/2));
				ct=parseInt(ct-(ch/2)+(th/2));
				fd=0;
			}
		}
		PR_AYADOTMYgrow(cAB.id,cl,tl,ct,tt,ch,th,cw,tw,an,fd);
	}
}
function PR_AYADOTMYshow_fin(){
	var pB,op=PR_AYADOTMYopts();
	SHOWan=false;
	if(op[15]==1){
		pB=document.getElementById('SHOWCASE_descboxW');
		if((pB.prshow&&op[17]!=1) || (op[17]==1&&pB.prstatus!='open')){
			PR_AYADOTMYdescpop('show');
		}
		else{
			if(op[17]==1){
				pB.prstatus='open';
			}
			PR_AYADOTMYshow_fin2();
		}
	}
	else{
		PR_AYADOTMYshow_fin2();
	}
}
function PR_AYADOTMYshow_fin2(){
	var i,j,cn,n,nn,tn,op,nA,tS,tB,tA,im,px,sd,m=false;
	SHOWan=false;
	tB=document.getElementById('SHOWCASE_box');
	tB.prstatus='open';
	tB.prnew=false;
	PR_AYADOTMYrsz();
	tS=document.getElementById(SHOWCASEcshow[0]);
	op=tS.propt;
	nn=SHOWCASEcshow[1]+1;
	n=nn;
	sd=SHOWCASEcshow[0];
	if(op[14]==1){
		if(nn>tS.prayadotmynum){
			if(op[5]==1){
				nA=tS.prslides[0];
			}
			else if(op[5]==3){
				j=PR_AYADOTMYnextShow();
				sd=SHOWCASEctl[j][0];
				nA=document.getElementById(sd).prslides[0];
			}
			else{
				nA=null;
			}
		}
		else{
			nA=tS.prslides[nn-1];
		}
		if(nA&&nA.primindex){
			px=nA.primindex;
			im=document.prayadotmypre[px];
			if(!im.cmp){
				im.src=nA.href;
			}
		}
	}
	if(SHOWCASEmode=="auto"){
		if(n>tS.prayadotmynum&&op[5]==0){
			PR_AYADOTMYpause();
		}
		else if(n>tS.prayadotmynum&&op[5]==2){
			SHOWCASEshowtmr=setTimeout("PR_AYADOTMYclose()",op[11]*1000);
		}
		else{
			SHOWCASEshowtmr=setTimeout("PR_AYADOTMYctrl('next','',1)",op[11]*1000);
		}
	}
}
function PR_AYADOTMYnextShow(){
	var i,cs,j=-1;
	cs=SHOWCASEcshow[0];
	for(i=0;i<SHOWCASEctl.length;i++){
		if(SHOWCASEctl[i][0]==cs){
			if(i>=SHOWCASEctl.length-1){
				j=0;
			}
			else{
				j=i+1;
			}
			break;
		}
	}
	return j;
}
function PR_AYADOTMYprevShow(){
	var i,cs,j=-1;
	cs=SHOWCASEcshow[0];
	for(i=0;i<SHOWCASEctl.length;i++){
		if(SHOWCASEctl[i][0]==cs){
			if(i==0){
				j=SHOWCASEctl.length-1;
			}
			else{
				j=i-1;
			}
			break;
		}
	}
	return j;
}
function PR_AYADOTMYrestore(){
	var el;
	el=document.getElementById("SHOWCASE_cnt");
	if(el.prsrc){
		PR_AYADOTMYcopyCN(el.prsrc,el);
	}
	el.prsrc=false;
	el=document.getElementById("SHOWCASE_desc");
	if(el.prsrc){
		PR_AYADOTMYcopyCN(el.prsrc,el);
	}
	el.prsrc=false;
	el=document.getElementById("SHOWCASE_descbox");
	if(el.prsrc){
		PR_AYADOTMYcopyCN(el.prsrc,el);
	}
	el.prsrc=false;
}
function PR_AYADOTMYload_img(ix,kn){
	var pR,op,im=document.prayadotmypre[ix];
	kn=(kn)?kn:0;
	if(im.cmp){
		im.cmp=true;
		document.getElementById("SHOWCASE_loading").style.display="none";
		SHOWantmr=setTimeout("PR_AYADOTMYshow_dsp()",prayadotmydly);
	}
	else{
		if(SHOWCASEimtmr){
			clearTimeout(SHOWCASEimtmr);
		}
		kn++;
		if(kn<500){
			SHOWCASEimtmr=setTimeout("PR_AYADOTMYload_img("+ix+","+kn+")",60);
		}
		else{
			document.getElementById("SHOWCASE_loading").style.display="none";
			im.cmp=true;
			im.width=300;
			im.height=300;
			op=PR_AYADOTMYopts();
			if(op[1]>0){
				SHOWantmr=setTimeout("PR_AYADOTMYshow_dsp()",prayadotmydly);
			}
			else{
				PR_AYADOTMYshow_dsp()
			}
		}
	}
}
function PR_AYADOTMYbuttons(){
	var i,tS,tn,opt;
	tS=document.getElementById(SHOWCASEcshow[0]);
	tn=tS.prayadotmynum;
	if(tn==1){
		tS.prhideButtons=true;
		PR_AYADOTMYsetdsp('SHOWCASE_toc','none');
		PR_AYADOTMYsetdsp('SHOWCASE_first','none');
		PR_AYADOTMYsetdsp('SHOWCASE_prev','none');
		PR_AYADOTMYsetdsp('SHOWCASE_pauseplay','none');
		PR_AYADOTMYsetdsp('SHOWCASE_next','none');
		PR_AYADOTMYsetdsp('SHOWCASE_last','none');
		PR_AYADOTMYsetdsp('SHOWCASE_help','none');
	}
	else{
		tS.prhideButtons=false;
		PR_AYADOTMYsetdsp('SHOWCASE_toc','block');
		PR_AYADOTMYsetdsp('SHOWCASE_first','block');
		PR_AYADOTMYsetdsp('SHOWCASE_prev','block');
		PR_AYADOTMYsetdsp('SHOWCASE_pauseplay','block');
		PR_AYADOTMYsetdsp('SHOWCASE_next','block');
		PR_AYADOTMYsetdsp('SHOWCASE_last','block');
		PR_AYADOTMYsetdsp('SHOWCASE_help','block');
	}
}
function PR_AYADOTMYclose(){
	var i,cAB,cOV,cDB,j,v;
	if(SHOWantmr){
		clearTimeout(SHOWantmr);
	}
	if(SHOWCASEoptmr){
		clearTimeout(SHOWCASEoptmr);
	}
	if(SHOWCASEimtmr){
		clearTimeout(SHOWCASEimtmr);
	}
	if(SHOWCASEshowtmr){
		clearTimeout(SHOWCASEshowtmr);
	}
	PR_AYADOTMYpause();
	SHOWCASEstat=false;
	PR_AYADOTMYtoc('hide');
	PR_AYADOTMYhelp('hide');
	PR_AYADOTMYdescpop('hide',1);
	cAB=document.getElementById('prayadotmy_abox');
	cOV=document.getElementById('prayadotmy_overlay');
	cDB=document.getElementById('SHOWCASE_box');
	cDB.prstatus="closed";
	cDB.style.left="-9000px";
	cDB.style.height="10px";
	cDB.style.top="0px";
	PR_AYADOTMYrestore();
	cAB.style.display="none";
	document.getElementById("SHOWCASE_loading").style.display="none";
	cOV.style.display="none";
	if(PR_AYADOTMYisIE6()){
		cOV.style.height="10px";
	}
	return false;
}
function PR_AYADOTMYopts(){
	var sd,tD;
	if(!SHOWCASEcshow[0]){
		SHOWCASEcshow[0]=SHOWCASEctl[0][0];
		SHOWCASEcshow[1]=1;
	}
	tD=document.getElementById(SHOWCASEcshow[0]);
	if(tD&&tD.propt){
		return tD.propt;
	}
	else{
		return ['',0,0,0,0,0];
	}
}
function PR_AYADOTMYrsz(){
	var tB=document.getElementById('SHOWCASE_box');
	if(tB.prstatus=='open'&&!SHOWan){
		PR_AYADOTMYpos('SHOWCASE_box');
		PR_AYADOTMYpostoc();
		PR_AYADOTMYposhelp();
		PR_AYADOTMYposdesc();
	}
}
function PR_AYADOTMYpostoc(){
	var tB,h,t,wd,sc,l=10;
	tB=document.getElementById("SHOWCASE_tocbox");
	wd=PR_AYADOTMYwin();
	if(tB.prstatus=="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=PR_AYADOTMYsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function PR_AYADOTMYposhelp(){
	var tB,h,w,t,l,wd,sc;
	tB=document.getElementById("SHOWCASE_helpbox");
	wd=PR_AYADOTMYwin();
	if(tB.prstatus=="open"){
		tB.style.height="auto";
		h=tB.offsetHeight;
		w=tB.offsetWidth;
		t=wd[0]-h-20;
		l=wd[1]-w-20;
		sc=PR_AYADOTMYsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function PR_AYADOTMYposdesc(){
	var tB,tBC,h,w,t,l,wd,sc,lm;
	tB=document.getElementById("SHOWCASE_descboxW");
	tBC=document.getElementById("SHOWCASE_descbox");
	wd=PR_AYADOTMYwin();
	if(tB.prstatus=="open"){
		tB.style.height="auto";
		h=tB.offsetHeight;
		w=tB.offsetWidth;
		t=wd[0]-h-20;
		l=wd[1]-w-20;
		sc=PR_AYADOTMYsclb();
		t+=sc[1];
		l+=sc[0];
		t=(t<0)?0:t;
		lm=PR_AYADOTMYminleft();
		l=(l<lm)?lm:l;
		tB.style.top=t+"px";
		tB.style.left=l+"px";
	}
}
function PR_AYADOTMYposldng(){
	var tD,dB,wd,x,y,lw,lw,sc;
	tD=document.getElementById('SHOWCASE_loading');
	dB=document.getElementById('SHOWCASE_box');
	tD.style.visibility="hidden";
	tD.style.display="block";
	if(!dB.prnew&&dB.prbl){
		x=parseInt(dB.prbl)+((dB.prbw-tD.offsetWidth)/2);
		y=parseInt(dB.prbt)+((dB.prbh-tD.offsetHeight)/2);
	}
	else{
		sc=PR_AYADOTMYsclb();
		wd=PR_AYADOTMYwin();
		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 PR_AYADOTMYminleft(){
	var d=document.getElementById('SHOWCASE_box');
	return parseInt(d.style.left)+d.offsetWidth+5;
}
function PR_AYADOTMYpos(d){
	var x,y,wd,tB,dB,h,w,sh,oD,op,v,j,t,bx,by,bh,bw,sc;
	wd=PR_AYADOTMYwin();
	tB=document.getElementById(d);
	op=PR_AYADOTMYopts();
	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=PR_AYADOTMYsclb();
	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(PR_AYADOTMYisIE6()){
		sh=document.body.parentNode.scrollHeight;
		oD=document.getElementById('prayadotmy_overlay');
		h=(wd[0]>0)?wd[0]:h;
		h=(h>sh)?h:sh;
		oD.style.height=h+"px";
		oD.style.position="absolute";
	}
}
function PR_AYADOTMYdims(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 PR_AYADOTMYsclb(){
	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 PR_AYADOTMYgrow(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;
	}
	SHOWan=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('SHOWCASE_box').style.visibility="visible";
		if(op==3){
			PR_AYADOTMYfadeOut(cD.id,0.99);
		}
		else{
			cD.style.display='none';
			PR_AYADOTMYshow_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;
		}
		SHOWantmr=setTimeout("PR_AYADOTMYgrow('"+id+"',"+nl+","+tl+","+nt+","+tt+","+nh+","+th+","+nw+","+tw+","+op+")",dy);
	}
}
function PR_AYADOTMYfadeOut(id,op){
	var im,dy=10,lm=0.01,inc,d=document.getElementById(id);
	SHOWan=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;
		SHOWCASEoptmr=setTimeout("PR_AYADOTMYfadeOut('"+id+"',"+op+")",dy);
	}
	else{
		d.style.display="none";
		PR_AYADOTMYpos('SHOWCASE_box');
		PR_AYADOTMYshow_fin();
	}
}
function PR_AYADOTMYkey(evt){
	var k,tg,nn,pp,m=true,tb=false,i,pp,dB,tA;
	if(SHOWCASEstat){
		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){
					PR_AYADOTMYctrl('previous');
					m=false;
				}
				else if(k==34||k==39||k==107||k==32){
					PR_AYADOTMYctrl('next');
					m=false;
				}
				else if(k==35){
					PR_AYADOTMYctrl('last');
					m=false;
				}
				else if(k==36){
					PR_AYADOTMYctrl('first');
					m=false;
				}
				else if(k==80){
					PR_AYADOTMYppTrig();
					m=false;
				}
				else if(k==27 || (k==88&&!window.opera)){
					PR_AYADOTMYclose();
					m=false;
				}
				else if(k==72&&!window.opera){
					PR_AYADOTMYhelp();
					m=false;
				}
				else if(k==84){
					PR_AYADOTMYtoc();
					m=false;
				}
			}
		}
	}
	if(!m){
		if(evt.preventDefault){
			evt.preventDefault();
		}
	}
	return m;
}
function PR_AYADOTMYwin(){
	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 PR_AYADOTMYsetdsp(dd,dt){
	var el=document.getElementById(dd);
	if(el){
		el.style.display=dt;
	}
	return el;
}
function PR_AYADOTMYcopyCN(tD,tS){
	while(tD.childNodes.length>0){
		tD.removeChild(tD.childNodes[0]);
	}
	while(tS.childNodes.length>0){
		tD.appendChild(tS.childNodes[0]);
	}
}
function PR_AYADOTMYbuildpop(){
	var el,a,i,li,ul,ob,tb,bx,cn;
	tb=document.createElement('div');
	tb.setAttribute('id','SHOWCASE_toolbar');
	i=document.createElement('i');
	i.appendChild(document.createTextNode('contents'));
	a=document.createElement('a');
	a.appendChild(i);
	a.setAttribute('id21','SHOWCASE_toc');
	a.setAttribute('href','#');
	a.setAttribute('title','Galeri Foto');
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_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','SHOWCASE_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','SHOWCASE_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','SHOWCASE_pauseplay');
	a.setAttribute('href','#');
	a.setAttribute('title','Play');
	a.setAttribute('class','SHOWCASE_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','SHOWCASE_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','SHOWCASE_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','SHOWCASE_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('id1','SHOWCASE_help');
	a.setAttribute('href','#');
	a.setAttribute('title','Galeri Foto');
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_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','SHOWCASE_close');
	a.setAttribute('href','#');
	a.setAttribute('title','Close');
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_toolbarclose');
	ob.appendChild(a);
	tb.appendChild(ob);
	cn=document.createElement('div');
	cn.setAttribute('id','SHOWCASE_container');
	cn.appendChild(tb);
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_cnt');
	cn.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_img');
	cn.appendChild(ob);
	bx=document.createElement('div');
	bx.setAttribute('id','SHOWCASE_box');
	bx.appendChild(cn);
	el=document.createElement('div');
	el.setAttribute('id','SHOWCASE_info');
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_caption');
	el.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_desc');
	el.appendChild(ob);
	ob=document.createElement('div');
	ob.setAttribute('id','SHOWCASE_counter');
	el.appendChild(ob);
	cn.appendChild(el);
	document.getElementsByTagName('body')[0].appendChild(bx);
	el=document.createElement('div');
	el.setAttribute("id","SHOWCASE_loading");
	document.getElementsByTagName('body')[0].appendChild(el);
	el=document.createElement('a');
	el.setAttribute("id","SHOWCASEfslink");
	ob=document.createElement('img');
	ob.setAttribute("id","SHOWCASEfsim");
	el.appendChild(ob);
	document.getElementById('SHOWCASE_img').appendChild(el);
}
function PR_AYADOTMYisIE6(){
	var j,v,m=false;
	j=prayadotmyA.indexOf("msie");
	v=parseInt(prayadotmyA.substring(j+4,j+6));
	if(v<7){
		m=true;
	}
	return m;
}

