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 homebanners=null;var homebannerdescgoster=0;var homebannerthumbgoster=0;var homebannercwidth=0;var homebannercheight=0;var homebannercalc=0;var homebannertam=0;var homebannerkalan=0;var homebannerkalany=0;var homebannerts="";var homebannerds="";var homebannerjbtype=0;var homebannerrealcurrent=0;var homebannertimeo=null;homebannerthumbs_obj=null;homebannermoving_obj=null;homebannerTotalThumbWidth=0;homebannerTotalThumbHeight=0;homebannerMoveIcWidth=0;var TBW=0;var CursorStr="default";var homebannerDescCalcWidth=0;var homebannerDescCalcHeight=0;var homebannerDescCalcIcWidth=0;var homebannerDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;homebannerimgarr=new Array();homebannerthumbimgstr=new Array();homebannerimgstr=new Array();homebannerlinkstr=new Array();homebannerclslinkstr=new Array();homebannertitarr=new Array();homebannerdesarr=new Array();homebannerimgarr[0]=new Image();homebannerimgarr[0].c=0;homebannerimgarr[0].onload = homebannersecondcomplate;homebannerimgarr[0].src=homebannerfoldername+'banner.jpg';homebannerimgstr[0]=homebannerfoldername+'banner.jpg';homebannerthumbimgstr[0]=homebannerfoldername+'banner.jpg';homebannerlinkstr[0]='';homebannerclslinkstr[0]='';homebannertitarr[0]="";homebannerdesarr[0]="";homebannerimgarr[1]=new Image();homebannerimgarr[1].c=0;homebannerimgarr[1].onload = homebannersecondcomplate;homebannerimgarr[1].src=homebannerfoldername+'banner2.jpg';homebannerimgstr[1]=homebannerfoldername+'banner2.jpg';homebannerthumbimgstr[1]=homebannerfoldername+'banner2.jpg';homebannerlinkstr[1]='';homebannerclslinkstr[1]='';homebannertitarr[1]="";homebannerdesarr[1]="";if((IEB==true)&&(scompat == "BackCompat" )){    homebannercwidth=947;    homebannercheight=322;}else{    homebannercwidth=947-2*(0);    homebannercheight=322-2*(0);}var homebannericwidth=947-2*(0);var homebannericheight=322-2*(0);homebannerDescCalcWidth=260;homebannerDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	homebannerDescCalcIcWidth=homebannerDescCalcWidth;	homebannerDescCalcIcHeight=homebannerDescCalcHeight;}else{    homebannerDescCalcIcWidth=homebannerDescCalcWidth-2*(2)-2*(3);    homebannerDescCalcIcHeight=homebannerDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+homebannercwidth+'px;height:'+homebannercheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="homebannerdv" style="position:relative;width:'+homebannericwidth+'px;height:'+homebannericheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=homebannerFadeBitti()'+'></div>');for(i=0;i<2;i++){	if(0==0){homebannerds=homebannerds+homebannerlinkstr[i];if(homebannerlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	homebannerds=homebannerds+'<div id="homebannerdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+homebannerDescCalcWidth+'px;height:'+homebannerDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	homebannerds=homebannerds+'<div style="position:absolute;left:0px;top:0px;width:'+homebannerDescCalcWidth+'px;height:'+homebannerDescCalcHeight+'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>';	homebannerds=homebannerds+'<div style="position:relative;left:0px;top:0px;width:'+homebannerDescCalcIcWidth+'px;height:'+homebannerDescCalcIcHeight+'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;">';	homebannerds=homebannerds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+homebannertitarr[i]+'</span><br />'+homebannerdesarr[i];	homebannerds=homebannerds+'</div>';	homebannerds=homebannerds+'</div>';	if(0==0){homebannerds=homebannerds+homebannerclslinkstr[i];}	}document.write(''+homebannerds);function homebannerShowCurrentDesc(){	if((homebannerdescgoster==1)&&( (homebannertitarr[homebannerrealcurrent].length>0) || (homebannerdesarr[homebannerrealcurrent].length>0)  ))	{		after_des=document.getElementById('homebannerdesc'+homebannerrealcurrent);		after_des.style.visibility="visible";		}}function homebannerHideCurrentDesc(){	before_des=document.getElementById('homebannerdesc'+homebannervcurr);	before_des.style.visibility="hidden";}function homebannerHighlightCurrTumb(){	if((0==1)&&(0==0))	{		homebannerbeforethumb=document.getElementById('homebannerthumb'+homebannervcurr);		homebannerafterthumb=document.getElementById('homebannerthumb'+homebannerrealcurrent);		homebannerbeforethumb.style.borderColor='999999';		homebannerafterthumb.style.borderColor='990000';	}}document.write('</div>');function homebannerzindx(){	homebannerobjn.style.visibility="visible";	homebannerobjc.style.zIndex=2;	homebannerobjn.style.zIndex=3;    }function homebannerThumbOut(tobj,nm){	if((homebannervcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function homebannerThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function homebannerSonrakiClick(c,n){	homebannervcurr=c;	homebannervnext=n;			homebannerobjc=document.getElementById('homebannerd'+homebannervcurr);	homebannerobjn=document.getElementById('homebannerd'+homebannervnext);		if(homebannerfademi!=1)	{		homebannerobjc.style.visibility="visible";			homebannerobjn.style.visibility="visible";		}		}function homebannerSonraki(){	homebannervcurr=homebannervnext;	homebannervnext=homebannervnext+1;		if(homebannervnext>=2)	{		homebannervnext=0;		homebannertam=1;	}		homebannerobjc=document.getElementById('homebannerd'+homebannervcurr);	homebannerobjn=document.getElementById('homebannerd'+homebannervnext);		      }function homebannersecondcomplate(){	this.c=1;}function homebannerdevam(fm,pt){	if((homebannerimgarr[homebannervnext].c==1)&&(homebannerimgarr[homebannervcurr].c==1))	{		homebannertimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('homebannerdevam("'+fm+'")',500);	}	var homebannercagain=1;	for(i=0;i<2;i++)	{		if(homebannerimgarr[i].c==1){}		else{homebannercagain=0;}	}	if(homebannercagain==1){homebannertam=1;}}function ThumbClick(clicked_img,tobj){	if(homebannerjbtype==1){return;}	clearTimeout(homebannertimeo);	homebannerSonrakiClick(homebannerrealcurrent,clicked_img);	if(homebannerfademi==1)        {            if(IEB==true)            {		if(homebannertam==0)		{	    		homebannerdevam("homebannerdotrans",4000);		}		else		{			homebannerdotrans();		}            }            else            {		if(homebannertam==0)		{    			homebannerdevam("homebannerbeftrans",4000);		}		else		{			homebannerbeftrans();		}            }        }	else if(homebannerfademi==2)	{		if(homebannertam==0)		{ 			homebannerdevam("homebannerDoSlide",4000);		}		else		{			homebannerDoSlide();		}	}	else if(homebannerfademi==3)	{		if(homebannertam==0)		{ 			homebannerdevam("homebannerDoScrollUp",4000);		}		else		{			homebannerDoScrollUp();		}	}	else if(homebannerfademi==4)	{		if(homebannertam==0)		{ 			homebannerdevam("homebannerDoBlindX",4000);		}		else		{			homebannerDoBlindX();		}	}	else if(homebannerfademi==5)	{		if(homebannertam==0)		{ 			homebannerdevam("homebannerDoBlindY",4000);		}		else		{			homebannerDoBlindY();		}	}	}function homebannersl(){homebannerfademi=1;homebannervcurr=0;homebannervnext=0;homebannervssdiv=null;stepc=20*(2);homebannerdif=0.00;homebannerop=1.00;homebannerdif=(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:'+homebannericwidth+'px;height:'+homebannericheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="homebannerimg';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.homebannerdotrans=homebannerdotrans;this.homebannerinitte=homebannerinitte;this.homebannerinitte2=homebannerinitte2;this.homebannerbeftrans=homebannerbeftrans;this.homebannerdotransff=homebannerdotransff;}function homebannerFadeBitti(){	homebannerjbtype=0;	homebannerShowCurrentDesc();	}function homebannerdotrans(){	homebannerjbtype=1;	homebannerHideCurrentDesc();	if(IEB==true){homebannervssdiv.filters[0].apply();}	homebannerobjc.style.visibility="hidden";	homebannerobjn.style.visibility="visible";	if(IEB==true){homebannervssdiv.filters[0].play();}	homebannerrealcurrent=homebannervnext;	homebannerHighlightCurrTumb();	homebannerSonraki();			if(homebannertam==0){homebannerdevam("homebannerdotrans",((1000*2)+4000));}	else	{		homebannertimeo=setTimeout('homebannerdotrans()',((1000*2)+4000));	} 	}function homebannerdotransff(){	homebannerop=homebannerop-homebannerdif;		if(homebannerop<(0.00)){homebannerop=0.00;}	homebannerobjc.style.opacity = homebannerop;	homebannerobjn.style.opacity = 1.00-homebannerop;	if(homebannerop>(0.00))	{		setTimeout('homebannerdotransff()',50);	}	else	{		homebannerobjc.style.zIndex=2;		homebannerobjn.style.zIndex=3;		homebannerrealcurrent=homebannervnext;		homebannerShowCurrentDesc();		homebannerHighlightCurrTumb();				homebannerSonraki();			        if(homebannertam==0){homebannerdevam("homebannerbeftrans",4000);}        	else {homebannertimeo=setTimeout('homebannerbeftrans()',4000);}		homebannerjbtype=0;  					}}function homebannerbeftrans(){	homebannerjbtype=1;	homebannerHideCurrentDesc();    	homebannerop=1.00;	homebannerobjc.style.visibility="visible";	homebannerobjn.style.visibility="visible";		homebannerobjc.style.zIndex=3;	homebannerobjn.style.zIndex=2;		homebannerobjc.style.opacity = 1.00;		homebannerobjn.style.opacity = 1.00;			homebannerdotransff();	}function homebannerDoSlide(){	homebannerjbtype=1;	homebannerHideCurrentDesc();	homebannerkalan=homebannerkalan-Math.ceil(homebannerkalan/2);	homebannerobjc.style.left=""+(homebannerkalan-homebannericwidth)+"px";	homebannerobjn.style.left=""+homebannerkalan+"px";		if(homebannerkalan<=0)	{		homebannerrealcurrent=homebannervnext;		homebannerShowCurrentDesc();		homebannerHighlightCurrTumb();    		homebannerSonraki();		homebannerkalan=homebannericwidth;		homebannerobjn.style.left=""+homebannerkalan+"px";	        		homebannerzindx();          		homebannerjbtype=0;        		if(homebannertam==0){homebannerdevam("homebannerDoSlide",4000);}		else {homebannertimeo=setTimeout('homebannerDoSlide()',4000);}	}	else	{		setTimeout('homebannerDoSlide()',50);    	} }function homebannerDoScrollUp(){	homebannerjbtype=1;	homebannerHideCurrentDesc();	homebannerkalan=homebannerkalan-Math.ceil(homebannerkalan/2);	homebannerobjc.style.top=""+(homebannerkalan-homebannericheight)+"px";	homebannerobjn.style.top=""+homebannerkalan+"px";	    if(homebannerkalan<=0)    {	homebannerrealcurrent=homebannervnext;	homebannerShowCurrentDesc();	homebannerHighlightCurrTumb();        homebannerSonraki();        homebannerkalan=homebannericheight;	homebannerobjn.style.top=""+homebannerkalan+"px";	        homebannerzindx();                 	homebannerjbtype=0;        if(homebannertam==0){homebannerdevam('homebannerDoScrollUp',4000);}        else{homebannertimeo=setTimeout('homebannerDoScrollUp()',4000);}        }    else    {        setTimeout('homebannerDoScrollUp()',50);        }}function homebannerDoBlindX(){	homebannerjbtype=1;	homebannerHideCurrentDesc();   	homebannerkalan=homebannerkalan-Math.ceil(homebannerkalan/2);	homebannerobjc.style.left=""+(homebannericwidth-homebannerkalan)+"px";	homebannerobjn.style.left=""+homebannerkalan+"px";	    if(homebannerkalan<=0)    {		homebannerrealcurrent=homebannervnext;		homebannerShowCurrentDesc();	homebannerHighlightCurrTumb();            homebannerSonraki();        homebannerkalan=homebannericwidth;	homebannerobjn.style.left=""+homebannerkalan+"px";		    	        homebannerzindx();	homebannerjbtype=0;                  if(homebannertam==0){homebannerdevam("homebannerDoBlindX",4000);}        else{homebannertimeo=setTimeout('homebannerDoBlindX()',4000);}    }    else    {        setTimeout('homebannerDoBlindX()',50);        }}function homebannerDoBlindY(){	homebannerjbtype=1;	homebannerHideCurrentDesc();  	homebannerkalan=homebannerkalan-Math.ceil(homebannerkalan/2);	homebannerobjc.style.top=""+(homebannericheight-homebannerkalan)+"px";	homebannerobjn.style.top=""+homebannerkalan+"px";	    if(homebannerkalan<=0)    {		homebannerrealcurrent=homebannervnext;		homebannerShowCurrentDesc();homebannerHighlightCurrTumb();        homebannerSonraki();        homebannerkalan=homebannericheight;	    homebannerobjn.style.top=""+homebannerkalan+"px";                homebannerzindx();                 	homebannerjbtype=0;        if(homebannertam==0){homebannerdevam("homebannerDoBlindY",4000);}        else{homebannertimeo=setTimeout('homebannerDoBlindY()',4000);}        }    else    {        setTimeout('homebannerDoBlindY()',50);        } }function homebannerinitte2(){	homebannerthumbs_obj=document.getElementById('homebannerthumbsid');	homebannermoving_obj=document.getElementById('homebannermovingdiv');	homebannervssdiv=document.getElementById("homebannerdv");	if(2>0)	{		homebannerobjc=document.getElementById('homebannerd'+0);			homebannerobjc.style.visibility="visible";		}	if(2>1)	{		homebannervcurr=0;		homebannervnext=0;		homebannerrealcurrent=0;        if(homebannerfademi==0)        {			homebannervcurr=0;			homebannervnext=1;			homebannerrealcurrent=0;			setTimeout('homebannerdotrans()',4000);                }        else if(homebannerfademi==1)        {            if(IEB==true)            {	    		homebannerSonraki();			homebannerShowCurrentDesc();			homebannerHighlightCurrTumb();	    		homebannerdevam("homebannerdotrans",4000);                       }            else            {	    		homebannerSonraki();			homebannerShowCurrentDesc();			homebannerHighlightCurrTumb();	    		homebannerdevam("homebannerbeftrans",4000);                        }        }         else if(homebannerfademi==2)        {		homebannerkalan=homebannericwidth;     		homebannerSonraki();		homebannerrealcurrent=0;		homebannerShowCurrentDesc();		homebannerHighlightCurrTumb();		homebannerobjn.style.left=""+homebannerkalan+"px";          			homebannerzindx();            		homebannerdevam("homebannerDoSlide",4000);		   	                }        else if(homebannerfademi==3)        {		homebannerkalan=homebannericheight;            		homebannerSonraki();		homebannerrealcurrent=0;		homebannerShowCurrentDesc();		homebannerHighlightCurrTumb();		homebannerobjn.style.top=""+homebannerkalan+"px";            			homebannerzindx();                        		homebannerdevam("homebannerDoScrollUp",4000);               }                  else if(homebannerfademi==4)        {                        homebannerkalan=homebannericwidth;                        homebannerSonraki();		homebannerrealcurrent=0;		homebannerShowCurrentDesc();homebannerHighlightCurrTumb();        	homebannerobjn.style.left=""+homebannerkalan+"px";	            	            homebannerzindx();                                   homebannerdevam("homebannerDoBlindX",4000);                 }            else if(homebannerfademi==5)        {                        homebannerkalan=homebannericheight;                        homebannerSonraki();		homebannerrealcurrent=0;		homebannerShowCurrentDesc();homebannerHighlightCurrTumb();        	homebannerobjn.style.top=""+homebannerkalan+"px";            	            homebannerzindx();                                  homebannerdevam("homebannerDoBlindY",4000);                 }												}}function homebannerinitte(){	i=0;	innertxt="";	for(i=0;i<2;i++)	{		innertxt=innertxt+dstr1+"homebannerd"+i+dstr2+dstr23+homebannerlinkstr[i]+dstr3+i+dstr4+homebannerimgstr[i]+dstr5+homebannerclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('homebannerdv');	spage.innerHTML=""+innertxt;    setTimeout('homebannerinitte2()',100);}function homebannerBas(){        homebanners=new homebannersl();        homebanners.homebannerinitte();}setTimeout('homebannerBas()',100);
