function flashShowImg() {
	flashLoaded = true;
	//try {document.getElementById('ZoomInLink').href=l2;}catch (e){}
}

function flashShowImgFinished() {
	flashShowFinished = true;
	flashLoaded = true;
	//var flashArea = document.getElementById("FlashArea");
	var ZoomIn = document.getElementById("ZoomIn");
	ZoomIn.style.display = "";
	//jsArea.style.display = "none";
}

/**
var _img = null;

function jsShowImg() {
	var flashArea = document.getElementById("FlashArea");
	var jsArea = document.getElementById("JsArea");
	flashArea.style.display = "none";
	jsArea.style.display = "";
	_img = new Image();
	_img.src = picServer + "/" + decode(imageUrl);
	document.getElementById('ZoomInLink').href = l1;
	checkJsLoadFinished(1);
}

function decode(url) {
	var newUrl = "";
	for (var i = 0; i < url.length; ++i) { var code = url.charCodeAt(i); newUrl += String.fromCharCode(code ^ (i % 5)); }
	return newUrl;
}


function checkJsLoadFinished(count) {
	if (count > 1000) { document.getElementById('DownloadPicInfo').innerHTML = '¼ÓÔØÍ¼Æ¬³¬Ê±'; return; }
	var state = '';
	if (document.all) state = _img.readyState;
	else state = _img.complete ? 'complete' : '';
	if(state!='complete') { window.setTimeout("checkJsLoadFinished(" + (count + 1) + ")",50); return; }
	var MaxW = 250; var MaxH = 250;
    var dW=_img.width; var dH=_img.height;
    if(dW>MaxW || dH>MaxH) {  a=dW/MaxW; b=dH/MaxH;if(b>a){ a=b; } dW=dW/a; dH=dH/a; }
    if(dW > 0 && dH > 0) { _img.width=dW; _img.height=dH; }
	var jsArea = document.getElementById("JsArea");
	var childs = jsArea.childNodes; for (var i = 0; i < childs.length; ++i) jsArea.removeChild(childs[i]);
	_img.style.paddingTop = (250-_img.height)/2;
	var a = document.createElement('a'); a.target = '_blank';
	a.href=l1;
	a.appendChild(_img); jsArea.appendChild(a);
}


function recheckFlashLoadStat() {
	if (flashShowFinished) return;
}

function delayLoadImg() {
	if (!flashLoaded) 	window.setTimeout("recheckFlashLoadStat()", 30000);
}
**/

function FlashShowImageObject_DoFSCommand(command, args) {
	if (command == 'flashShowImg') flashShowImg();
	else if (command == 'flashShowImgFinished') flashShowImgFinished();
	//else if (command == 'jsShowImg') jsShowImg();
}

document.write('<iframe src="about:blank" frameborder="0" width="0" height="0" name="commandFrame"></iframe>');
window.frames['commandFrame'].document.write('<'+'script type="text/javascript">function commandDelegate(command){parent.FlashShowImageObject_DoFSCommand(command,"");}<'+'/script>');
//window.setTimeout("delayLoadImg()", 3000);

