var isFlashHq=false;var flashcode;var flashsecurity;function ShowFlashHq(a,b){flashcode=a;switch(parseInt(b)){case 1:flashsecurity="I";break;default:flashsecurity="S";break}if(isFlashHq==false){document.getElementById("flashhq").style.display="";if(document.getElementById("stockdetailtab")){document.getElementById("stockdetailtab").style.zIndex="-1"}GetFlashHq();document.getElementById("btnFlashHq").value="点击关闭大图";isFlashHq=true}else{document.getElementById("flashhq").style.display="none";if(document.getElementById("stockdetailtab")){document.getElementById("stockdetailtab").style.zIndex="1"}document.getElementById("btnFlashHq").value="点击查看大图";isFlashHq=false}}function CloseFlashHq(){isFlashHq=true;ShowFlashHq(flashcode,flashsecurity)}function GetFlashHq(){swfobject.embedSWF("http://flashhq.stockstar.com/FlashHQSmall.swf?"+Math.round(Math.random()*10000,4),"focus_flash","800","360","9.0.0","",{first:""+flashcode+"|"+flashsecurity+"|null|CN",siteid:""},{wmode:"opaque",AllowScriptAccess:"always"})}function isReady(){return isFlashHq};
