window['GNV_ps_'+'1203_5829']={ channel_id:"1203_5829", width:'400', height:'349', page_pos:"rb", isPreview:false, playerPath:'http://etv.bokecc.com/flash/ent_player.swf?videoID=1203_5829&autoStart=true' }; function GNV_writePlayer(pid){ var ps=window['GNV_ps_'+pid]; var flashVars="PID="+ps.channel_id; if(ps.isPreview){ flashVars+='&PREVIEW=1'; } var pageHead=(ps.page_pos=='normal'||ps.page_pos=='')?'':"
" +"" +" " +"0){GNV_PosClip_"+pid+"();}" +"\">" +"
"; document.write("
" + pageHead + "
" + '' + '' + '' + '' + '' + '' +"" +"" +"
"); } function GNV_setClipPos(cid){ var clip=document.getElementById('GNVFloatClip_'+cid); var pos=window['GNV_ps_'+cid].page_pos; clip.style.position='fixed'; if(pos.indexOf('b')>-1){ clip.style['bottom']='0px'; } if(pos.indexOf('t')>-1){ clip.style['top']='0px'; } if(pos.indexOf('l')>-1){ clip.style.left='0px'; } if(pos.indexOf('r')>-1){ clip.style['right']='0px'; } } function GNV_PosClip(cid){ var clip=document.getElementById('GNVFloatClip_'+cid); var pos=window['GNV_ps_'+cid].page_pos; clip.style.position='absolute'; if(clip.lastChild && clip.lastChild.style.display=='none'){ clip.style['height']='30px' }else{ clip.style['height'] =(parseInt(window['GNV_ps_'+cid].height)+30)+'px'; //'246px'; } var xScrollBarWidth=yScrollBarWidth=(GNV_getIEVersonNumber()>0)?26:0; if(pos.indexOf('b')>-1){ t_st=(document.body.scrollTop)?document.body.scrollTop:document.documentElement.scrollTop; clip.style.top = window.document.documentElement.offsetHeight + t_st - clip.offsetHeight -xScrollBarWidth+ "px"; } if(pos.indexOf('t')>-1){ var t_st=(document.body.scrollTop)?document.body.scrollTop:document.documentElement.scrollTop; clip.style['top']= t_st+'px'; } if(pos.indexOf('l')>-1){ clip.style.left='1pt'; clip.style.left='0pt'; } if(pos.indexOf('r')>-1){ t_sl=(document.body.scrollLeft)?document.body.scrollLeft:document.documentElement.scrollLeft; clip.style.left = window.document.documentElement.offsetWidth-0 + t_sl - clip.offsetWidth-yScrollBarWidth + "px"; } } function GNV_PosClip_1203_5829(){ GNV_PosClip('1203_5829'); } function GNV_getIEVersonNumber(){ var ua = navigator.userAgent; var msieOffset = ua.indexOf("MSIE "); if(msieOffset < 0){ return 0; } return parseFloat(ua.substring(msieOffset + 5, ua.indexOf(";", msieOffset))); } GNV_writePlayer('1203_5829'); setTimeout("GNV_setClipPos('1203_5829')",0); if(typeof(window.attachEvent)=='object'){ // setInterval(GNV_PosClip_1203_5829,1000); } if(GNV_getIEVersonNumber()>0){ window.attachEvent('onscroll',GNV_PosClip_1203_5829); setTimeout('GNV_PosClip_1203_5829()',0); window.attachEvent('onresize', GNV_PosClip_1203_5829); }