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 ticketsBuys=null;var ticketsBuydescgoster=0;var ticketsBuythumbgoster=0;var ticketsBuycwidth=0;var ticketsBuycheight=0;var ticketsBuycalc=0;var ticketsBuytam=0;var ticketsBuykalan=0;var ticketsBuykalany=0;var ticketsBuyts="";var ticketsBuyds="";var ticketsBuyjbtype=0;var ticketsBuyrealcurrent=0;var ticketsBuytimeo=null;ticketsBuythumbs_obj=null;ticketsBuymoving_obj=null;ticketsBuyTotalThumbWidth=0;ticketsBuyTotalThumbHeight=0;ticketsBuyMoveIcWidth=0;var TBW=0;var CursorStr="default";var ticketsBuyDescCalcWidth=0;var ticketsBuyDescCalcHeight=0;var ticketsBuyDescCalcIcWidth=0;var ticketsBuyDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;ticketsBuyimgarr=new Array();ticketsBuythumbimgstr=new Array();ticketsBuyimgstr=new Array();ticketsBuylinkstr=new Array();ticketsBuyclslinkstr=new Array();ticketsBuytitarr=new Array();ticketsBuydesarr=new Array();ticketsBuyimgarr[0]=new Image();ticketsBuyimgarr[0].c=0;ticketsBuyimgarr[0].onload = ticketsBuysecondcomplate;ticketsBuyimgarr[0].src=ticketsBuyfoldername+'sporting.jpg';ticketsBuyimgstr[0]=ticketsBuyfoldername+'sporting.jpg';ticketsBuythumbimgstr[0]=ticketsBuyfoldername+'sporting.jpg';ticketsBuylinkstr[0]='<a href="sporting.php" target="_self" style="text-decoration: none;">';ticketsBuyclslinkstr[0]='</a>';ticketsBuytitarr[0]="Sporting Event Tickets";ticketsBuydesarr[0]="Purchase just about any sporting event ticket. Go see your favorite teams, cheer on your favorite player. Do all of this - LIVE! Purchase those tickets here at Tickets-Buy!";ticketsBuyimgarr[1]=new Image();ticketsBuyimgarr[1].c=0;ticketsBuyimgarr[1].onload = ticketsBuysecondcomplate;ticketsBuyimgarr[1].src=ticketsBuyfoldername+'concert.jpg';ticketsBuyimgstr[1]=ticketsBuyfoldername+'concert.jpg';ticketsBuythumbimgstr[1]=ticketsBuyfoldername+'concert.jpg';ticketsBuylinkstr[1]='<a href="concert.php" target="_self" style="text-decoration: none;">';ticketsBuyclslinkstr[1]='</a>';ticketsBuytitarr[1]="Concert Tickets";ticketsBuydesarr[1]="At Tickets-Buy, you can view tickets that are for sale for just about any genre of music inlcuding country, pop, r&b, and even rock. So go and see the best musicians out there.";ticketsBuyimgarr[2]=new Image();ticketsBuyimgarr[2].c=0;ticketsBuyimgarr[2].onload = ticketsBuysecondcomplate;ticketsBuyimgarr[2].src=ticketsBuyfoldername+'theatre.jpg';ticketsBuyimgstr[2]=ticketsBuyfoldername+'theatre.jpg';ticketsBuythumbimgstr[2]=ticketsBuyfoldername+'theatre.jpg';ticketsBuylinkstr[2]='<a href="theatre.php" target="_self" style="text-decoration: none;">';ticketsBuyclslinkstr[2]='</a>';ticketsBuytitarr[2]="Theatre Tickets";ticketsBuydesarr[2]="If you have ever wondered what it would be like to go see a broadway play, or an opera, or a special theatre release, then view our theatre section to find all of your favorites and watch them live. ";if((IEB==true)&&(scompat == "BackCompat" )){    ticketsBuycwidth=400;    ticketsBuycheight=268;}else{    ticketsBuycwidth=400-2*(0);    ticketsBuycheight=268-2*(0);}var ticketsBuyicwidth=400-2*(0);var ticketsBuyicheight=268-2*(0);ticketsBuyDescCalcWidth=260;ticketsBuyDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	ticketsBuyDescCalcIcWidth=ticketsBuyDescCalcWidth;	ticketsBuyDescCalcIcHeight=ticketsBuyDescCalcHeight;}else{    ticketsBuyDescCalcIcWidth=ticketsBuyDescCalcWidth-2*(2)-2*(3);    ticketsBuyDescCalcIcHeight=ticketsBuyDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+ticketsBuycwidth+'px;height:'+ticketsBuycheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'000000'+';'+''+''+'">');document.write('<div id="ticketsBuydv" style="position:relative;width:'+ticketsBuyicwidth+'px;height:'+ticketsBuyicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+''+'"'+' onfilterchange=ticketsBuyFadeBitti()'+'></div>');for(i=0;i<3;i++){	if(0==0){ticketsBuyds=ticketsBuyds+ticketsBuylinkstr[i];if(ticketsBuylinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	ticketsBuyds=ticketsBuyds+'<div id="ticketsBuydesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+ticketsBuyDescCalcWidth+'px;height:'+ticketsBuyDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	ticketsBuyds=ticketsBuyds+'<div style="position:absolute;left:0px;top:0px;width:'+ticketsBuyDescCalcWidth+'px;height:'+ticketsBuyDescCalcHeight+'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>';	ticketsBuyds=ticketsBuyds+'<div style="position:relative;left:0px;top:0px;width:'+ticketsBuyDescCalcIcWidth+'px;height:'+ticketsBuyDescCalcIcHeight+'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;">';	ticketsBuyds=ticketsBuyds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+ticketsBuytitarr[i]+'</span><br />'+ticketsBuydesarr[i];	ticketsBuyds=ticketsBuyds+'</div>';	ticketsBuyds=ticketsBuyds+'</div>';	if(0==0){ticketsBuyds=ticketsBuyds+ticketsBuyclslinkstr[i];}	}document.write(''+ticketsBuyds);function ticketsBuyShowCurrentDesc(){	if((ticketsBuydescgoster==1)&&( (ticketsBuytitarr[ticketsBuyrealcurrent].length>0) || (ticketsBuydesarr[ticketsBuyrealcurrent].length>0)  ))	{		after_des=document.getElementById('ticketsBuydesc'+ticketsBuyrealcurrent);		after_des.style.visibility="visible";		}}function ticketsBuyHideCurrentDesc(){	before_des=document.getElementById('ticketsBuydesc'+ticketsBuyvcurr);	before_des.style.visibility="hidden";}function ticketsBuyHighlightCurrTumb(){	if((0==1)&&(0==0))	{		ticketsBuybeforethumb=document.getElementById('ticketsBuythumb'+ticketsBuyvcurr);		ticketsBuyafterthumb=document.getElementById('ticketsBuythumb'+ticketsBuyrealcurrent);		ticketsBuybeforethumb.style.borderColor='999999';		ticketsBuyafterthumb.style.borderColor='990000';	}}document.write('</div>');function ticketsBuyzindx(){	ticketsBuyobjn.style.visibility="visible";	ticketsBuyobjc.style.zIndex=2;	ticketsBuyobjn.style.zIndex=3;    }function ticketsBuyThumbOut(tobj,nm){	if((ticketsBuyvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function ticketsBuyThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function ticketsBuySonrakiClick(c,n){	ticketsBuyvcurr=c;	ticketsBuyvnext=n;			ticketsBuyobjc=document.getElementById('ticketsBuyd'+ticketsBuyvcurr);	ticketsBuyobjn=document.getElementById('ticketsBuyd'+ticketsBuyvnext);		if(ticketsBuyfademi!=1)	{		ticketsBuyobjc.style.visibility="visible";			ticketsBuyobjn.style.visibility="visible";		}		}function ticketsBuySonraki(){	ticketsBuyvcurr=ticketsBuyvnext;	ticketsBuyvnext=ticketsBuyvnext+1;		if(ticketsBuyvnext>=3)	{		ticketsBuyvnext=0;		ticketsBuytam=1;	}		ticketsBuyobjc=document.getElementById('ticketsBuyd'+ticketsBuyvcurr);	ticketsBuyobjn=document.getElementById('ticketsBuyd'+ticketsBuyvnext);		      }function ticketsBuysecondcomplate(){	this.c=1;}function ticketsBuydevam(fm,pt){	if((ticketsBuyimgarr[ticketsBuyvnext].c==1)&&(ticketsBuyimgarr[ticketsBuyvcurr].c==1))	{		ticketsBuytimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('ticketsBuydevam("'+fm+'")',500);	}	var ticketsBuycagain=1;	for(i=0;i<3;i++)	{		if(ticketsBuyimgarr[i].c==1){}		else{ticketsBuycagain=0;}	}	if(ticketsBuycagain==1){ticketsBuytam=1;}}function ThumbClick(clicked_img,tobj){	if(ticketsBuyjbtype==1){return;}	clearTimeout(ticketsBuytimeo);	ticketsBuySonrakiClick(ticketsBuyrealcurrent,clicked_img);	if(ticketsBuyfademi==1)        {            if(IEB==true)            {		if(ticketsBuytam==0)		{	    		ticketsBuydevam("ticketsBuydotrans",4000);		}		else		{			ticketsBuydotrans();		}            }            else            {		if(ticketsBuytam==0)		{    			ticketsBuydevam("ticketsBuybeftrans",4000);		}		else		{			ticketsBuybeftrans();		}            }        }	else if(ticketsBuyfademi==2)	{		if(ticketsBuytam==0)		{ 			ticketsBuydevam("ticketsBuyDoSlide",4000);		}		else		{			ticketsBuyDoSlide();		}	}	else if(ticketsBuyfademi==3)	{		if(ticketsBuytam==0)		{ 			ticketsBuydevam("ticketsBuyDoScrollUp",4000);		}		else		{			ticketsBuyDoScrollUp();		}	}	else if(ticketsBuyfademi==4)	{		if(ticketsBuytam==0)		{ 			ticketsBuydevam("ticketsBuyDoBlindX",4000);		}		else		{			ticketsBuyDoBlindX();		}	}	else if(ticketsBuyfademi==5)	{		if(ticketsBuytam==0)		{ 			ticketsBuydevam("ticketsBuyDoBlindY",4000);		}		else		{			ticketsBuyDoBlindY();		}	}	}function ticketsBuysl(){ticketsBuyfademi=3;ticketsBuyvcurr=0;ticketsBuyvnext=0;ticketsBuyvssdiv=null;stepc=20*(2);ticketsBuydif=0.00;ticketsBuyop=1.00;ticketsBuydif=(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:'+ticketsBuyicwidth+'px;height:'+ticketsBuyicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="ticketsBuyimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#000000'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.ticketsBuydotrans=ticketsBuydotrans;this.ticketsBuyinitte=ticketsBuyinitte;this.ticketsBuyinitte2=ticketsBuyinitte2;this.ticketsBuybeftrans=ticketsBuybeftrans;this.ticketsBuydotransff=ticketsBuydotransff;}function ticketsBuyFadeBitti(){	ticketsBuyjbtype=0;	ticketsBuyShowCurrentDesc();	}function ticketsBuydotrans(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();	if(IEB==true){ticketsBuyvssdiv.filters[0].apply();}	ticketsBuyobjc.style.visibility="hidden";	ticketsBuyobjn.style.visibility="visible";	if(IEB==true){ticketsBuyvssdiv.filters[0].play();}	ticketsBuyrealcurrent=ticketsBuyvnext;	ticketsBuyHighlightCurrTumb();	ticketsBuySonraki();			if(ticketsBuytam==0){ticketsBuydevam("ticketsBuydotrans",((1000*2)+4000));}	else	{		ticketsBuytimeo=setTimeout('ticketsBuydotrans()',((1000*2)+4000));	} 	}function ticketsBuydotransff(){	ticketsBuyop=ticketsBuyop-ticketsBuydif;		if(ticketsBuyop<(0.00)){ticketsBuyop=0.00;}	ticketsBuyobjc.style.opacity = ticketsBuyop;	ticketsBuyobjn.style.opacity = 1.00-ticketsBuyop;	if(ticketsBuyop>(0.00))	{		setTimeout('ticketsBuydotransff()',50);	}	else	{		ticketsBuyobjc.style.zIndex=2;		ticketsBuyobjn.style.zIndex=3;		ticketsBuyrealcurrent=ticketsBuyvnext;		ticketsBuyShowCurrentDesc();		ticketsBuyHighlightCurrTumb();				ticketsBuySonraki();			        if(ticketsBuytam==0){ticketsBuydevam("ticketsBuybeftrans",4000);}        	else {ticketsBuytimeo=setTimeout('ticketsBuybeftrans()',4000);}		ticketsBuyjbtype=0;  					}}function ticketsBuybeftrans(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();    	ticketsBuyop=1.00;	ticketsBuyobjc.style.visibility="visible";	ticketsBuyobjn.style.visibility="visible";		ticketsBuyobjc.style.zIndex=3;	ticketsBuyobjn.style.zIndex=2;		ticketsBuyobjc.style.opacity = 1.00;		ticketsBuyobjn.style.opacity = 1.00;			ticketsBuydotransff();	}function ticketsBuyDoSlide(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();	ticketsBuykalan=ticketsBuykalan-Math.ceil(ticketsBuykalan/2);	ticketsBuyobjc.style.left=""+(ticketsBuykalan-ticketsBuyicwidth)+"px";	ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";		if(ticketsBuykalan<=0)	{		ticketsBuyrealcurrent=ticketsBuyvnext;		ticketsBuyShowCurrentDesc();		ticketsBuyHighlightCurrTumb();    		ticketsBuySonraki();		ticketsBuykalan=ticketsBuyicwidth;		ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";	        		ticketsBuyzindx();          		ticketsBuyjbtype=0;        		if(ticketsBuytam==0){ticketsBuydevam("ticketsBuyDoSlide",4000);}		else {ticketsBuytimeo=setTimeout('ticketsBuyDoSlide()',4000);}	}	else	{		setTimeout('ticketsBuyDoSlide()',50);    	} }function ticketsBuyDoScrollUp(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();	ticketsBuykalan=ticketsBuykalan-Math.ceil(ticketsBuykalan/2);	ticketsBuyobjc.style.top=""+(ticketsBuykalan-ticketsBuyicheight)+"px";	ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";	    if(ticketsBuykalan<=0)    {	ticketsBuyrealcurrent=ticketsBuyvnext;	ticketsBuyShowCurrentDesc();	ticketsBuyHighlightCurrTumb();        ticketsBuySonraki();        ticketsBuykalan=ticketsBuyicheight;	ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";	        ticketsBuyzindx();                 	ticketsBuyjbtype=0;        if(ticketsBuytam==0){ticketsBuydevam('ticketsBuyDoScrollUp',4000);}        else{ticketsBuytimeo=setTimeout('ticketsBuyDoScrollUp()',4000);}        }    else    {        setTimeout('ticketsBuyDoScrollUp()',50);        }}function ticketsBuyDoBlindX(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();   	ticketsBuykalan=ticketsBuykalan-Math.ceil(ticketsBuykalan/2);	ticketsBuyobjc.style.left=""+(ticketsBuyicwidth-ticketsBuykalan)+"px";	ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";	    if(ticketsBuykalan<=0)    {		ticketsBuyrealcurrent=ticketsBuyvnext;		ticketsBuyShowCurrentDesc();	ticketsBuyHighlightCurrTumb();            ticketsBuySonraki();        ticketsBuykalan=ticketsBuyicwidth;	ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";		    	        ticketsBuyzindx();	ticketsBuyjbtype=0;                  if(ticketsBuytam==0){ticketsBuydevam("ticketsBuyDoBlindX",4000);}        else{ticketsBuytimeo=setTimeout('ticketsBuyDoBlindX()',4000);}    }    else    {        setTimeout('ticketsBuyDoBlindX()',50);        }}function ticketsBuyDoBlindY(){	ticketsBuyjbtype=1;	ticketsBuyHideCurrentDesc();  	ticketsBuykalan=ticketsBuykalan-Math.ceil(ticketsBuykalan/2);	ticketsBuyobjc.style.top=""+(ticketsBuyicheight-ticketsBuykalan)+"px";	ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";	    if(ticketsBuykalan<=0)    {		ticketsBuyrealcurrent=ticketsBuyvnext;		ticketsBuyShowCurrentDesc();ticketsBuyHighlightCurrTumb();        ticketsBuySonraki();        ticketsBuykalan=ticketsBuyicheight;	    ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";                ticketsBuyzindx();                 	ticketsBuyjbtype=0;        if(ticketsBuytam==0){ticketsBuydevam("ticketsBuyDoBlindY",4000);}        else{ticketsBuytimeo=setTimeout('ticketsBuyDoBlindY()',4000);}        }    else    {        setTimeout('ticketsBuyDoBlindY()',50);        } }function ticketsBuyinitte2(){	ticketsBuythumbs_obj=document.getElementById('ticketsBuythumbsid');	ticketsBuymoving_obj=document.getElementById('ticketsBuymovingdiv');	ticketsBuyvssdiv=document.getElementById("ticketsBuydv");	if(3>0)	{		ticketsBuyobjc=document.getElementById('ticketsBuyd'+0);			ticketsBuyobjc.style.visibility="visible";		}	if(3>1)	{		ticketsBuyvcurr=0;		ticketsBuyvnext=0;		ticketsBuyrealcurrent=0;        if(ticketsBuyfademi==0)        {			ticketsBuyvcurr=0;			ticketsBuyvnext=1;			ticketsBuyrealcurrent=0;			setTimeout('ticketsBuydotrans()',4000);                }        else if(ticketsBuyfademi==1)        {            if(IEB==true)            {	    		ticketsBuySonraki();			ticketsBuyShowCurrentDesc();			ticketsBuyHighlightCurrTumb();	    		ticketsBuydevam("ticketsBuydotrans",4000);                       }            else            {	    		ticketsBuySonraki();			ticketsBuyShowCurrentDesc();			ticketsBuyHighlightCurrTumb();	    		ticketsBuydevam("ticketsBuybeftrans",4000);                        }        }         else if(ticketsBuyfademi==2)        {		ticketsBuykalan=ticketsBuyicwidth;     		ticketsBuySonraki();		ticketsBuyrealcurrent=0;		ticketsBuyShowCurrentDesc();		ticketsBuyHighlightCurrTumb();		ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";          			ticketsBuyzindx();            		ticketsBuydevam("ticketsBuyDoSlide",4000);		   	                }        else if(ticketsBuyfademi==3)        {		ticketsBuykalan=ticketsBuyicheight;            		ticketsBuySonraki();		ticketsBuyrealcurrent=0;		ticketsBuyShowCurrentDesc();		ticketsBuyHighlightCurrTumb();		ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";            			ticketsBuyzindx();                        		ticketsBuydevam("ticketsBuyDoScrollUp",4000);               }                  else if(ticketsBuyfademi==4)        {                        ticketsBuykalan=ticketsBuyicwidth;                        ticketsBuySonraki();		ticketsBuyrealcurrent=0;		ticketsBuyShowCurrentDesc();ticketsBuyHighlightCurrTumb();        	ticketsBuyobjn.style.left=""+ticketsBuykalan+"px";	            	            ticketsBuyzindx();                                   ticketsBuydevam("ticketsBuyDoBlindX",4000);                 }            else if(ticketsBuyfademi==5)        {                        ticketsBuykalan=ticketsBuyicheight;                        ticketsBuySonraki();		ticketsBuyrealcurrent=0;		ticketsBuyShowCurrentDesc();ticketsBuyHighlightCurrTumb();        	ticketsBuyobjn.style.top=""+ticketsBuykalan+"px";            	            ticketsBuyzindx();                                  ticketsBuydevam("ticketsBuyDoBlindY",4000);                 }												}}function ticketsBuyinitte(){	i=0;	innertxt="";	for(i=0;i<3;i++)	{		innertxt=innertxt+dstr1+"ticketsBuyd"+i+dstr2+dstr23+ticketsBuylinkstr[i]+dstr3+i+dstr4+ticketsBuyimgstr[i]+dstr5+ticketsBuyclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('ticketsBuydv');	spage.innerHTML=""+innertxt;    setTimeout('ticketsBuyinitte2()',100);}function ticketsBuyBas(){        ticketsBuys=new ticketsBuysl();        ticketsBuys.ticketsBuyinitte();}setTimeout('ticketsBuyBas()',100);
