﻿// Suche - Eintrag verschwindet beim reinklicken
function HideStdValue(field) {
  if (field.value == 'Benutzername' ||
      field.value == 'Suchwort eingeben...') {
    field.value   = '';
    field.onfocus = '';
    }
}


// PLAYER Weiche html5 - flowplayer
function playhtml5movie(playerid, h5width, h5height, flowplayerpath) {
    var vmovie = jQuery("#" + playerid).attr('src');
    var vheight = jQuery("#" + playerid).attr('height');
    var vwidth = jQuery("#" + playerid).attr('width');
    if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
        document.write('<video src="' + vmovie + '" width="' + vwidth + '" height="' + vheight + '"controls ></video>');
    } else {
        document.write('<a href="' + vmovie + '" style="display:block;width:' + vwidth + 'px;height:' + vheight + 'px" id=' + playerid + '></a>');
        flowplayer(playerid, flowplayerpath, {
            clip: {
                autoPlay: false,
                autoBuffering: true
            }
        });
    }
}


$(document).ready(function() {



 //$('select.keyword').attr('onchange', 'doChange(this.value)');
 
});


function doChange(val) {
  //  var selvalue = val;
//selvalue.valueOf("#"){
    document.location = val;
    
}


