


var xWeather = 
{ cc: null
, dayf: null
, lnks: null 
};

var visitCount = null;



function vCR // visitCounterResponse
(
	count
)
		{
		visitCount = count;
		}	// End method; vCR





function weatherXML
(
  xmlData
, xmlDoc
)
		{
		var excp, xDom;
		if ( document.implementation  &&  document.implementation.createDocument )
			{
			try {
					xDom = new DOMParser().parseFromString( xmlDoc, 'text/xml' );
					}
			catch ( ex )
					{
					excp = ex;
					}
			}
		else if ( window.ActiveXObject )
			{
			try {
					xDom = new ActiveXObject( 'Microsoft.XMLDOM' );
					xDom.async = false;
					xDom.loadXML( xmlDoc );
					}
			catch ( ex )
					{
					excp = ex;
					}
			}

		if ( excp )	
			{
			window.defaultStatus = 'Error parsing ' + xmlData + ' ' + excp.toString();
			return;
			}

		xmlData = xmlData.split( ',' );
		for ( var x = 0;  x < xmlData.length;  x++ )	// several classes of data can be returned in a single XML document
			xWeather[xmlData[x]] = xDom;

		}	// End method; weatherXML
