var vG49 = false;
var vG50 	= null;
var vG51 	= null;
function ff81(vL528,vL529,vL530,vL531)	{
	var vL532 = vL528;
	for (var vL533=0; vL533<vL531; vL533++)	{
		IndxNumbers_currEventIndex		= vL529[vL533];
		currEvent 						= vL530[IndxNumbers_currEventIndex];
		currEvent_Date_Year			= currEvent.getElementsByTagName('year')[0].firstChild.nodeValue;
		currEvent_Date_Month 		= currEvent.getElementsByTagName('month')[0].firstChild.nodeValue;
		currEvent_Date_DayOfMonth 	= currEvent.getElementsByTagName('day')[0].firstChild.nodeValue;
		vL532 		= vL532+'  ->   '+currEvent_Date_Year+'-'+currEvent_Date_Month+'-'+currEvent_Date_DayOfMonth+'\n';
	}
	alert(vL532)
}
function ff82(vL534)	{
	if(!vL534)	{	return  null;	}
	var vL535 		= vL534.length;
	if(vL535 <= 0)		{	return  null;	}
	var vL536 = new  Array(vL535);
	for(var vL537=0; vL537<vL535; vL537++)	{	vL536[vL537] = -1;	}
	var vL538 = 0;
	var vL539;
	var vL540 = '';
	var vL541;
	var vL542;
	for(var vL543=0; vL543<vL535; vL543++)	{
			vL541 = vL534[vL543];
			currEvent_Date_Year			= vL541.getElementsByTagName('year')[0].firstChild.nodeValue;
			currEvent_Date_Month 		= vL541.getElementsByTagName('month')[0].firstChild.nodeValue;
			currEvent_Date_DayOfMonth 	= vL541.getElementsByTagName('day')[0].firstChild.nodeValue;
			vL540 = vL540+'  ->   '+currEvent_Date_Year+'-'+currEvent_Date_Month+'-'+currEvent_Date_DayOfMonth+'\n';
			vL538 = 0;
			vL542  	= vL536[vL538];
			while(vL538<=vL543)	{
				if(vL542==-1)				{
						vL536[vL538] = vL543;
						break;
				}
				vL541 		= vL534[vL542];
				vL539 		= ff83(currEvent_Date_Year,currEvent_Date_Month,currEvent_Date_DayOfMonth,vL541);
				if(vL539 < 0)	{
					for(var vL544=vL535-1;	vL544>vL538; vL544--)		{
						vL536[vL544] = vL536[vL544-1];
					}
					vL536[vL538] = vL543;
					break;
				}
				vL538 		= vL538 + 1;
				vL542  = vL536[vL538];
			}
	}
	return vL536;
}
function ff83(vL545,vL546,vL547,vL548)	{
	var vL549 		= 0;
	var vL550  		= vL548.getElementsByTagName('date');
	var vL551 = vL550[0].childNodes[vL549];
	var vL552 = false;
	var vL553 , dayOfMonth4EventTense;
	var vL554 = 0;
	while(vL551!=null)				{
		if(vL551.nodeType==1)			{
			vL554 = parseInt(vL551.firstChild.nodeValue);
			switch(vL551.nodeName)	{
					case 'year':if(     vL545 < vL554)	{	return  -1;	}
								else if(vL545 > vL554)	{	return    1;	}
								vL552 = true;
								break;
					case 'month':if(    vL546 < vL554)	{	vL553 = -1;	}
								else if(vL546 > vL554)	{	vL553 =  1;	}
								else							{	vL553 =  0;	}
								break;
					case 'day': if(     vL547 < vL554)	{	dayOfMonth4EventTense  = -1;		}
								else if(vL547 > vL554)	{	dayOfMonth4EventTense  =  1;		}
								else										{	dayOfMonth4EventTense =  0;		}
								break;
					default: 	break;
				}
		}
		vL549 = vL549+1;
		vL551 = vL550[0].childNodes[vL549];
	}
	if(vL552)					{
		if(vL553!=0)			{	return  vL553;	 }
		return dayOfMonth4EventTense;
	}
alert('check code')
	return 0;
}
function ff84(vL555,vL556,vL557,vL558)	{
	if(!vL558)	{	return  null;	}
	var vL559 		= vL558.length;
	var vL560;
	var vL561;
	var vL562;
	var vL563;
	var vL564;
	var vL565 = 0;
	for (var vL566=0; vL566<vL559; vL566++)	{
		vL560   = vL558[vL566];
		vL561  = vL560.getElementsByTagName('date');
		var vL567;
		var vL568 = 0;
		var vL569 = 0;
		vL567 = vL561[0].childNodes[vL569];
		while(vL567!=null)				{
			switch(vL567.nodeType)	{
				case 1:
						switch(vL567.nodeName)	{
							case 'year':	if(vL567.firstChild.nodeValue==vL555)	{	vL568 = vL568+1;	}
											break;
							case 'month':	if(vL567.firstChild.nodeValue==vL556)	{	vL568 = vL568+1;	}
											break;
							case 'day':		if(vL567.firstChild.nodeValue==vL557)	{	vL568 = vL568+1;	}
											break;
							default: 		break;
						}
						break;
				case 2:
				case 3:
				case 8:
				case 9:
				default: break;
			}
			vL569 = vL569+1;
			vL567 = vL561[0].childNodes[vL569];
		}
		if(vL568==3)	{
			vL563  = vL560.getElementsByTagName('time')[0].firstChild.nodeValue;
			vL564 = vL560.getElementsByTagName('description')[0].firstChild.nodeValue;
			return vL557+'th  - ['+vL563+']\t'+vL564;
		}
	}
	return null;
}
function ff85(vL570)		{
	switch(vL570)	{
		case 1: return ff86();
		default:return ff87();
	}
	return null;
}
function ff86()	{
  var vL571 = null;
  try  			{   vL571=new  XMLHttpRequest();		}
  catch (e)	  	{
  	try    		{	vL571=new  ActiveXObject("Msxml2.vG50");	   vG49  = true;	}
    catch (e)	{
		try		{	vL571=new  ActiveXObject("Microsoft.vG50");   vG49  = true; 	}
		catch(e){	vL571=null;															}
	}
  }
  return vL571;
}
function ff87()		{
  var vL572 = null;
  try  			{   vL572=new  XMLHttpRequest();	}
  catch (e)	  	{
  	try			{	vL572=new  ActiveXObject("Microsoft.XMLDOM");	 vG49  = true;	}
  	catch(e)	{	vL572=null;															}
  }
  return vL572;
}
function ff88()	{
	return getChildrenOfRootNode_XmlDataFile('')
}
function ff89(vL573,vL574)	{
  if(!vG50)		{	return  false;	}
  if(vG49)	{
    vG50.async=vL574;
    vG50.load(vL573);
	 
  }
  else				{
	  var vL575	 = "GET";
	  var vL576;
	  if(vL575=='GET')	{	vL576 = null;	  }
	  try		{	vG50.open(vL575,vL573,vL574);						}
	  catch(e)	{	alert('Problem with opening xml file. Exiting ... ');		return false;	}
	  vG50.send(vL576);
  }
  return true;
}
function ff90(vL577,vL578)	{
  if(!vG51)		{	return  false;	}
  if(vG49)	{
    vG51.async=vL578;
    vG51.load(vL577);
	 
  }
  else				{
	  var vL579	 = "GET";
	  var vL580;
	  if(vL579=='GET')	{	vL580 = null;	  }
	  try		{	vG51.open(vL579,vL577,vL578);					}
	  catch(e)	{	alert('Problem with opening xml file. \n\nError : '+e+'\n\nExiting ... ');		return false;	}
	  vG51.send(vL580);
  }
  return true;
}
function ff31(vL581)	{
 	vG49 = false;
	var vL582 = ff85(2);
	vG50 = vL582;
 	if(vG50==null)  { alert  ("Your  browser  does  not  support  AJAX! Could  not  create  XML  object. Aborting...");    return;  }
	vG50.onreadystatechange=function()	{
		if(vG50.readyState==4)			{
			var vL583 = null;
			if(vG49==true)	{
				vL583 = vG50.documentElement;
			}
			else	{	vL583 		= vG50.responseXML.documentElement;		}
			if(vL583==null)	{	events_NodeList  = null;			}
			else				{
					events_NodeList = vL583.getElementsByTagName('event');
					ff147();
					ff173();
			}
		}
	}
	asynchRequests = true;
	var vL584 = ff89(vL581,asynchRequests);
}
function ff91(vL585)	{
 	vG49 = false;
	var vL586 = ff85(2);
	vG51 = vL586;
 	if(vG51==null)  { alert  ("Your  browser  does  not  support  AJAX! Could  not  create  XML  object. Aborting...");    return;  }
	vG51.onreadystatechange=function()	{
		if(vG51.readyState==4)			{
			var vL587 = null;
			if(vG49==true)	{
				vL587 = vG51.documentElement;
			}
			else	{	vL587 		= vG51.responseXML.documentElement;		}
			if(vL587==null)	{	newsFeeds_NodeList  = null;			}
			else				{
				newsFeeds_NodeList = vL587.getElementsByTagName('item');
				ff78();
			}
		}
	}
	asynchRequests = true;
	var vL588 = ff90(vL585,asynchRequests);
}
function ff92(vL589)					 {
  try 		{ 	return (new XMLSerializer()).serializeToString(vL589);  }
  catch (e) {
    try 		{ return vL589.xml;   																	}
    catch (e)	{ alert('Default conversion method failed and the vL589 doesnt  store  a  string  version  of  itself  as  a  private  variable!');	}
  }
  return null;
}

