function mailme(thename, thedomain, thesubject)
{
                thedomain = typeof(thedomain) != 'undefined' ? thedomain : 'gynzy.com';
                thesubject = typeof(thesubject) != 'undefined' ? '?Subject=' + escape(thesubject) : '';
                myname = thename + '&#64' + thedomain;
                document.write('<a class="hover_link" href="ma'+'ilto:' + myname + thesubject + '">' + myname + '</a>');
}

function getFlashVersion(){ 
  try { 
  try { 
  // avoid fp6 minor version lookup issues 
  // see: http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/ 
  var axo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6'); 
  try { axo.AllowScriptAccess = 'always'; } 
  catch(e) { return '6,0,0'; } 
  } catch(e) {} 
  return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version');
  // other browsers 
  } catch(e) { 
  try { 
  if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){ 
  return (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description;
  } 
  } catch(e) {} 
  }  
  return '0,0,0'; 
  }



function valButton(btn) {
    var cnt = -1;
    for (var i=btn.length-1; i > -1; i--) {
    if (btn[i].checked) {cnt = i; i = -1;}
    }
    if (cnt > -1) return btn[cnt].value;
    else return null;
    }
  
function survey_checkValues(thisform)
    {
    var question0 = valButton(thisform.question0);
    var question1 = valButton(thisform.question1);
    var question2 = valButton(thisform.question2);
    if ((question0 == null) || (question1 == null) || (question2 == null)) alert('Kies aub voor elke vraag een antwoord.');
		else document.theform.submit();
    }
