var vctp_url = "http://chat.sakuralive.com";
function writeFreeChatPreviewtwo (document, performer, configuration, w, h) {
 var FlashVars = 'channel='+performer.user_id
                + '&performerID='+performer.user_id
                + '&userType=&sessionType=110'
                + '&langID='+configuration.Language
                + '&webID=preview'
                + '&userSiteID='
                + '&ban=0&combit=3'
                + '&copyright_arg='+configuration.Copyright
                + '&photo=http://imageup.sakuralive.com/WebArchive/'+performer+'/flash/LinkedImage.jpg';
   if(typeof(w) == "undefined"){
     var w = '480';
   }
   if(typeof(h) == "undefined"){
     var h = '200';
   }

    document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width='+w+' height='+h+' id="video_chat" align="">');
    document.writeln('<PARAM name="movie" value="'+vctp_url+'/flash/chat/limitedFreePreview20_vctp.swf">');
    document.writeln('<param name=FlashVars value="'+FlashVars+'" />');
    document.writeln('<PARAM name="salign" value="LT">');
    document.writeln('<PARAM name="quality" value="high">');
    document.writeln('<PARAM name="bgcolor" value="#000000">');
    document.writeln('<param name="allowScriptAccess" value="always">');
    document.writeln('<embed src="'+vctp_url+'/flash/chat/limitedFreePreview20_vctp.swf" salign="LT" FlashVars="'+FlashVars+'" allowScriptAccess="always" quality="high" bgcolor="#000000" width='+w+' height='+h+' name="video_chat" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.writeln('</OBJECT>');

}
