/**
 * Spielt FLV-videos im Flashplayer ab
 * @param string video
 * @param string mediaplayer
 * @param string showname
 * @param integer camid
 */

//'t7vt_1256216193_4471_0757_output_0.flv', 'mediaplayer', 'Joelyne', 4471, 'P359', 'bWFpbi5waHA%3D', 24522

function ShowVideo(file, mediaplayer, showname, camid, wmid, notknown, ccid){
    if (wmid == undefined) {
        wmid = 'P359';
    }
    var sHeight = 246;
    var sWidth = 302;
    var flashVars = 'ccidurl=http://' + window.location.host + '&ccid=' + ccid;
    flashVars += '&file=' + file + '&camid=' + camid + '&wmid=' + wmid + '&layout=redrose&h=on&stid=777showz_' + camid + '&logo=1';
    var swf = 'http://' + window.location.host + '/flvplayer/777showz_flvplayer.swf';
    //alert(swf+'?'+flashVars);
	var txt = '';
    txt += '<h2>Freie, hei&szlig;e &amp; geile Videos!</h2>';
    txt += '<p>Die ganz private Amateurvideoseite im Internet.</p>';
    txt += '<div class="div_mediaplayer" title="Bitte w&auml;hle einen Sender um einen Clip zu sehen">';
    txt += '<div id="777SetcardVideo" align="center" style="border:0px solid #0F0;margin:10px 0 0 0;width:' + sWidth + 'px;height:' + sHeight + 'px;">\n';
    txt += '<object data="' + swf + '" type="application/x-shockwave-flash" width="' + sWidth + '" align="center" height="' + sHeight + '" id="obj777">';
    txt += '<param name="allowScriptAccess" value="always"/>';
    txt += '<param name="movie" value="' + swf + '"/>';
    txt += '<param name="quality" value="high"/>';
    txt += '<param name="menu" value="true">';
    txt += '<param name="wmode" value="transparent">';
    txt += '<param name="bgcolor" value="transparent"/>';
    txt += '<param name="scale" value="exactfit">';
    txt += '<param name="flashvars" value="' + flashVars + '"/>';
    txt += '</object>';
    txt += '</div>\n';
    txt += '<p style="font-size:10px;text-align:center;border:0px solid #fff;height:10px;margin:5px 0 0 0;cursor:pointer;color:#0F0;" ';
    txt += 'onclick="livecams(\'' + camid + '\', \'' + showname + '\'); return true;"';
    txt += 'title="... mehr Videos von ' + showname + ' aufrufen">\n';
    txt += '... mehr Videos von ' + showname + ' aufrufen</p></div>\n';
    document.getElementById('div_content').innerHTML = txt;
}


