uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var twelvekeyss=null;var twelvekeysdescgoster=0;var twelvekeysthumbgoster=0;var twelvekeyscwidth=0;var twelvekeyscheight=0;var twelvekeyscalc=0;var twelvekeystam=0;var twelvekeyskalan=0;var twelvekeyskalany=0;var twelvekeysts="";var twelvekeysds="";var twelvekeysjbtype=0;var twelvekeysrealcurrent=0;var twelvekeystimeo=null;twelvekeysthumbs_obj=null;twelvekeysmoving_obj=null;twelvekeysTotalThumbWidth=0;twelvekeysTotalThumbHeight=0;twelvekeysMoveIcWidth=0;var TBW=0;var CursorStr="default";var twelvekeysDescCalcWidth=0;var twelvekeysDescCalcHeight=0;var twelvekeysDescCalcIcWidth=0;var twelvekeysDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;twelvekeysimgarr=new Array();twelvekeysthumbimgstr=new Array();twelvekeysimgstr=new Array();twelvekeyslinkstr=new Array();twelvekeysclslinkstr=new Array();twelvekeystitarr=new Array();twelvekeysdesarr=new Array();twelvekeysimgarr[0]=new Image();twelvekeysimgarr[0].c=0;twelvekeysimgarr[0].onload = twelvekeyssecondcomplate;twelvekeysimgarr[0].src=twelvekeysfoldername+'12keys3.gif';twelvekeysimgstr[0]=twelvekeysfoldername+'12keys3.gif';twelvekeysthumbimgstr[0]=twelvekeysfoldername+'12keys3.gif';twelvekeyslinkstr[0]='<a href="http://www.apered.com/why_awebsite.htm" target="_self" style="text-decoration: none;">';twelvekeysclslinkstr[0]='</a>';twelvekeystitarr[0]="";twelvekeysdesarr[0]="";twelvekeysimgarr[1]=new Image();twelvekeysimgarr[1].c=0;twelvekeysimgarr[1].onload = twelvekeyssecondcomplate;twelvekeysimgarr[1].src=twelvekeysfoldername+'12keys2.gif';twelvekeysimgstr[1]=twelvekeysfoldername+'12keys2.gif';twelvekeysthumbimgstr[1]=twelvekeysfoldername+'12keys2.gif';twelvekeyslinkstr[1]='<a href="http://www.apered.com/why_awebsite.htm" target="_self" style="text-decoration: none;">';twelvekeysclslinkstr[1]='</a>';twelvekeystitarr[1]="";twelvekeysdesarr[1]="";twelvekeysimgarr[2]=new Image();twelvekeysimgarr[2].c=0;twelvekeysimgarr[2].onload = twelvekeyssecondcomplate;twelvekeysimgarr[2].src=twelvekeysfoldername+'12keys_1.gif';twelvekeysimgstr[2]=twelvekeysfoldername+'12keys_1.gif';twelvekeysthumbimgstr[2]=twelvekeysfoldername+'12keys_1.gif';twelvekeyslinkstr[2]='<a href="http://www.apered.com/why_awebsite.htm" target="_self" style="text-decoration: none;">';twelvekeysclslinkstr[2]='</a>';twelvekeystitarr[2]="";twelvekeysdesarr[2]="";if((IEB==true)&&(scompat == "BackCompat" )){    twelvekeyscwidth=125;    twelvekeyscheight=125;}else{    twelvekeyscwidth=125-2*(0);    twelvekeyscheight=125-2*(0);}var twelvekeysicwidth=125-2*(0);var twelvekeysicheight=125-2*(0);twelvekeysDescCalcWidth=260;twelvekeysDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	twelvekeysDescCalcIcWidth=twelvekeysDescCalcWidth;	twelvekeysDescCalcIcHeight=twelvekeysDescCalcHeight;}else{    twelvekeysDescCalcIcWidth=twelvekeysDescCalcWidth-2*(2)-2*(3);    twelvekeysDescCalcIcHeight=twelvekeysDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+twelvekeyscwidth+'px;height:'+twelvekeyscheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="twelvekeysdv" style="position:relative;width:'+twelvekeysicwidth+'px;height:'+twelvekeysicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=1,enabled=false);'+'"'+' onfilterchange=twelvekeysFadeBitti()'+'></div>');for(i=0;i<3;i++){	if(0==0){twelvekeysds=twelvekeysds+twelvekeyslinkstr[i];if(twelvekeyslinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	twelvekeysds=twelvekeysds+'<div id="twelvekeysdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+twelvekeysDescCalcWidth+'px;height:'+twelvekeysDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	twelvekeysds=twelvekeysds+'<div style="position:absolute;left:0px;top:0px;width:'+twelvekeysDescCalcWidth+'px;height:'+twelvekeysDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.50'+';filter:alpha(opacity='+'50'+');-moz-opacity:'+'0.50'+';"></div>';	twelvekeysds=twelvekeysds+'<div style="position:relative;left:0px;top:0px;width:'+twelvekeysDescCalcIcWidth+'px;height:'+twelvekeysDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	twelvekeysds=twelvekeysds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+twelvekeystitarr[i]+'</span><br />'+twelvekeysdesarr[i];	twelvekeysds=twelvekeysds+'</div>';	twelvekeysds=twelvekeysds+'</div>';	if(0==0){twelvekeysds=twelvekeysds+twelvekeysclslinkstr[i];}	}document.write(''+twelvekeysds);function twelvekeysShowCurrentDesc(){	if((twelvekeysdescgoster==1)&&( (twelvekeystitarr[twelvekeysrealcurrent].length>0) || (twelvekeysdesarr[twelvekeysrealcurrent].length>0)  ))	{		after_des=document.getElementById('twelvekeysdesc'+twelvekeysrealcurrent);		after_des.style.visibility="visible";		}}function twelvekeysHideCurrentDesc(){	before_des=document.getElementById('twelvekeysdesc'+twelvekeysvcurr);	before_des.style.visibility="hidden";}function twelvekeysHighlightCurrTumb(){	if((0==1)&&(0==0))	{		twelvekeysbeforethumb=document.getElementById('twelvekeysthumb'+twelvekeysvcurr);		twelvekeysafterthumb=document.getElementById('twelvekeysthumb'+twelvekeysrealcurrent);		twelvekeysbeforethumb.style.borderColor='999999';		twelvekeysafterthumb.style.borderColor='990000';	}}document.write('</div>');function twelvekeyszindx(){	twelvekeysobjn.style.visibility="visible";	twelvekeysobjc.style.zIndex=2;	twelvekeysobjn.style.zIndex=3;    }function twelvekeysThumbOut(tobj,nm){	if((twelvekeysvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function twelvekeysThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function twelvekeysSonrakiClick(c,n){	twelvekeysvcurr=c;	twelvekeysvnext=n;			twelvekeysobjc=document.getElementById('twelvekeysd'+twelvekeysvcurr);	twelvekeysobjn=document.getElementById('twelvekeysd'+twelvekeysvnext);}function twelvekeysSonraki(){	twelvekeysvcurr=twelvekeysvnext;	twelvekeysvnext=twelvekeysvnext+1;		if(twelvekeysvnext>=3)	{		twelvekeysvnext=0;		twelvekeystam=1;	}		twelvekeysobjc=document.getElementById('twelvekeysd'+twelvekeysvcurr);	twelvekeysobjn=document.getElementById('twelvekeysd'+twelvekeysvnext);		      }function twelvekeyssecondcomplate(){	this.c=1;}function twelvekeysdevam(fm,pt){	if((twelvekeysimgarr[twelvekeysvnext].c==1)&&(twelvekeysimgarr[twelvekeysvcurr].c==1))	{		twelvekeystimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('twelvekeysdevam("'+fm+'")',500);	}	var twelvekeyscagain=1;	for(i=0;i<3;i++)	{		if(twelvekeysimgarr[i].c==1){}		else{twelvekeyscagain=0;}	}	if(twelvekeyscagain==1){twelvekeystam=1;}}function ThumbClick(clicked_img,tobj){	if(twelvekeysjbtype==1){return;}	clearTimeout(twelvekeystimeo);	twelvekeysSonrakiClick(twelvekeysrealcurrent,clicked_img);	if(twelvekeysfademi==1)        {            if(IEB==true)            {		if(twelvekeystam==0)		{	    		twelvekeysdevam("twelvekeysdotrans",3000);		}		else		{			twelvekeysdotrans();		}            }            else            {		if(twelvekeystam==0)		{    			twelvekeysdevam("twelvekeysbeftrans",3000);		}		else		{			twelvekeysbeftrans();		}            }        }	else if(twelvekeysfademi==2)	{		if(twelvekeystam==0)		{ 			twelvekeysdevam("twelvekeysDoSlide",3000);		}		else		{			twelvekeysDoSlide();		}	}	else if(twelvekeysfademi==3)	{		if(twelvekeystam==0)		{ 			twelvekeysdevam("twelvekeysDoScrollUp",3000);		}		else		{			twelvekeysDoScrollUp();		}	}	else if(twelvekeysfademi==4)	{		if(twelvekeystam==0)		{ 			twelvekeysdevam("twelvekeysDoBlindX",3000);		}		else		{			twelvekeysDoBlindX();		}	}	else if(twelvekeysfademi==5)	{		if(twelvekeystam==0)		{ 			twelvekeysdevam("twelvekeysDoBlindY",3000);		}		else		{			twelvekeysDoBlindY();		}	}	}function twelvekeyssl(){twelvekeysfademi=1;twelvekeysvcurr=0;twelvekeysvnext=0;twelvekeysvssdiv=null;stepc=20*(1);twelvekeysdif=0.00;twelvekeysop=1.00;twelvekeysdif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;top:0px;'+'padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+twelvekeysicwidth+'px;height:'+twelvekeysicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="twelvekeysimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.twelvekeysdotrans=twelvekeysdotrans;this.twelvekeysinitte=twelvekeysinitte;this.twelvekeysinitte2=twelvekeysinitte2;this.twelvekeysbeftrans=twelvekeysbeftrans;this.twelvekeysdotransff=twelvekeysdotransff;}function twelvekeysFadeBitti(){	twelvekeysjbtype=0;	twelvekeysShowCurrentDesc();	}function twelvekeysdotrans(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();	if(IEB==true){twelvekeysvssdiv.filters[0].apply();}	twelvekeysobjc.style.visibility="hidden";	twelvekeysobjn.style.visibility="visible";	if(IEB==true){twelvekeysvssdiv.filters[0].play();}	twelvekeysrealcurrent=twelvekeysvnext;	twelvekeysHighlightCurrTumb();	twelvekeysSonraki();			if(twelvekeystam==0){twelvekeysdevam("twelvekeysdotrans",((1000*1)+3000));}	else	{		twelvekeystimeo=setTimeout('twelvekeysdotrans()',((1000*1)+3000));	} 	}function twelvekeysdotransff(){	twelvekeysop=twelvekeysop-twelvekeysdif;		if(twelvekeysop<(0.00)){twelvekeysop=0.00;}	twelvekeysobjc.style.opacity = twelvekeysop;	twelvekeysobjn.style.opacity = 1.00-twelvekeysop;	if(twelvekeysop>(0.00))	{		setTimeout('twelvekeysdotransff()',50);	}	else	{		twelvekeysobjc.style.zIndex=2;		twelvekeysobjn.style.zIndex=3;		twelvekeysrealcurrent=twelvekeysvnext;		twelvekeysShowCurrentDesc();		twelvekeysHighlightCurrTumb();				twelvekeysSonraki();			        if(twelvekeystam==0){twelvekeysdevam("twelvekeysbeftrans",3000);}        	else {twelvekeystimeo=setTimeout('twelvekeysbeftrans()',3000);}		twelvekeysjbtype=0;  					}}function twelvekeysbeftrans(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();    	twelvekeysop=1.00;	twelvekeysobjc.style.visibility="visible";	twelvekeysobjn.style.visibility="visible";		twelvekeysobjc.style.zIndex=3;	twelvekeysobjn.style.zIndex=2;		twelvekeysobjc.style.opacity = 1.00;		twelvekeysobjn.style.opacity = 1.00;			twelvekeysdotransff();	}function twelvekeysDoSlide(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();	twelvekeyskalan=twelvekeyskalan-Math.ceil(twelvekeyskalan/1);	twelvekeysobjc.style.left=""+(twelvekeyskalan-twelvekeysicwidth)+"px";	twelvekeysobjn.style.left=""+twelvekeyskalan+"px";		if(twelvekeyskalan<=0)	{		twelvekeysrealcurrent=twelvekeysvnext;		twelvekeysShowCurrentDesc();		twelvekeysHighlightCurrTumb();    		twelvekeysSonraki();		twelvekeyskalan=twelvekeysicwidth;		twelvekeysobjn.style.left=""+twelvekeyskalan+"px";	        		twelvekeyszindx();          		twelvekeysjbtype=0;        		if(twelvekeystam==0){twelvekeysdevam("twelvekeysDoSlide",3000);}		else {twelvekeystimeo=setTimeout('twelvekeysDoSlide()',3000);}	}	else	{		setTimeout('twelvekeysDoSlide()',50);    	} }function twelvekeysDoScrollUp(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();	twelvekeyskalan=twelvekeyskalan-Math.ceil(twelvekeyskalan/1);	twelvekeysobjc.style.top=""+(twelvekeyskalan-twelvekeysicheight)+"px";	twelvekeysobjn.style.top=""+twelvekeyskalan+"px";	    if(twelvekeyskalan<=0)    {	twelvekeysrealcurrent=twelvekeysvnext;	twelvekeysShowCurrentDesc();	twelvekeysHighlightCurrTumb();        twelvekeysSonraki();        twelvekeyskalan=twelvekeysicheight;	twelvekeysobjn.style.top=""+twelvekeyskalan+"px";	        twelvekeyszindx();                 	twelvekeysjbtype=0;        if(twelvekeystam==0){twelvekeysdevam('twelvekeysDoScrollUp',3000);}        else{twelvekeystimeo=setTimeout('twelvekeysDoScrollUp()',3000);}        }    else    {        setTimeout('twelvekeysDoScrollUp()',50);        }}function twelvekeysDoBlindX(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();   	twelvekeyskalan=twelvekeyskalan-Math.ceil(twelvekeyskalan/1);	twelvekeysobjc.style.left=""+(twelvekeysicwidth-twelvekeyskalan)+"px";	twelvekeysobjn.style.left=""+twelvekeyskalan+"px";	    if(twelvekeyskalan<=0)    {		twelvekeysrealcurrent=twelvekeysvnext;		twelvekeysShowCurrentDesc();	twelvekeysHighlightCurrTumb();            twelvekeysSonraki();        twelvekeyskalan=twelvekeysicwidth;	twelvekeysobjn.style.left=""+twelvekeyskalan+"px";		    	        twelvekeyszindx();	twelvekeysjbtype=0;                  if(twelvekeystam==0){twelvekeysdevam("twelvekeysDoBlindX",3000);}        else{twelvekeystimeo=setTimeout('twelvekeysDoBlindX()',3000);}    }    else    {        setTimeout('twelvekeysDoBlindX()',50);        }}function twelvekeysDoBlindY(){	twelvekeysjbtype=1;	twelvekeysHideCurrentDesc();  	twelvekeyskalan=twelvekeyskalan-Math.ceil(twelvekeyskalan/1);	twelvekeysobjc.style.top=""+(twelvekeysicheight-twelvekeyskalan)+"px";	twelvekeysobjn.style.top=""+twelvekeyskalan+"px";	    if(twelvekeyskalan<=0)    {		twelvekeysrealcurrent=twelvekeysvnext;		twelvekeysShowCurrentDesc();twelvekeysHighlightCurrTumb();        twelvekeysSonraki();        twelvekeyskalan=twelvekeysicheight;	    twelvekeysobjn.style.top=""+twelvekeyskalan+"px";                twelvekeyszindx();                 	twelvekeysjbtype=0;        if(twelvekeystam==0){twelvekeysdevam("twelvekeysDoBlindY",3000);}        else{twelvekeystimeo=setTimeout('twelvekeysDoBlindY()',3000);}        }    else    {        setTimeout('twelvekeysDoBlindY()',50);        } }function twelvekeysinitte2(){	twelvekeysthumbs_obj=document.getElementById('twelvekeysthumbsid');	twelvekeysmoving_obj=document.getElementById('twelvekeysmovingdiv');	twelvekeysvssdiv=document.getElementById("twelvekeysdv");	if(3>0)	{		twelvekeysobjc=document.getElementById('twelvekeysd'+0);			twelvekeysobjc.style.visibility="visible";		}	if(3>1)	{		twelvekeysvcurr=0;		twelvekeysvnext=0;		twelvekeysrealcurrent=0;        if(twelvekeysfademi==0)        {			twelvekeysvcurr=0;			twelvekeysvnext=1;			twelvekeysrealcurrent=0;			setTimeout('twelvekeysdotrans()',3000);                }        else if(twelvekeysfademi==1)        {            if(IEB==true)            {	    		twelvekeysSonraki();			twelvekeysShowCurrentDesc();			twelvekeysHighlightCurrTumb();	    		twelvekeysdevam("twelvekeysdotrans",3000);                       }            else            {	    		twelvekeysSonraki();			twelvekeysShowCurrentDesc();			twelvekeysHighlightCurrTumb();	    		twelvekeysdevam("twelvekeysbeftrans",3000);                        }        }         else if(twelvekeysfademi==2)        {		twelvekeyskalan=twelvekeysicwidth;     		twelvekeysSonraki();		twelvekeysrealcurrent=0;		twelvekeysShowCurrentDesc();		twelvekeysHighlightCurrTumb();		twelvekeysobjn.style.left=""+twelvekeyskalan+"px";          			twelvekeyszindx();            		twelvekeysdevam("twelvekeysDoSlide",3000);		   	                }        else if(twelvekeysfademi==3)        {		twelvekeyskalan=twelvekeysicheight;            		twelvekeysSonraki();		twelvekeysrealcurrent=0;		twelvekeysShowCurrentDesc();		twelvekeysHighlightCurrTumb();		twelvekeysobjn.style.top=""+twelvekeyskalan+"px";            			twelvekeyszindx();                        		twelvekeysdevam("twelvekeysDoScrollUp",3000);               }                  else if(twelvekeysfademi==4)        {                        twelvekeyskalan=twelvekeysicwidth;                        twelvekeysSonraki();		twelvekeysrealcurrent=0;		twelvekeysShowCurrentDesc();twelvekeysHighlightCurrTumb();        	twelvekeysobjn.style.left=""+twelvekeyskalan+"px";	            	            twelvekeyszindx();                                   twelvekeysdevam("twelvekeysDoBlindX",3000);                 }            else if(twelvekeysfademi==5)        {                        twelvekeyskalan=twelvekeysicheight;                        twelvekeysSonraki();		twelvekeysrealcurrent=0;		twelvekeysShowCurrentDesc();twelvekeysHighlightCurrTumb();        	twelvekeysobjn.style.top=""+twelvekeyskalan+"px";            	            twelvekeyszindx();                                  twelvekeysdevam("twelvekeysDoBlindY",3000);                 }												}}function twelvekeysinitte(){	i=0;	innertxt="";	for(i=0;i<3;i++)	{		innertxt=innertxt+dstr1+"twelvekeysd"+i+dstr2+dstr23+twelvekeyslinkstr[i]+dstr3+i+dstr4+twelvekeysimgstr[i]+dstr5+twelvekeysclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('twelvekeysdv');	spage.innerHTML=""+innertxt;    setTimeout('twelvekeysinitte2()',100);}function twelvekeysBas(){        twelvekeyss=new twelvekeyssl();        twelvekeyss.twelvekeysinitte();}setTimeout('twelvekeysBas()',100);
