function LanguageSelection()
{
this.init();
};
LanguageSelection.prototype.init = function()
{
window[ ( this._self = "LanguageSelectionObject" ) ] = this;
this._timer = null;
this._delay = 500;
this._wrapper = document.getElementById( "languageselection" );
if ( this._wrapper )
this._wrapper._parent = this;
this._current = document.getElementById( "languageselectioncurrent" );
if ( this._current && !this._current.className.match( /disabled/gi ) )
{
this._current._parent = this;
this._countrylist = document.getElementById( "languageselectioncountrylist" );
this._countrylist._parent = this;
this._wrapper.onmouseout = this.__hide;
this._current.onmouseover = this.__show;
this._countrylist.onmouseover = this.__show;
aSpan = this._countrylist.getElementsByTagName( "SPAN" );
for ( var i=0; i < aSpan.length; i++ )
{
aSpan[ i ]._parent = this;
aSpan[ i ].onclick = this.change;
}
this._confirm = document.getElementById( "languageselectionconfirm" );
}
};
LanguageSelection.prototype.show = function()
{
clearTimeout( this._timer );
this._countrylist.style.display = "block";
};
LanguageSelection.prototype.hide = function()
{
clearTimeout( this._timer );
this._timer = setTimeout( this._self + "._hide();", this._delay );
}
LanguageSelection.prototype.change = function()
{
if ( confirm( this._parent._confirm.innerHTML ) )
window.location.href = "/change-locale/" + this.id + "/?goto=" + (window.location.href.indexOf("/sorry") !== -1 || window.location.href.indexOf("/global") !== -1 ? "/" : window.location.href);
};
LanguageSelection.prototype._hide = function()
{
this._countrylist.style.display = "none";
}
LanguageSelection.prototype.__show = function()
{
this._parent.show();
};
LanguageSelection.prototype.__hide = function()
{
this._parent.hide();
};
// handle button states. introduced for wir
function ButtonState( oInput )
{
this._input = oInput;
this._backgroundImage = this._input.style.backgroundImage.substr( 4, ( this._input.style.backgroundImage.length - 5  ) );
if ( this._backgroundImage != "" )
{
this._input._parent = this;
this._input.onmouseover = this.__mouseover;
this._input.onmousedown = this.__mousedown;
this._input.onmouseout = this.__mouseout;
this._input.onclick = this.__mouseclick;
// preserve styles
this._input.style.width = this._input.offsetWidth + "px";
this._input.style.height = ( this._input.offsetHeight / 3 ) + "px";
this._input.src = "/media/image/clear.gif";
}
};
ButtonState.prototype.__mouseover = function()
{
if ( typeof XMLHttpRequest != "undefined" )
this._parent._input.style.marginTop = "0px";
this._parent._input.style.backgroundPosition = "0px " + ( this._parent._input.offsetHeight * -1 ) + "px";
};
ButtonState.prototype.__mouseout = function()
{
this._parent._input.style.backgroundPosition = "0px 0px";
};
ButtonState.prototype.__mousedown = function()
{
this._parent._input.style.backgroundPosition = "0px " + ( this._parent._input.offsetHeight * -2 ) + "px";
};
ButtonState.prototype.__mouseclick = function()
{
this._parent._input.style.backgroundPosition = "0px 0px";
};
function initButtonState()
{
// detect IE6 / IE7
if ( window.ActiveXObject && typeof window.postMessage == "undefined" )
{
var aButton = document.getElementsByTagName( "input" );
for ( var i = 0; i < aButton.length; ++i )
if ( aButton[ i ].className.match( /button/ ) )
new ButtonState( aButton[ i ] );
}
}
function Omniture()
{
this.__loadMeta();
this.loadClickouts();
}
Omniture.prototype.loadClickouts = function()
{
var aLink = document.getElementsByTagName( "A" );
for( var i = 0; i < aLink.length; i++ )
{
if( aLink[i].href.indexOf( document.domain ) == -1 )
{
this.setOnclick( aLink[i] );
}
}
}
Omniture.prototype.getHostnameFromUrl = function(url)
{
aMatch = url.match(/:\/\/(.[^/]+)/);
return aMatch ? aMatch[ 1 ] : null ;
}
Omniture.prototype.setOnclick = function( obj )
{
obj._parent = this;
obj.onclick = function()
{
if( s )
{
var aPageName = omniture.pagename.split( ":" );
s.linkTrackVars = "eVar14,eVar13";
s.linkTrackEvents = "None";
s.eVar14 = "asx_" + aPageName[ 0 ];
s.tl( this.href, "e", this._parent.division + ":" + this._parent.pagename + ":" + this._parent.getHostnameFromUrl( this.href ) );
window.open( this.href );
return false;
}
}
}
Omniture.prototype.__loadMeta = function()
{
var aMeta = document.getElementsByTagName( "META" );
for( var i = 0; i < aMeta.length; i++ )
{
switch( aMeta[ i ].name )
{
case "PHILIPS.METRICS.DIVISION":
this.division = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.COUNTRY":
this.country = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.LANGUAGE":
this.language = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.SECTION":
this.section = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.PAGENAME":
this.pagename = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.EVENTS":
this.events = aMeta[ i ].content;
break;
case "PHILIPS.METRICS.REPSUITEADD":
this.repsuiteadd = aMeta[ i ].content;
break;
default:
break;
}
}
}
Omniture.prototype.logout = function()
{
var aPageName = omniture.pagename.split( ":" );
s.linkTrackVars = "eVar14,eVar13";
s.eVar14 = "asx_" + aPageName[ 0 ];
s.eVar13 = "asx_" + aPageName[ 0 ] + "_not_logged_in";
s.tl(true, "o", omniture.division + ":" + omniture.section + ":" + aPageName[ 0 ] + ":logout");
}
/* Pushup
 * Copyright (c) 2009 Nick Stakenburg (www.nickstakenburg.com)
 *
 * License: MIT-style license.
 * Website: http://www.pushuptheweb.com
 *
 */
var Pushup = {
  Version: '1.0.3',
  options: {
    appearDelay: .1,
    fadeDelay: 10,
    images: '../images/pushup/',
    message: 'Your browser is outdated and is not supported by this site. Please update your browser.',
    reminder: {
      hours: 6,
      message: 'Remind me again in #{hours}'
    },
    skip: true
  },
  updateLinks: {
    IE: 'http://www.microsoft.com/windows/downloads/ie/',
    Firefox: 'http://www.getfirefox.com',
    Safari: 'http://www.apple.com/safari/download/',
    Opera: 'http://www.opera.com/download/'
  },
  Browser: {
    IE: !!(window.attachEvent &&
      navigator.userAgent.indexOf('Opera') === -1),
    Firefox: navigator.userAgent.indexOf('Firefox') > -1,
    Safari: navigator.userAgent.indexOf('AppleWebKit/') > -1 &&
      /Apple/.test(navigator.vendor),
    Opera: navigator.userAgent.indexOf('Opera') > -1
  }
};
Pushup.conditions = {
  IE: (function(agent) {
    var version = /MSIE ([\d.]+)/.exec(agent);
    return version && parseFloat(version[1]) < 7;
  })(navigator.userAgent),
  Firefox: Pushup.Browser.Firefox &&
    parseFloat(navigator.userAgent.match(/Firefox[\/\s](\d+)/)[1]) < 3,
  Safari: Pushup.Browser.Safari &&
    parseFloat(navigator.userAgent.match(/AppleWebKit\/(\d+)/)[1]) < 500,
  Opera: Pushup.Browser.Opera && (!window.opera.version ||
    parseFloat(window.opera.version()) < 9.5)
};
(function() {
// find current browser and check if it needs an update
for (var browser in Pushup.Browser)
  if (Pushup.Browser[browser]) Pushup._browserUsed = browser;
Pushup._updateBrowser = Pushup.conditions[Pushup._browserUsed] &&
  Pushup._browserUsed;
// stop if no update is required and we want to skip build
if (!Pushup._updateBrowser && Pushup.options.skip) return;
function Extend(destination, source) {
  for (var property in source)
    destination[property] = source[property];
  return destination;
}
Extend(Pushup, {
  start: function() {
    // get the image directory
    if (/^(https?:\/\/|\/)/.test(this.options.images))
      this.images = this.options.images;
    else {
      var srcMatch = /pushup(?:-[\w\d.]+)?\.js(.*)/,
       scripts = document.getElementsByTagName('script');
      for (var i = 0, l = scripts.length; i < l; i++) {
        var s = scripts[i];
        if (s.src && s.src.match(srcMatch))
          this.images = s.src.replace(srcMatch, '') + this.options.images;
      }
    }
    if (Pushup._updateBrowser) this.show();
  },
  build: function() {
    this.pushup = document.createElement('div');
    Opacity.set(this.pushup, 0);
    this.pushup.id = 'pushup';
    this.messageLink = this.pushup.appendChild(document.createElement('a'));
    this.messageLink.className = 'pushup_messageLink';
    this.messageLink.target = '_blank';
    this.messageLink.appendChild(this.icon = document.createElement('div'));
    this.icon.className = 'pushup_icon';
    this.messageLink.appendChild(this.message = document.createElement('span'));
    this.message.className = 'pushup_message';
    this.message.innerHTML = this.options.message;
    // reminder message if cookies are enabled
    var hours = this.options.reminder.hours;
    if (hours && Pushup.cookiesEnabled) {
      this.pushup.appendChild(this.reminder = document.createElement('a'));
      this.reminder.href = '#';
      this.reminder.className = 'pushup_reminder';
      this.pushup.className = 'withReminder';
      var H = hours + ' hour' + (hours > 1 ? 's' : ''),
       message = this.options.reminder.message.replace('#{hours}', H);
      this.reminder.innerHTML = message;
    }
    // Older Opera doesn't handle float correctly
    if (Pushup.Browser.Opera &&
       (!window.opera.version || parseFloat(window.opera.version()) < 9.25)) {
      this.messageLink.style.cssFloat = 'none';
      this.reminder.style.cssFloat = 'none';
    }
    Pushup.setBrowser(Pushup._updateBrowser);
    document.body.appendChild(this.pushup);
    Pushup.addEvents();
  },
  addEvents: function() {
    if (this.reminder) {
      Event.add(this.reminder, 'click', function(event) {
        Event.stop(event);
        Pushup.setReminder(Pushup.options.reminder.hours);
        Pushup.fade();
      });
    }
    Event.add(this.pushup, 'mouseover', Pushup.clearFade);
    Event.add(this.pushup, 'mouseout', function() {
      Pushup.fade({ delay: Pushup.options.fadeDelay })
    });
  },
  setBrowser: function(browser) {
    browser = browser || 'IE';
    setPngBackground(this.icon, this.images + browser.toLowerCase() + '.png');
    this.messageLink.href = this.updateLinks[browser];
  },
  show: function() {
    // default to IE if no browser was detected
    var browser = typeof arguments[0] == 'string' ?
      arguments[0] : Pushup._browserUsed || 'IE',
     options = arguments[browser ? 1 : 0] || {};
    if (options.resetReminder) Pushup.resetReminder();
    // show if not blocked by cookie
    if (!options.ignoreReminder && Pushup.cookiesEnabled &&
      Cookie.get('_pushupBlocked')) return;
    if (!Pushup.pushup) Pushup.build();
    Opacity.set(Pushup.pushup, 0);
    Pushup.pushup.style.display = 'block';
    if (browser) Pushup.setBrowser(browser);
    this.appear({ fadeAfter: true, delay: Pushup.options.appearDelay });
  },
  appear: function(delay) {
    Pushup.clearFade();
    var options = arguments[0] || {};
    return window.setTimeout(function() {
      Appear(Pushup.pushup, { afterFinish: function() {
        if (options.fadeAfter)
          Pushup.fade({ delay: Pushup.options.fadeDelay });
      }});
    }, (options.delay || 0.01) * 1000);
  },
  clearFade: function() {
    if (Pushup._fadeTimer) {
      window.clearTimeout(Pushup._fadeTimer);
      Pushup._fadeTimer = null;
    }
  },
  fade: function() {
    var options = arguments[0] || {};
    Pushup._fadeTimer = window.setTimeout(function() {
      Fade(Pushup.pushup);
    }, (options.delay || 0.01) * 1000);
  },
  setReminder: function(hours) {
    Cookie.set('_pushupBlocked', 'blocked', { duration: 1 / 24 * hours })
  },
  resetReminder: function() { Cookie.remove('_pushupBlocked') }
});
// Opacity adapted from the Prototype JavaScript framework
// http://www.prototypejs.org
var Opacity = {
  set: function(element, value) {
    element.style.opacity = (value == 1 || value === '') ? '' :
      (value < 0.00001) ? 0 : value;
  },
  get:  function(element) {
    var opacity = element.style.opacity;
    return opacity ? parseFloat(opacity) : 1.0;
  }
};
if (Pushup.Browser.IE) {
  Opacity.get = function(element) {
    var opacity = element.style.opacity;
    if (!opacity && element.currentStyle) opacity = element.currentStyle[opacity];
    if (opacity = (element.style.filter || '').match(/alpha\(opacity=(.*)\)/))
      if (opacity[1]) return parseFloat(opacity[1]) / 100;
    return 1.0;
  };
  Opacity.set = function(element, value) {
    function stripAlpha(filter) {
      return filter.replace(/alpha\([^\)]*\)/gi,'')
    }
    var currentStyle = element.currentStyle;
    if ((currentStyle && !currentStyle.hasLayout) ||
      (!currentStyle && element.style.zoom == 'normal'))
        element.style.zoom = 1;
    var filter = element.style.filter,
     style = element.style;
    if (value == 1 || value === '') (filter = stripAlpha(filter)) ?
      style.filter = filter : style.filter = '';
    else style.filter = stripAlpha(filter) +
      'alpha(opacity=' + (value * 100) + ')';
  };
}
function Appear(element) {
  var current = Opacity.get(element),
   options = arguments[1] || {};
  if (element.style.display != 'block')
    element.style.display = 'block';
  if (current < 1) {
    setTimeout(function() {
      Opacity.set(element, current += 0.05);
      Appear(element, options);
    }, 0.01);
  }
  else {
    if (Pushup.Browser.IE && element.style.filter)
      element.style.removeAttribute('filter');
    if (options.afterFinish) options.afterFinish.call();
  }
}
function Fade(element) {
  var current = Opacity.get(element),
   options = arguments[1] || {};
  if (current > 0) {
    setTimeout(function() {
      Opacity.set(element, current -= 0.05);
      Fade(element, options);
    }, 0.01);
  }
  else {
    element.style.display = 'none';
    if (options.afterFinish) options.afterFinish.call();
  }
}
function setPngBackground(element, url) {
  var options = Extend({
    align: 'top left',
    repeat: 'no-repeat',
    sizingMethod: 'crop',
    backgroundColor: ''
  }, arguments[2] || {});
  Extend(element.style, arguments.callee.IEBelow7 ? {
    filter: 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' +
      url + '\'\', sizingMethod=\'' + options.sizingMethod + '\')'
  } : {
    background: options.backgroundColor + ' url(' + url + ') ' +
      options.align + ' ' + options.repeat
  });
}
setPngBackground.IEBelow7 = Pushup.Browser.IE &&
  parseFloat(/MSIE ([\d.]+)/.exec(navigator.userAgent)[1]) < 7;
// Based on the work of Peter-Paul Koch - http://www.quirksmode.org
var Cookie = {
  set: function(name, value) {
    var expires = '', options = arguments[2] || {};
    if (options.duration) {
      var date = new Date();
      date.setTime(date.getTime() + options.duration * 1000 * 60 * 60 * 24);
      value += '; expires=' + date.toGMTString();
    }
    document.cookie = name + "=" + value + expires + "; path=/";
  },
  remove: function(name) { this.set(name, '', -1) },
  get: function(name) {
    var cookies = document.cookie.split(';'), nameEQ = name + "=";
    for (var i = 0, l = cookies.length; i < l; i++) {
      var c = cookies[i];
      while (c.charAt(0) == ' ')
        c = c.substring(1,c.length);
      if (c.indexOf(nameEQ) == 0)
        return c.substring(nameEQ.length, c.length);
    }
    return null;
  }
};
// check if cookies are enabled
Pushup.cookiesEnabled = (function(test) {
  if (Cookie.get(test)) return true;
  Cookie.set(test, 'test', { duration: 15 });
  return Cookie.get(test);
})('_pushupCookiesEnabled');
var Event = {
  add: function(obj, type, fn) {
    if (obj.attachEvent) {
      obj['e' + type + fn] = fn;
      obj[type + fn] = function(){ obj['e' + type +fn](window.event) };
      obj.attachEvent('on' + type, obj[type + fn]);
    }
    else obj.addEventListener(type, fn, false);
  },
  stop: function(event) {
    if (Pushup.Browser.IE) {
      event.cancelBubble = true;
      event.returnValue = false;
    }
    else {
      event.preventDefault();
      event.stopPropagation();
    }
  }
};
Event.add(window, 'load', function() { Pushup.start() });
})();
function AjaxForm( sInterfaceURL, sFeedbackElementID, sBodyBusyClass )
{
this.init( sInterfaceURL, sFeedbackElementID, sBodyBusyClass );
window[ ( this._self = "$_AjaxFormObject" ) ] = this;
};
AjaxForm.prototype.init = function( sInterfaceURL, sFeedbackElementID, sBodyBusyClass )
{
this._busyclass       = sBodyBusyClass || false;
this._interface       = sInterfaceURL || "/rpc.php";
this._centralfeedback = typeof sFeedbackElementID == "string" && sFeedbackElementID != "";
if ( this._centralfeedback )
this._feedbackelementid = sFeedbackElementID
this.initAjaxForm();
};
AjaxForm.prototype.initAjaxForm = function()
{
this._form = document.getElementsByTagName( "form" );
if ( this._form )
for ( var i = 0; i < this._form.length; ++i )
{
oParsedURL = parseURL( this._form[ i ].getAttribute( "action" ) );
//bAddSubmitHandler = !( oParsedURL.hostname != "" && oParsedURL.hostname != document.domain);
bAddSubmitHandler = true; // always force the handler ( ASX specific because of Omniture scripts )
var aInput = this._form[ i ].getElementsByTagName( "input" );
for ( var j = 0 ; j < aInput.length; ++j )
{
if ( aInput[ j ].nodeType == 1 && aInput[ j ].getAttribute( "name" ) == "interfaceprocessor" )
{
if ( aInput[ j ].getAttribute( "value" ) == "force" )
bAddSubmitHandler = true;
if ( aInput[ j ].getAttribute( "value" ) == "ignore" )
bAddSubmitHandler = false;
}
}
if ( bAddSubmitHandler )
{
this._form[ i ]._parent  = this;
this._form[ i ].onsubmit = this._submitHandler;
}
}
};
AjaxForm.prototype._submitHandler = function()
{
this._parent.submitHandler( this );
return false;
};
AjaxForm.prototype.submitHandler = function( oForm )
{
if ( this._busyclass )
oForm.parentNode.parentNode.className += ( " " + this._busyclass );
if ( oForm._feedback )
{
oForm._feedback.className = "feedback";
oForm._feedback.innerHTML = "";
}
var oVariable = new Object();
var aInput    = oForm.getElementsByTagName( "input" );
var aSelect   = oForm.getElementsByTagName( "select" );
var aTextarea = oForm.getElementsByTagName( "textarea" );
if ( aInput )
{
for ( var i = 0;i < aInput.length; ++i )
{
if ( aInput[ i ].name != "" )
{
switch( aInput[ i ].type )
{
case "checkbox":
if ( !aInput[ i ].checked )
oVariable[ aInput[ i ].name ] = "";
case "radio":
if ( aInput[ i ].checked )
oVariable[ aInput[ i ].name ] = aInput[ i ].value || "on";
break;
case "submit":
case "button":
case "image":
break;
default:
oVariable[ aInput[ i ].name ] = aInput[ i ].value;
break;
}
}
else
{
switch( aInput[ i ].type )
{
case "submit":
case "button":
case "image":
if ( klib3.style.get( aInput[ i ], "display" ) == "none" )
return false;
break;
default:
break;
}
}
}
}
if ( aSelect )
for ( var i = 0;i < aSelect.length; ++i )
if ( aSelect[ i ].name != "" )
oVariable[ aSelect[ i ].name ] = aSelect[ i ][ aSelect[ i ].selectedIndex ].value;
if ( aTextarea )
for ( var i = 0;i < aTextarea.length; ++i )
if ( aTextarea[ i ].name != "" )
oVariable[ aTextarea[ i ].name ] = aTextarea[ i ].value;
if ( typeof oVariable.command == "undefined" || oVariable.command == "" )
oVariable.command = oForm.id || ( typeof oForm.name == "string" ? oForm.name : "" );
if ( oVariable.command == "" )
{
alert( "Implementatiefout: Geen input.name=command of form.id gezet!" );
return false;
}
var oXML     = new klib3.xml();
oXML._form   = oForm;
oXML._parent = this;
if ( typeof this.onload == "function" )
{
oXML.onload = this.onload;
}
else
{
if ( this._centralfeedback )
oXML._form._feedback = document.getElementById( this._feedbackelementid + oForm.id );
oXML.onload  = function()
{
var oStatus = new Status( this );
if ( this._parent._busyclass )
this._form.parentNode.parentNode.className = this._form.parentNode.parentNode.className.replace( new RegExp( this._parent._busyclass, "gi" ), "" );
if ( oStatus.message != "false" )
{
if ( !this._form._feedback )
{
this._form._feedback = document.createElement( "div" );
this._form.parentNode.insertBefore( this._form._feedback, this._form );
}
this._form._feedback.className     = "feedback " + ( oStatus.status == "OK" ? "info" : "error" );
this._form._feedback.innerHTML     = oStatus.message;
this._form._feedback.style.display = "block";
}
if( oStatus.content && oStatus.content.omniture )
{
oStatus.content.omniture.division = omniture.division;
oStatus.content.omniture.section = omniture.section;
oStatus.content.omniture.country = omniture.country;
oStatus.content.omniture.language = omniture.language;
oStatus.content.omniture.pagename = s.pageName;
if( omniture.repsuiteadd && omniture.repsuiteadd != "" )
oStatus.content.omniture.repsuiteadd = omniture.repsuiteadd;
if( oStatus.content.omniture.extrapagename )
oStatus.content.omniture.pagename += oStatus.content.omniture.extrapagename;
if( oStatus.content.omniture.eVar3 )
{
if( oStatus.content.omniture.eVar3 != " " )
oStatus.content.omniture.eVar3 = omniture.pagename + ":" + oStatus.content.omniture.eVar3;
else
oStatus.content.omniture.eVar3 = omniture.pagename;
}
_page.metrics.trackFlash( oStatus.content.omniture );
}
var bErratic = true;
if ( oStatus.content && oStatus.content.redirect && oStatus.content.redirect.url && oStatus.content.redirect.url != "" )
{
var nTimeout = oStatus.content.redirect.timeout ? parseInt( oStatus.content.redirect.timeout ) : 1500;
if ( nTimeout <= 0 )
document.location = oStatus.content.redirect.url;
else
setTimeout( "document.location='" + oStatus.content.redirect.url + "';", nTimeout );
bErratic = false;
}
if ( oStatus.content && oStatus.content.callback && oStatus.content.callback.action && oStatus.content.callback.action != "" )
{
var nTimeout = oStatus.content.callback.timeout ? parseInt( oStatus.content.callback.timeout ) : 1500;
if ( nTimeout <= 0 )
eval(oStatus.content.callback.action);
else
setTimeout( oStatus.content.callback.action, nTimeout );
bErratic = false;
}
if( bErratic )
{
// create a hashtable so we can refer to erratic fields faster
var oErratic = new Object();
for ( var p in oStatus.content )
oErratic[ oStatus.content[ p ].fieldname ] = oStatus.content[ p ].message || "";
//  walk through the various form fields (the current form only) and mark eratic fields as... well eratic
var aFieldset = this._form.getElementsByTagName( "fieldset" );
var sPattern = this._form.id + "_";
for ( var i = 0; i < aFieldset.length; ++i )
{
aFieldset[ i ].className = aFieldset[ i ].className.replace( /error/gi, "" );
aFieldset[ i ].className = aFieldset[ i ].className.replace( /validated/gi, "" );
var oRegExp = new RegExp( sPattern, 'gi' );
var sEratic = aFieldset[ i ].id.replace( oRegExp, "" );
aFieldset[ i ].className += typeof oErratic[ sEratic ] == "string" ? " error" : " validated";
aDiv = aFieldset[ i ].getElementsByTagName( "div" );
for ( var j = 0; j < aDiv.length; ++j )
if ( aDiv[ j ].className.match( /feedback/gi ) )
aDiv[ j ].innerHTML = typeof oErratic[ sEratic ] == "string" ? oErratic[ sEratic ] : "";
}
}
};
}
oVariable._format = "xml";
oXML.post( this._interface, true, oVariable );
};
// Synopsis: [object] = parseURL( string URL );
function parseURL( sURL )
{
/^((\w+):\/{2,3})?((\w+\.)?\w+\.\w+)(:(\d+))?(\/[^\?#]*)?(\?[^#]+)?(#.+)?/.exec( sURL );
var nPort     = ( RegExp.$6 || 80 );
var oReturn   = {
url:sURL,
protocol:( RegExp.$2 || "http" ),
port:nPort,
hostname:RegExp.$3,
host:( RegExp.$3 + ( nPort != 80 ? ":" + nPort : "" ) ),
pathname:RegExp.$7,
query:RegExp.$8,
anchor:RegExp.$9
}
if ( typeof RegExp.$8 == "string" && RegExp.$8 != "" )
{
var aQuery    = RegExp.$8.split( /[?&]/ );
oReturn.query = {};
if ( aQuery.length > 0 )
{
for ( var i = 0; i < aQuery.length; ++i )
if ( aQuery[ i ].indexOf( "=" ) >= 0 )
{
aQuery[ i ] = aQuery[ i ].split( /=/ );
oReturn.query[ aQuery[ i ][ 0 ] ] = aQuery[ i ][ 1 ];
}
}
}
return oReturn;
}
function submitsendconfirm( obj )
{
while( obj.nodeName.toLowerCase() != "form" && obj.parentNode )
obj = obj.parentNode;
if( obj.nodeName.toLowerCase() == "form" )
{
if ( typeof obj.onsubmit != "undefined" )
obj.onsubmit();
else
obj.submit();
}
}
function Status( oXML )
{
if ( typeof oXML != "undefined" )
this.init( oXML );
}
Status.prototype.init = function( oXML )
{
this.parseStatusResult( oXML.getData() );
};
Status.prototype.getNodeValue = function( oNode )
{
if ( oNode )
{
//   textnode               cdata
if ( oNode.nodeType == 3 || oNode.nodeType == 4 )
return oNode.nodeValue;
return arguments.callee( oNode.firstChild );
}
return false;
};
Status.prototype.getSiblingByName = function ( oNode, sName )
{
if ( oNode )
{
while ( ( oNode.nodeType != 1 || ( oNode.nodeName && oNode.nodeName.toLowerCase() != sName.toLowerCase() ) ) && oNode.nextSibling )
oNode = oNode.nextSibling;
if ( oNode.nodeType == 1 && ( oNode.nodeName && oNode.nodeName.toLowerCase() == sName.toLowerCase() ) )
return oNode;
}
return false;
};
Status.prototype.parseStatusResult = function( oDataXML )
{
if ( oDataXML )
{
var oReply = this.getSiblingByName( oDataXML.firstChild, "reply" );
if ( oReply )
{
var sStatus = "error";
if ( typeof oReply.attributes[ 0 ] != "undefined" && oReply.attributes[ 0 ].name.toLowerCase() == "status" )
sStatus = oReply.attributes[ 0 ].value;
this.success = sStatus == "OK";
this.status  = sStatus;
this.message = unescape( this.trim( this.getNodeValue( this.getSiblingByName( oReply.firstChild, "message" ) ) ) );
this.content = this.xmlToObject( this.getSiblingByName( oReply.firstChild, "content" ) );
return true;
}
}
return false;
};
Status.prototype.trim = function( s )
{
if ( typeof s == "string" )
{
for ( var i = 0; i < s.length; ++i )
if ( s.charCodeAt( i ) > 32 )
break;
for ( var j = s.length - 1; j >= 0 ; --j )
if ( s.charCodeAt( j ) > 32 )
break;
return s.substr( i, ( j + 1 ) - i );
}
return s;
};
Status.prototype.xmlToObject = function( oXML )
{
var oReturn = false;
if ( oXML.childNodes && oXML.childNodes.length > 0 )
{
oReturn = new Object();
for ( var i = 0; i < oXML.childNodes.length; ++i )
if ( oXML.childNodes[ i ].nodeType == 3 || oXML.childNodes[ i ].nodeType == 4 )
{
return unescape( oXML.childNodes[ i ].nodeValue );
}
else
{
oReturn[ oXML.childNodes[ i ].nodeName ] = arguments.callee( oXML.childNodes[ i ] );
if ( typeof oReturn.child == "undefined" )
oReturn.child = new Array();
oReturn.child[ oReturn.child.length ] = oReturn[ oXML.childNodes[ i ].nodeName ];
}
}
return oReturn;
};
/*
 *               ____
 *              /\   \
 *             ___\   \___
 *            /\          \
 *            \ \___    ___\
 *        ____ \/__/\   \__/
 *       /\   \    \ \___\    klof  |  innovative web technology
 *      ___\   \___ \/___/
 *     /\          \          klib3/xml.js
 *     \ \___    ___\         HTML Element style manipulation
 *      \/__/\   \__/
 *          \ \___\           Copyright 2003-2006, klof
 *           \/___/           http://www.klof.net/k.lib3/
 *
 */
/* Create the master klib3 object if she doesn't exist */
if ( typeof klib3 != "object" )
klib3 = new ( function(){ this._child = 0 } )();
klib3.xml = function( bAutoRedirectOnFail )
{
this._version  = "1.0.2";
this._redirect = typeof bAutoRedirectOnFail == "boolean" ? bAutoRedirectOnFail : false;
};
klib3.xml.prototype.init = function()
{
if ( window.ActiveXObject )
{
try 
{
this._xml = new ActiveXObject("Msxml2.XMLHTTP");
} 
catch (e) 
{
try 
{
this._xml = new ActiveXObject("Microsoft.XMLHTTP");
} 
catch (e) 
{
this._xml = false;
}
}
}
else if ( window.XMLHttpRequest )
this._xml = new XMLHttpRequest();
return typeof this._xml == "object";
};
klib3.xml.prototype.setHeader = function( sName, sValue )
{
this._xml.setRequestHeader( sName, sValue );
};
klib3.xml.prototype.getHeader = function( sName )
{
return this._xml.getResponseHeader( sName );
};
klib3.xml.prototype.request = function( sURL, sMethod, bAsync, oData, sUsername, sPassword )
{
if ( this.init() )
{
var sParam = null;
if ( typeof sMethod != "string" )
sMethod = "GET";
else
sMethod = sMethod.toUpperCase();
if ( typeof bAsync != "boolean" )
bAsync = true;
if ( typeof oData == "object" )
{
sParam = "";
for ( var p in oData )
if ( typeof oData[ p ] != "object" && typeof oData[ p ].replace == "function" )
sParam += ( sParam != "" ? "&" : "" ) + p + "=" + oData[ p ].replace( /\+/g, "%2B" );
}
if ( sMethod == "GET" && typeof sParam == "string" && sParam != "" )
{
sURL  += "?" + sParam;
sParam = null;
}
if ( this._xml.overrideMimeType )
this._xml.overrideMimeType( "text/xml" );
this._xml.open( sMethod, sURL, bAsync, sUsername, sPassword );
if ( bAsync )
{
var oBackRef = this;
this._xml.onreadystatechange = function(){ oBackRef.onReadyStateChange(); }
}
if ( sMethod == "POST" && typeof sParam == "string" && sParam != "" )
this.setHeader( "Content-type", "application/x-www-form-urlencoded" );
var oDate=new Date();
sParam += "&"+oDate.getTime();
this._xml.send( sParam );
if ( !bAsync )
return this._xml.responseXML;
else
return true;
}
else if ( this._redirect )
{
document.location = sURL
};
return false;
};
klib3.xml.prototype.onReadyStateChange = function()
{
if ( this._xml.readyState == 4 )
{
if ( this._xml.status == 200 )
{
if ( typeof this.$__onload == "function" )
this.$__onload();
if ( typeof this.onload == "function" )
this.onload();
}
else
{
if ( typeof this.$__onerror == "function" )
this.$__onerror( this._xml.status );
if ( typeof this.onerror == "function" )
this.onerror( this._xml.status, this._xml.statusText );
}
}
};
klib3.xml.prototype.get = function( sURL, bAsync, oData, sUsername, sPassword )
{
return this.request( sURL, "GET", bAsync, oData, sUsername, sPassword );
};
klib3.xml.prototype.post = function( sURL, bAsync, oData, sUsername, sPassword )
{
return this.request( sURL, "POST", bAsync, oData, sUsername, sPassword );
};
klib3.xml.prototype.getData = function( bText )
{
if ( bText )
return this._xml.responseText;
else if ( !this._xml.responseXML.firstChild )
this._xml.responseXML.loadXML( this._xml.responseText );
return this._xml.responseXML;
};
klib3.xml.prototype.loadIntoElement = function( mElement, sURL, sMethod, oParamData, sUsername, sPassword )
{
this.$__onload = function()
{
if ( typeof this._xml.responseXML != "object" && typeof this.onerror == "function" )
{
this.onerror( this._xml.status, this._xml.statusText );
return false;
}
var oHTML = this.convertToHTML( this._xml.responseXML );
if ( typeof oHTML == "object" && typeof this.$__element == "object" )
this.$__element.appendChild( oHTML );
delete this.$__element;
delete this.$__onload;
if ( typeof this.onload == "function" )
this.onload();
};
this.$__element = typeof mElement != "object" ? document.getElementById( mElement ) : mElement;
return this.request( sURL, sMethod, true, oParamData, sUsername, sPassword );
};
klib3.xml.prototype.getIntoElement = function( mElement, sURL, oParamData, sUsername, sPassword )
{
this.loadIntoElement( mElement, sURL, "GET", oParamData, sUsername, sPassword );
};
klib3.xml.prototype.postIntoElement = function( mElement, sURL, oParamData, sUsername, sPassword )
{
this.loadIntoElement( mElement, sURL, "POST", oParamData, sUsername, sPassword );
};
/*
 *  Function : convertToHTML
 *  Purpose  : retrieve a block of HTML DOM node from an XML DOM object
 *  Synopsis : domnode convertToHTML( xmlnode oXML [, string nodename ] );
 *  Note     : if string nodename is not specified, it will retreive a HTML node from wherever 
 *             node that has an xmlns attribute set or it will return the topmost HTML node. 
 *             If a xmlns attribute has been set and string nodename is provided it will return 
 *             the HTML DOM node from whoever comes first.
 */
klib3.xml.prototype.convertToHTML = function( oXML )
{
var oNode = null;
var oDOM  = null;
if ( oXML.nodeType == 1 || oXML.nodeType == 9 ) // XML node OR XML document
{
var bXMLNS = false;
if ( oXML.nodeType == 1 )
if ( typeof oXML.getAttribute == "function" )
{
bXMLNS = oXML.getAttribute( "xmlns" ) != "";
}
else if ( typeof oXML.attributes == "object" ) // IE Doesn't support the getAttribute methode.. working around it
{
for ( var i = 0; i < oXML.attributes.length; ++i )
if ( oXML.attributes[ i ].name.toLowerCase() == "xmlns" )
{
bXMLNS = true;
break;
}
}
var nOffset = oXML.nodeName.indexOf( ":" ) + 1;
if ( oXML.nodeType == 1 && // are we handling a non-declaration non-text node?
( nOffset > 0 || bXMLNS || // do we have a namespace?
(
arguments.length > 1 &&  // do we have additional arguments?
( 
( typeof arguments[ 1 ] == "boolean" && arguments[ 1 ] ) || // did we explicitly order to add this node?
( typeof arguments[ 1 ] == "string" && arguments[ 1 ].toLowerCase() == oXML.nodeName.toLowerCase() ) // did we request to add this node because it's nodename matches the input?
)
)
)
)
{
var sNodeName = nOffset > 0 ? oXML.nodeName.substr( nOffset, oXML.nodeName.length - nOffset ) : oXML.nodeName;
oDOM = document.createElement( sNodeName );
for ( var i = 0; i < oXML.attributes.length; ++i )
{
if ( oXML.attributes[ i ].name == "class" )
oDOM.className = oXML.attributes[ i ].value;
else if ( oXML.attributes[ i ].name != "xmlns" )
oDOM.setAttribute( oXML.attributes[ i ].name, oXML.attributes[ i ].value );
}
for ( var i = 0; i < oXML.childNodes.length; ++i )
if ( ( name = oXML.childNodes[ i ].nodeName ) != null )
if ( typeof ( oNode = arguments.callee( oXML.childNodes[ i ], true ) ) == "object" )
{
// until we manage to have IE append styles and scripts without parsing every style rule seperatly, 
// we skip the contents for them (use external scripts and links, which is nicer anyway)
if ( oDOM.nodeName.toLowerCase() != "style" && oDOM.nodeName.toLowerCase() != "script" )
oDOM.appendChild( oNode );
}
}
else // XML Document OR no namespace
{
for ( var i = 0; i < oXML.childNodes.length; ++i )
if ( oXML.childNodes[ i ].nodeType == 1 )
oDOM = arguments.callee( oXML.childNodes[ i ], arguments[ 1 ] );
}
}
else if ( oXML.nodeType == 3 || oXML.nodeType == 4 ) // XML TextNode or XML CDATA Node
{
oDOM = document.createTextNode( oXML.nodeValue );
}
else if ( oXML.nodeType == 8 ) // XML Comment
{
oDOM = document.createComment( oXML.nodeValue );
}
return oDOM;
};

/*
 *               ____
 *              /\   \
 *             ___\   \___
 *            /\          \
 *            \ \___    ___\
 *        ____ \/__/\   \__/
 *       /\   \    \ \___\    klof  |  innovative web technology
 *      ___\   \___ \/___/
 *     /\          \          klib3/style.js
 *     \ \___    ___\         HTML Element style manipulation
 *      \/__/\   \__/
 *          \ \___\           Copyright 2003-2006, klof
 *           \/___/           http://www.klof.net/k.lib3/
 *
 */
/* Create the master klib3 object if she doesn't exist */
if ( typeof klib3 != "object" )
klib3 = new ( function(){ this._child = 0 } )();
/**
 *  K.Lib3 Style Object
 *  @name    klib3.style
 *  @type    constructor
 *  @access  public
 *  @param   string  template path [optional]
 *  @param   string  compilation path [optional]
 *  @returns object
 *  @syntax  object = &new klib3.style()
 */
klib3.style = function()
{
this._version = "1.0.1";
};
/**
 *  Get the value of a CSS property
 *  @name    get
 *  @type    method
 *  @access  public
 *  @param   object html element
 *  @param   string style property
 *  @returns string
 *  @syntax  object.get( oElement, "background-color" );
 *  @note    style property can be either the CSS or JavaScript style property syntax
 */
klib3.style.prototype.get = function( oElement, sProperty )
{
if ( typeof document.defaultView == "object" && typeof document.defaultView.getComputedStyle != "undefined" )
{
var oCS = document.defaultView.getComputedStyle( oElement, "" );
if ( oCS && oCS.getPropertyValue )
return oCS.getPropertyValue( this.cssProperty( sProperty ) );
}
else if ( oElement.currentStyle )
{
return oElement.currentStyle[ this.scriptProperty( sProperty ) ];
}
return false;
};
/**
 *  Set the style property to a given value
 *  @name    set
 *  @type    method
 *  @access  public
 *  @param   object html element
 *  @param   string style property
 *  @param   mixed  property value
 *  @returns boolean
 *  @syntax  object.set( oElement, "background-color", "#f00" );
 */
klib3.style.prototype.set = function( oElement, sProperty, mValue )
{
return oElement.style[ this.scriptProperty( sProperty ) ] = mValue;
};
/**
 *  Convert a style property in CSS format to that same property in script format
 *  @name    scriptProperty
 *  @type    method
 *  @access  public
 *  @param   string style property
 *  @returns string
 *  @syntax  object.scriptProperty( "background-color" ); // returns "backgroundColor"
 */
klib3.style.prototype.scriptProperty = function( sProperty )
{
var n = 0;
while( ( n = sProperty.indexOf( "-", n ) ) >= 0 )
sProperty = sProperty.substr( 0, n ) + sProperty.charAt( ++n ).toUpperCase() + sProperty.substring( n + 1 );
return sProperty;
//  didn't work in older Safari's/IE's (besides.. having a anonymous function for every hyphen in all properties handled is kinda brute)
//return sProperty.replace( /(-)([a-z])/g, function( a, b, c ){ return c.toUpperCase(); } );
};
/**
 *  Convert a style property in script format to that same property in CSS format
 *  @name    cssProperty
 *  @type    method
 *  @access  public
 *  @param   string style property
 *  @returns string
 *  @syntax  object.cssProperty( "backgroundColor" ); // return background-color
 */
klib3.style.prototype.cssProperty = function( sProperty )
{
return sProperty.replace( /([A-Z])/g, "-$1" ).toLowerCase();
};
/**
 *  Verifies whether a specific style property exists in the provided HTML element
 *  @name    propertyExists
 *  @type    method
 *  @access  public
 *  @param   object HTML element
 *  @param   string style property
 *  @returns boolean
 *  @syntax  object.propertyExists( oElement, "background-color" );
 */
klib3.style.prototype.propertyExists = function( oElement, sProperty )
{
return ( typeof oElement.style[ sProperty ] != "undefined" );
};
// construct the klib3.style Object onto itself so we have access to it's members
klib3.style = new klib3.style;

function YouSavedTicker( sWrapper )
{
window.yousavedticker = this;
if( this.wrapper = document.getElementById(sWrapper) )
{
this.interval= null;
this.currentid= 0;
this.opacity= 0;
this.items= this.wrapper.getElementsByTagName("div");
if( this.items.length > 0 )
this.interval = setTimeout("window.yousavedticker.start()", 3000);
}
else 
return false;
};
YouSavedTicker.prototype.start = function()
{
this.opacity = 1;
this.interval = setInterval("window.yousavedticker.fadeout()", 100);
}
YouSavedTicker.prototype.fadeout = function()
{
this.opacity = Math.round(this.opacity*10)/10 - 0.1;
if( this.opacity >= 0 ) 
{
this.items[this.currentid].style.opacity = this.opacity;
this.items[this.currentid].style.filter = 'alpha(opacity=' + this.opacity*100 + ')';
}
else
{
clearInterval(this.interval);
this.tick();
}
}
YouSavedTicker.prototype.fadein = function()
{
this.opacity = Math.round(this.opacity*10)/10 + 0.1;
if( this.opacity <= 1 ) 
{
this.items[this.currentid].style.opacity = this.opacity;
this.items[this.currentid].style.filter = 'alpha(opacity=' + this.opacity*100 + ')';
}
else
{
clearInterval(this.interval);
setTimeout("window.yousavedticker.start()",3000);
}
}
YouSavedTicker.prototype.tick = function()
{
this.items[this.currentid].style.display = 'none';
this.currentid= this.currentid+1 < this.items.length ? this.currentid+1 : 0;
this.opacity = 0;
this.items[this.currentid].style.display = 'block';
this.interval = setInterval("window.yousavedticker.fadein()", 100);
}
/**
 * SWFObject v1.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.createElement||!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){
_16.push(key+"="+_18[key]);}
return _16;
},getSWFHTML:function(){
var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}
_19+="/>";
}else{
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}
_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();
return true;
}else{
if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){
var _25=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{
var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
for(var i=3;axo!=null;i++){
axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
_25=new deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(_23&&_25.major>_23.major){return _25;}
if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){
try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}
catch(e){}}}
return _25;};
deconcept.PlayerVersion=function(_29){
this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0;
this.minor=parseInt(_29[1])||0;
this.rev=parseInt(_29[2])||0;};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}return true;};
deconcept.util={getRequestParameter:function(_2b){
var q=document.location.search||document.location.hash;
if(q){
var _2d=q.indexOf(_2b+"=");
var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length;
if(q.length>1&&_2d>-1){
return q.substring(q.indexOf("=",_2d)+1,_2e);
}}return "";}};
if(Array.prototype.push==null){
Array.prototype.push=function(_2f){
this[this.length]=_2f;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject; // for backwards compatibility
var SWFObject=deconcept.SWFObject;


