﻿//函数功能：调用显示FLASH。
//Design By: zhaojun 2007-08-03
//---------------------------------------------------------------------


var myPhotoFlashAdd = "view.swf";
var myWidth;
var myHeight;
var mypng = "shuiyin.png";

function img(myWidth,myHeight,myjpg,mylink){

        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="'+myWidth+'" height="'+myHeight+'">');
        document.write('<param name="movie" value="' + myPhotoFlashAdd + '">');
        document.write('<param name="quality" value="high">');
        document.write('<param name="wmode" value="transparent">');
        document.write('<param name="menu" value="false">');
        document.write('<param name="FlashVars" value="&&mypng=' + mypng + '&&myjpg=' + myjpg + '&&mylink=' + mylink + '">');
        document.write('<embed src="' + myPhotoFlashAdd + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + myWidth + '" height="' + myHeight + '"></embed>');
        document.write('</object>');
		
}
