function writeFreeChatPreview (document, performer, configuration) {
 var hd = '0';
 if(performer.hd){
   if(eval(performer.hd) == '1'){
     hd = '1';
   }
 }
 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.dxlive.com/WebArchive/'+performer+'/flash/LinkedImage.jpg'
		+ '&hd='+hd;
    var w = '480';
    var h = '360';
    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="#006666">');
    document.writeln('<param name="allowScriptAccess" value="always">');
    document.writeln('<param name="hd" value="'+hd+'">');
    document.writeln('<embed src="'+vctp_url+'/flash/chat/limitedFreePreview20_vctp.swf" salign="LT" FlashVars="'+FlashVars+'" allowScriptAccess="always" quality="high" bgcolor="#006666" width='+w+' height='+h+' name="video_chat" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.writeln('</OBJECT>');

}

