 function showMessage1()
 {
   var all = document.all;
   var trnsM1 = all.trnsMsg1;
   if(trnsM1)
     trnsM1.style.display = 'block';
   var trnsM2 = all.trnsMsg2;
   if(trnsM2)
     trnsM2.style.display = 'none';
 }
 
 function showMessage2()
 {
   var all = document.all;
   var trnsM1 = all.trnsMsg1;
   if(trnsM1)
     trnsM1.style.display = 'none';
   var trnsM2 = all.trnsMsg2;
   if(trnsM2)
     trnsM2.style.display = 'block';
 } 
 
 function enableTrnsPage()
 {
   var all = document.all;
   var trns = all.trnsPage;
   if(trns){
     var s = trns.style;
     var b = document.body;
     s.top = b.scrollTop + b.clientHeight / 2 - trns.offsetHeight / 2;
     s.left = b.scrollLeft + b.clientWidth / 2 - trns.offsetWidth / 2;
     s.display = 'block';
   }
   
   showMessage1();
 }
 
 function enablePage()
 {
   var noP = document.all.noPage;
   if(noP)
     noP.style.display = 'none';
 }
 
 function disablePage()
 {
   var noP = document.all.noPage;
   if(noP)
   {
     noP.style.display = 'block';
   }
}

function disableTrnsPage()
{
   var all = document.all;
   var trns = all.trnsPage;
   if(trns){
     var s = trns.style;
     var b = document.body;
     s.display = 'none';
   }	
}

function startTransition()
{ 
  disablePage();
  timedCount();
  enableTrnsPage();
}

function endTransition()
{
	enablePage();
	disableTrnsPage();
}

var c=0
var t
function timedCount()
{	
	if(c<12)
	{
		t=setTimeout("timedCount()",800);
		c=c+1;
	}
	if(c==12)
	{
		window.location = "http://www.rixyncs.com/whoweare.htm";
		stopCount();
		c = 0;
	}
	
}

function stopCount()
{
	clearTimeout(t);
}
