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 matchess=null;var matchesdescgoster=0;var matchesthumbgoster=0;var matchescwidth=0;var matchescheight=0;var matchescalc=0;var matchestam=0;var matcheskalan=0;var matcheskalany=0;var matchests="";var matchesds="";var matchesjbtype=0;var matchesrealcurrent=0;var matchestimeo=null;matchesthumbs_obj=null;matchesmoving_obj=null;matchesTotalThumbWidth=0;matchesTotalThumbHeight=0;matchesMoveIcWidth=0;var TBW=0;var CursorStr="default";var matchesDescCalcWidth=0;var matchesDescCalcHeight=0;var matchesDescCalcIcWidth=0;var matchesDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;matchesimgarr=new Array();matchesthumbimgstr=new Array();matchesimgstr=new Array();matcheslinkstr=new Array();matchesclslinkstr=new Array();matchestitarr=new Array();matchesdesarr=new Array();matchesimgarr[0]=new Image();matchesimgarr[0].c=0;matchesimgarr[0].onload = matchessecondcomplate;matchesimgarr[0].src=matchesfoldername+'matches.jpg';matchesimgstr[0]=matchesfoldername+'matches.jpg';matchesthumbimgstr[0]=matchesfoldername+'matches.jpg';matcheslinkstr[0]='';matchesclslinkstr[0]='';matchestitarr[0]="";matchesdesarr[0]="";matchesimgarr[1]=new Image();matchesimgarr[1].c=0;matchesimgarr[1].onload = matchessecondcomplate;matchesimgarr[1].src=matchesfoldername+'matches2.jpg';matchesimgstr[1]=matchesfoldername+'matches2.jpg';matchesthumbimgstr[1]=matchesfoldername+'matches2.jpg';matcheslinkstr[1]='';matchesclslinkstr[1]='';matchestitarr[1]="";matchesdesarr[1]="";if((IEB==true)&&(scompat == "BackCompat" )){    matchescwidth=190;    matchescheight=176;}else{    matchescwidth=190-2*(0);    matchescheight=176-2*(0);}var matchesicwidth=190-2*(0);var matchesicheight=176-2*(0);matchesDescCalcWidth=260;matchesDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	matchesDescCalcIcWidth=matchesDescCalcWidth;	matchesDescCalcIcHeight=matchesDescCalcHeight;}else{    matchesDescCalcIcWidth=matchesDescCalcWidth-2*(2)-2*(3);    matchesDescCalcIcHeight=matchesDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+matchescwidth+'px;height:'+matchescheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="matchesdv" style="position:relative;width:'+matchesicwidth+'px;height:'+matchesicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=matchesFadeBitti()'+'></div>');for(i=0;i<2;i++){	if(0==0){matchesds=matchesds+matcheslinkstr[i];if(matcheslinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	matchesds=matchesds+'<div id="matchesdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+matchesDescCalcWidth+'px;height:'+matchesDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	matchesds=matchesds+'<div style="position:absolute;left:0px;top:0px;width:'+matchesDescCalcWidth+'px;height:'+matchesDescCalcHeight+'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>';	matchesds=matchesds+'<div style="position:relative;left:0px;top:0px;width:'+matchesDescCalcIcWidth+'px;height:'+matchesDescCalcIcHeight+'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;">';	matchesds=matchesds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+matchestitarr[i]+'</span><br />'+matchesdesarr[i];	matchesds=matchesds+'</div>';	matchesds=matchesds+'</div>';	if(0==0){matchesds=matchesds+matchesclslinkstr[i];}	}document.write(''+matchesds);function matchesShowCurrentDesc(){	if((matchesdescgoster==1)&&( (matchestitarr[matchesrealcurrent].length>0) || (matchesdesarr[matchesrealcurrent].length>0)  ))	{		after_des=document.getElementById('matchesdesc'+matchesrealcurrent);		after_des.style.visibility="visible";		}}function matchesHideCurrentDesc(){	before_des=document.getElementById('matchesdesc'+matchesvcurr);	before_des.style.visibility="hidden";}function matchesHighlightCurrTumb(){	if((0==1)&&(0==0))	{		matchesbeforethumb=document.getElementById('matchesthumb'+matchesvcurr);		matchesafterthumb=document.getElementById('matchesthumb'+matchesrealcurrent);		matchesbeforethumb.style.borderColor='999999';		matchesafterthumb.style.borderColor='990000';	}}document.write('</div>');function matcheszindx(){	matchesobjn.style.visibility="visible";	matchesobjc.style.zIndex=2;	matchesobjn.style.zIndex=3;    }function matchesThumbOut(tobj,nm){	if((matchesvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function matchesThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function matchesSonrakiClick(c,n){	matchesvcurr=c;	matchesvnext=n;			matchesobjc=document.getElementById('matchesd'+matchesvcurr);	matchesobjn=document.getElementById('matchesd'+matchesvnext);}function matchesSonraki(){	matchesvcurr=matchesvnext;	matchesvnext=matchesvnext+1;		if(matchesvnext>=2)	{		matchesvnext=0;		matchestam=1;	}		matchesobjc=document.getElementById('matchesd'+matchesvcurr);	matchesobjn=document.getElementById('matchesd'+matchesvnext);		      }function matchessecondcomplate(){	this.c=1;}function matchesdevam(fm,pt){	if((matchesimgarr[matchesvnext].c==1)&&(matchesimgarr[matchesvcurr].c==1))	{		matchestimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('matchesdevam("'+fm+'")',500);	}	var matchescagain=1;	for(i=0;i<2;i++)	{		if(matchesimgarr[i].c==1){}		else{matchescagain=0;}	}	if(matchescagain==1){matchestam=1;}}function ThumbClick(clicked_img,tobj){	if(matchesjbtype==1){return;}	clearTimeout(matchestimeo);	matchesSonrakiClick(matchesrealcurrent,clicked_img);	if(matchesfademi==1)        {            if(IEB==true)            {		if(matchestam==0)		{	    		matchesdevam("matchesdotrans",4000);		}		else		{			matchesdotrans();		}            }            else            {		if(matchestam==0)		{    			matchesdevam("matchesbeftrans",4000);		}		else		{			matchesbeftrans();		}            }        }	else if(matchesfademi==2)	{		if(matchestam==0)		{ 			matchesdevam("matchesDoSlide",4000);		}		else		{			matchesDoSlide();		}	}	else if(matchesfademi==3)	{		if(matchestam==0)		{ 			matchesdevam("matchesDoScrollUp",4000);		}		else		{			matchesDoScrollUp();		}	}	else if(matchesfademi==4)	{		if(matchestam==0)		{ 			matchesdevam("matchesDoBlindX",4000);		}		else		{			matchesDoBlindX();		}	}	else if(matchesfademi==5)	{		if(matchestam==0)		{ 			matchesdevam("matchesDoBlindY",4000);		}		else		{			matchesDoBlindY();		}	}	}function matchessl(){matchesfademi=1;matchesvcurr=0;matchesvnext=0;matchesvssdiv=null;stepc=20*(2);matchesdif=0.00;matchesop=1.00;matchesdif=(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:'+matchesicwidth+'px;height:'+matchesicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="matchesimg';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.matchesdotrans=matchesdotrans;this.matchesinitte=matchesinitte;this.matchesinitte2=matchesinitte2;this.matchesbeftrans=matchesbeftrans;this.matchesdotransff=matchesdotransff;}function matchesFadeBitti(){	matchesjbtype=0;	matchesShowCurrentDesc();	}function matchesdotrans(){	matchesjbtype=1;	matchesHideCurrentDesc();	if(IEB==true){matchesvssdiv.filters[0].apply();}	matchesobjc.style.visibility="hidden";	matchesobjn.style.visibility="visible";	if(IEB==true){matchesvssdiv.filters[0].play();}	matchesrealcurrent=matchesvnext;	matchesHighlightCurrTumb();	matchesSonraki();			if(matchestam==0){matchesdevam("matchesdotrans",((1000*2)+4000));}	else	{		matchestimeo=setTimeout('matchesdotrans()',((1000*2)+4000));	} 	}function matchesdotransff(){	matchesop=matchesop-matchesdif;		if(matchesop<(0.00)){matchesop=0.00;}	matchesobjc.style.opacity = matchesop;	matchesobjn.style.opacity = 1.00-matchesop;	if(matchesop>(0.00))	{		setTimeout('matchesdotransff()',50);	}	else	{		matchesobjc.style.zIndex=2;		matchesobjn.style.zIndex=3;		matchesrealcurrent=matchesvnext;		matchesShowCurrentDesc();		matchesHighlightCurrTumb();				matchesSonraki();			        if(matchestam==0){matchesdevam("matchesbeftrans",4000);}        	else {matchestimeo=setTimeout('matchesbeftrans()',4000);}		matchesjbtype=0;  					}}function matchesbeftrans(){	matchesjbtype=1;	matchesHideCurrentDesc();    	matchesop=1.00;	matchesobjc.style.visibility="visible";	matchesobjn.style.visibility="visible";		matchesobjc.style.zIndex=3;	matchesobjn.style.zIndex=2;		matchesobjc.style.opacity = 1.00;		matchesobjn.style.opacity = 1.00;			matchesdotransff();	}function matchesDoSlide(){	matchesjbtype=1;	matchesHideCurrentDesc();	matcheskalan=matcheskalan-Math.ceil(matcheskalan/2);	matchesobjc.style.left=""+(matcheskalan-matchesicwidth)+"px";	matchesobjn.style.left=""+matcheskalan+"px";		if(matcheskalan<=0)	{		matchesrealcurrent=matchesvnext;		matchesShowCurrentDesc();		matchesHighlightCurrTumb();    		matchesSonraki();		matcheskalan=matchesicwidth;		matchesobjn.style.left=""+matcheskalan+"px";	        		matcheszindx();          		matchesjbtype=0;        		if(matchestam==0){matchesdevam("matchesDoSlide",4000);}		else {matchestimeo=setTimeout('matchesDoSlide()',4000);}	}	else	{		setTimeout('matchesDoSlide()',50);    	} }function matchesDoScrollUp(){	matchesjbtype=1;	matchesHideCurrentDesc();	matcheskalan=matcheskalan-Math.ceil(matcheskalan/2);	matchesobjc.style.top=""+(matcheskalan-matchesicheight)+"px";	matchesobjn.style.top=""+matcheskalan+"px";	    if(matcheskalan<=0)    {	matchesrealcurrent=matchesvnext;	matchesShowCurrentDesc();	matchesHighlightCurrTumb();        matchesSonraki();        matcheskalan=matchesicheight;	matchesobjn.style.top=""+matcheskalan+"px";	        matcheszindx();                 	matchesjbtype=0;        if(matchestam==0){matchesdevam('matchesDoScrollUp',4000);}        else{matchestimeo=setTimeout('matchesDoScrollUp()',4000);}        }    else    {        setTimeout('matchesDoScrollUp()',50);        }}function matchesDoBlindX(){	matchesjbtype=1;	matchesHideCurrentDesc();   	matcheskalan=matcheskalan-Math.ceil(matcheskalan/2);	matchesobjc.style.left=""+(matchesicwidth-matcheskalan)+"px";	matchesobjn.style.left=""+matcheskalan+"px";	    if(matcheskalan<=0)    {		matchesrealcurrent=matchesvnext;		matchesShowCurrentDesc();	matchesHighlightCurrTumb();            matchesSonraki();        matcheskalan=matchesicwidth;	matchesobjn.style.left=""+matcheskalan+"px";		    	        matcheszindx();	matchesjbtype=0;                  if(matchestam==0){matchesdevam("matchesDoBlindX",4000);}        else{matchestimeo=setTimeout('matchesDoBlindX()',4000);}    }    else    {        setTimeout('matchesDoBlindX()',50);        }}function matchesDoBlindY(){	matchesjbtype=1;	matchesHideCurrentDesc();  	matcheskalan=matcheskalan-Math.ceil(matcheskalan/2);	matchesobjc.style.top=""+(matchesicheight-matcheskalan)+"px";	matchesobjn.style.top=""+matcheskalan+"px";	    if(matcheskalan<=0)    {		matchesrealcurrent=matchesvnext;		matchesShowCurrentDesc();matchesHighlightCurrTumb();        matchesSonraki();        matcheskalan=matchesicheight;	    matchesobjn.style.top=""+matcheskalan+"px";                matcheszindx();                 	matchesjbtype=0;        if(matchestam==0){matchesdevam("matchesDoBlindY",4000);}        else{matchestimeo=setTimeout('matchesDoBlindY()',4000);}        }    else    {        setTimeout('matchesDoBlindY()',50);        } }function matchesinitte2(){	matchesthumbs_obj=document.getElementById('matchesthumbsid');	matchesmoving_obj=document.getElementById('matchesmovingdiv');	matchesvssdiv=document.getElementById("matchesdv");	if(2>0)	{		matchesobjc=document.getElementById('matchesd'+0);			matchesobjc.style.visibility="visible";		}	if(2>1)	{		matchesvcurr=0;		matchesvnext=0;		matchesrealcurrent=0;        if(matchesfademi==0)        {			matchesvcurr=0;			matchesvnext=1;			matchesrealcurrent=0;			setTimeout('matchesdotrans()',4000);                }        else if(matchesfademi==1)        {            if(IEB==true)            {	    		matchesSonraki();			matchesShowCurrentDesc();			matchesHighlightCurrTumb();	    		matchesdevam("matchesdotrans",4000);                       }            else            {	    		matchesSonraki();			matchesShowCurrentDesc();			matchesHighlightCurrTumb();	    		matchesdevam("matchesbeftrans",4000);                        }        }         else if(matchesfademi==2)        {		matcheskalan=matchesicwidth;     		matchesSonraki();		matchesrealcurrent=0;		matchesShowCurrentDesc();		matchesHighlightCurrTumb();		matchesobjn.style.left=""+matcheskalan+"px";          			matcheszindx();            		matchesdevam("matchesDoSlide",4000);		   	                }        else if(matchesfademi==3)        {		matcheskalan=matchesicheight;            		matchesSonraki();		matchesrealcurrent=0;		matchesShowCurrentDesc();		matchesHighlightCurrTumb();		matchesobjn.style.top=""+matcheskalan+"px";            			matcheszindx();                        		matchesdevam("matchesDoScrollUp",4000);               }                  else if(matchesfademi==4)        {                        matcheskalan=matchesicwidth;                        matchesSonraki();		matchesrealcurrent=0;		matchesShowCurrentDesc();matchesHighlightCurrTumb();        	matchesobjn.style.left=""+matcheskalan+"px";	            	            matcheszindx();                                   matchesdevam("matchesDoBlindX",4000);                 }            else if(matchesfademi==5)        {                        matcheskalan=matchesicheight;                        matchesSonraki();		matchesrealcurrent=0;		matchesShowCurrentDesc();matchesHighlightCurrTumb();        	matchesobjn.style.top=""+matcheskalan+"px";            	            matcheszindx();                                  matchesdevam("matchesDoBlindY",4000);                 }												}}function matchesinitte(){	i=0;	innertxt="";	for(i=0;i<2;i++)	{		innertxt=innertxt+dstr1+"matchesd"+i+dstr2+dstr23+matcheslinkstr[i]+dstr3+i+dstr4+matchesimgstr[i]+dstr5+matchesclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('matchesdv');	spage.innerHTML=""+innertxt;    setTimeout('matchesinitte2()',100);}function matchesBas(){        matchess=new matchessl();        matchess.matchesinitte();}setTimeout('matchesBas()',100);