			var XmlAjaxProduction,xmlHttpAjaxProduction;
			var TextNodeDefine
			try //Internet Explorer
			{
				TextNodeDefine='text'
				XmlAjaxProduction = new ActiveXObject("MSXML.DOMDocument")	
			}
			catch(e)
			{
				try //Firefox, Mozilla, Opera, etc.
				{
					TextNodeDefine='textContent'
					XmlAjaxProduction=document.implementation.createDocument("","",null);
				}
				catch(e) 
				{
					alert(e.message)
				}
			}
			function CheckFireFox()
			{
				if( document.implementation.hasFeature("XPath", "3.0") )
				{

					return true
				}
				else
				{
					return false
				}
			}
			if (CheckFireFox())
			{
				XMLDocument.prototype.selectNodes = function(cXPathString, xNode)  
				{     
					if( !xNode ) 
					{ 
						xNode = this; 
					}      
					var oNSResolver = this.createNSResolver(this.documentElement)     
					var aItems = this.evaluate(cXPathString, xNode, oNSResolver, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null)    
					var aResult = [];     
					for( var i = 0; i < aItems.snapshotLength; i++)     
					{       
						aResult[i] =  aItems.snapshotItem(i);     
					}    
					
					return aResult;  
				}  
			
				Element.prototype.selectNodes = function(cXPathString)  
				{     
					if(this.ownerDocument.selectNodes)    
					{        
						return this.ownerDocument.selectNodes(cXPathString, this);     
					}     
					else
					{
						throw "For XML Elements Only";
					}  
				}
		
				XMLDocument.prototype.selectSingleNode = function(cXPathString, xNode)  
				{     
					if( !xNode ) 
					{ 
						xNode = this; 
					}      
					var xItems = this.selectNodes(cXPathString, xNode);     
					if( xItems.length > 0 )     
					{        
						return xItems[0];     
					}    
					else    
					{        
						return null;     
					}  
				}    
				Element.prototype.selectSingleNode = function(cXPathString)  
				{         
					if(this.ownerDocument.selectSingleNode)    
					{        
						return this.ownerDocument.selectSingleNode(cXPathString, this);     
					}     
					else
					{
						throw "For XML Elements Only";
					}  
				}
			}
			
			// Get Article Calendar Information 
			function GetArticleCalendarInfo()
			{	
				xmlHttpAjaxProduction=GetXmlHttpObjectProduction();
				if (xmlHttpAjaxProduction==null)
				{
					alert ("Your browser does not support AJAX!");
					return;
				} 
				var url="/Portal/Aspx/GetProductionData.aspx";
				url=url+"?SummaryPagePath="+DefaultSummaryPage;
				//url=url+"&Rand="+Math.random();
				xmlHttpAjaxProduction.onreadystatechange=stateChangedProduction;
				xmlHttpAjaxProduction.open("GET",url,true); 
				xmlHttpAjaxProduction.send(null);
			}
			function GetXmlHttpObjectProduction()
			{
				var xmlHttpAjaxProduction=null;
				try
				{
					// Firefox, Opera 8.0+, Safari
					xmlHttpAjaxProduction=new XMLHttpRequest();
				}
				catch (e)
				{
					// Internet Explorer
					try
					{
						xmlHttpAjaxProduction=new ActiveXObject("Msxml2.XMLHTTP");
					}
					catch (e)
					{
						xmlHttpAjaxProduction=new ActiveXObject("Microsoft.XMLHTTP");
					}
				}
				return xmlHttpAjaxProduction;
			}
			function stateChangedProduction() 
			{ 
				if (xmlHttpAjaxProduction.readyState==4)
				{ 
					try //Internet Explorer
					{
						XmlAjaxProduction.loadXML(xmlHttpAjaxProduction.responseText);
						SectionsArticlesCount=XmlAjaxProduction.selectNodes("//Root/Labels").length
						for (ILabels=0;ILabels<SectionsArticlesCount;ILabels++)
						{
							try
							{
								if (XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelName")!=null)
								{
									if (document.getElementById(XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelName")[TextNodeDefine]))
									{
										try
										{
											var adiv
											if (XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelData")!=null)
											{
												adiv='<div>'+XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelData")[TextNodeDefine]+'</div>'
												document.getElementById(XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelName")[TextNodeDefine]).innerHTML=adiv
											}
										}
										catch(err)
										{
											
										}
									}
								}
							}
							catch(err)
							{
								
							}
							
						}
					}
					catch(e)
					{
						try //Firefox, Mozilla, Opera, etc.
						{
							parser=new DOMParser();
							XmlAjaxProduction=parser.parseFromString(xmlHttpAjaxProduction.responseText,"text/xml");
							SectionsArticlesCount=XmlAjaxProduction.selectNodes("//Root/Labels").length
							for (ILabels=0;ILabels<SectionsArticlesCount;ILabels++)
							{
								if (document.getElementById(XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelName")[TextNodeDefine]))
								{
									var adiv=document.createElement('div');
									adiv.innerHTML=XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelData")[TextNodeDefine]
									document.getElementById(XmlAjaxProduction.selectNodes("//Root/Labels")[ILabels].selectSingleNode("LabelName")[TextNodeDefine]).appendChild(adiv)
								}
							}
						}
						catch(e) 
						{
							alert(e.message)
						}
					}
				}
			}
