<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://danube.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Danube - Look for Danube at Agile2008! - Comments</title>
 <link>http://danube.com/agile08</link>
 <description>Comments for &quot;Look for Danube at Agile2008!&quot;</description>
 <language>en</language>
<item>
 <title>Look for Danube at Agile2008!</title>
 <link>http://danube.com/agile08</link>
 <description>&lt;script type=&quot;text/javascript&quot; src=&quot;/danube_includes/sarissa.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/danube_includes/util-functions.js&quot;&gt;&lt;/script&gt;
  
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--  
  addEvent(window, &#039;load&#039;, init, false);

  function init() {
      if (!Sarissa || !document.getElementById) return;
      
      var formElements = document.getElementsByTagName(&#039;form&#039;);
      for (var i = 0; i &lt; formElements.length; i++) {
          if (formElements[i].className.match(/\bajaxify\b/)) {
              addEvent(formElements[i], &#039;submit&#039;, submitTheform, false);
          }
      }
  }
  
  function submitTheform(e) {
      /* Cancel the submit event, and find out which form was submitted */
      knackerEvent(e);
      var target = window.event ? window.event.srcElement : e ? e.target : null;
      if (!target) return;
      
      /* Check if this form is already in the process of being submitted. 
       * If so, don&#039;t allow it to be submitted again. */
      if (target.ajaxInProgress) return;
	  
	  
	  /** Form Submission Checks **/
		
		var theForm = document.getElementById( &#039;ajaxify&#039; );
		var inputFields = theForm.elements;
		var formCheck = 1;
		var originalStyles = new Array(inputFields.length);
		var errorStyle = &quot;-error&quot;;
	
		for (var i = 0; i &lt; inputFields.length; i++) 
		{
			// Check for non required fields, unelegant but it works
			if( (inputFields[i].name != &quot;build&quot;) &amp;&amp; (inputFields[i].name != &quot;description&quot; ) &amp;&amp; (inputFields[i].name != &quot;referrer&quot; ) )
			{
				if( (inputFields[i].value.length == 0) || (inputFields[i].value == null) )
				{
					if( inputFields[i].className.substr((inputFields[i].className.length-errorStyle.length)) != errorStyle )
						inputFields[i].className = inputFields[i].className+errorStyle;
					formCheck = 0;
				}
				
				// Clear last errors that were corrected
				else if( inputFields[i].className.substr((inputFields[i].className.length-errorStyle.length)) == errorStyle )
					inputFields[i].className = inputFields[i].className.substring( 0, (inputFields[i].className.length-errorStyle.length) );
			}
		}
		
		if( !formCheck )
		{
			alert( &quot;Please fill in the required fields before submitting your request.&quot; );
			return false;
		}
		
		/** END Form Submission Checks **/
	  
      
      /* Set up the request */
      var xmlhttp =  new XMLHttpRequest();
      xmlhttp.open(&#039;POST&#039;, &#039;/danube_includes/contact_main_post.php&#039;, true);
      
      /* The callback function */
      xmlhttp.onreadystatechange = function() {
          if (xmlhttp.readyState == 4) {
              if (xmlhttp.status == 200)
                  addFeedback(xmlhttp.responseXML, target);
              else
                  target.submit();
          }
      }
	  
	  document.getElementById( &#039;message-man&#039;).style.display = &quot;block&quot;;
      
      /* Send the POST request */
      var form = document.getElementById(&#039;ajaxify&#039;);
      var elements = form.elements;
      query = &quot;&quot;;
      for ( i = 0; i &lt; elements.length-1; i++ )
      {
        query = query + elements.item(i).name + &quot;=&quot; + elements.item(i).value + &quot;&amp;&quot;;
      }
      xmlhttp.setRequestHeader(&#039;Content-Type&#039;, &#039;application/x-www-form-urlencoded&#039;);
      xmlhttp.send(query);
      
      /* Add temporary feedback that the request has been sent */   
      var loadingImg = document.createElement(&#039;img&#039;);
      loadingImg.src = &#039;/img/working.gif&#039;;
      target.getElementsByTagName(&#039;p&#039;)[0].appendChild(loadingImg);
      target.ajaxInProgress = true;
  }
  
  function addFeedback(responseXML, target) {
      var loadingImg = target.getElementsByTagName(&#039;img&#039;)[0];
      loadingImg.parentNode.className += &#039; status&#039;;
      var feedbackText = &#039; Thanks! Your name has been entered into the Agile 2008 entry ticket raffle.&#039;;
      var feedbackSpan = document.createElement(&#039;span&#039;);
      // feedbackSpan.className = &#039;message status&#039;;
      feedbackSpan.appendChild(document.createTextNode(feedbackText));
      loadingImg.parentNode.replaceChild(feedbackSpan, loadingImg);

      // Free up the form to go again
      target.ajaxInProgress = false;
      
      // Disable form inputs
      var inputFields = document.getElementsByTagName(&#039;input&#039;);
      for (var i = 0; i &lt; inputFields.length; i++) {
      target.getElementsByTagName(&#039;input&#039;)[i].disabled = true;
      }
  }
--&gt;
 &lt;/script&gt;
 
&lt;div class=&quot;content-box&quot;&gt;
	&lt;div class=&quot;content-box-header&quot;&gt;
		Look for Danube at Agile 2008!
	&lt;/div&gt;
	&lt;div class=&quot;content-box-body&quot;&gt;
        &lt;h3&gt; Toronto | August 4 through 8&lt;/h3&gt; 

&lt;strong&gt;Booth Location:&lt;/strong&gt; &lt;em&gt;Booth 840, located in the Grand Ballroom Foyer&lt;/em&gt;
&lt;br /&gt;&lt;br /&gt;
        This year, Danube is celebrating its sponsorship of Agile 2008 with presentations, events, and special giveaways.
&lt;p&gt;&lt;a href=&quot;http://danube.com/agile08&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://danube.com/agile08#comment</comments>
 <category domain="http://danube.com/news">News</category>
 <pubDate>Thu,  5 Jun 2008 15:37:04 -0500</pubDate>
 <dc:creator>VictorSzalvay</dc:creator>
 <guid isPermaLink="false">1072 at http://danube.com</guid>
</item>
</channel>
</rss>
