var useCounts211=0;
var playCount211=0;
var favCounts211=0;
function stng211()
{
if(playCount211==0){$.getJSON(Geturl(5,211),function (json){$('#playtime211')[0].innerHTML=json.Item;});playCount211=1;}
}
function ding211(flag)
{
var str='#badtime211';
if(flag==1)
{
str='#GoodTime211';
}
$.getJSON(Geturl(flag,211),function (json){if(json.Item!=null){$(str)[0].innerHTML=json.Item;}if(json.Info!=null){alert(json.Info);}});
}
RequestJson('211');
var orginFlash = {init:false,isFullScreen:false,position:'',top:'',left:'',width:'',height:''};
function writeFlash(){
var so = new SWFObject('/Files/BeyondPic/2008-11/17/player.swf', 'object211', '480', '400', 8, '#FFFFFF');
so.addParam('quality', 'high');
so.addVariable('file','211');
so.addVariable('screen','0');
so.addParam("swLiveConnect", "true");
so.addParam('menu', 'false');
so.addParam('allowScriptAccess', 'always');
so.addParam('allowFullScreen', 'true');
so.addParam('wmode', 'transparent');
so.write('flvurl211');
}
function getScreenSize(){
var w = 0;
var h = 0;
if( typeof( window.innerWidth ) == 'number' ) {
w = window.innerWidth;
h = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
w = document.documentElement.clientWidth;
h = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
w = document.body.clientWidth;
h = document.body.clientHeight;
}
return {width:w,height:h};
}
function fullScreen(){
if(!orginFlash.init){
orginFlash.position = document.getElementById('flvurl211').style.position;
orginFlash.top = document.getElementById('flvurl211').style.top;
orginFlash.left = document.getElementById('flvurl211').style.left;
orginFlash.width = document.getElementById('flvurl211').style.width;
orginFlash.height = document.getElementById('flvurl211').style.height;
}
orginFlash.init = true;
orginFlash.isFullScreen = true;
var screenSize = getScreenSize();
try{
document.getElementById('flvurl211').style.position = 'absolute';
document.getElementById('flvurl211').style.top = '0px';
document.getElementById('flvurl211').style.left = '0px';
document.getElementById('flvurl211').style.width = screenSize.width ;
document.getElementById('flvurl211').style.height = screenSize.height;
document.body.style.overflow='hidden';
window.scrollTo(0,0);
}catch(e){
}
}
function normal(){
if(orginFlash.init){
orginFlash.isFullScreen = false;
try{
document.getElementById('flvurl211').style.position = orginFlash.position;
document.getElementById('flvurl211').style.top = orginFlash.top;
document.getElementById('flvurl211').style.left = orginFlash.left;
document.getElementById('flvurl211').style.width = orginFlash.width;
document.getElementById('flvurl211').style.height = orginFlash.height;
document.body.style.overflow='auto';
}catch(e){
}
}
}
function reSize(){
if(orginFlash.isFullScreen){
fullScreen();
}
}
window.onresize = reSize;
writeFlash();
Muvee studio演示
var useCounts213=0;
var playCount213=0;
var favCounts213=0;
function stng213()
{
if(playCount213==0){$.getJSON(Geturl(5,213),function (json){$('#playtime213')[0].innerHTML=json.Item;});playCount213=1;}
}
function ding213(flag)
{
var str='#badtime213';
if(flag==1)
{
str='#GoodTime213';
}
$.getJSON(Geturl(flag,213),function (json){if(json.Item!=null){$(str)[0].innerHTML=json.Item;}if(json.Info!=null){alert(json.Info);}});
}