﻿// JavaScript Document
function $(o){return document.getElementById(o);}
function lod(){
var body_h=document.documentElement.clientHeight;
if(body_h>638){
$("body").style.marginTop=parseInt((body_h-638)/2)+'px';
}
}

function index_swf(path,w,h){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'">');
document.write('<param name="movie" value="'+path+'"><param name="quality" value="high"><param name="menu" value="false">');
//document.write('<param name="wmode" value="transparent">');
document.write('<embed src="'+path+'" width="'+w+'" height="'+h+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false"></embed>');
document.write(' </object>');
}

//wmode="transparent" Flash动画透明参数