//menu
if (document.getElementById) { //DynamicDrive.com change
	document.write('<style type="text/css"> ');
	document.write('.submenu{display: none;} ');
	document.write('</style> ');
}
function SwitchMenu(obj, num) {
	if (document.getElementById) {
		var menuNode;
		var el = document.getElementById(obj);
		var ar = document.getElementById("ulmenu").getElementsByTagName("dd"); //DynamicDrive.com change
		if (el.style.display != "block") {

			for (var i = 0; i < ar.length; i++) {
				if (ar[i].className == "submenu") {
				    ar[i].style.display = "none"; //alert(ar[i].parentNode.className);
					DisplayPreNode(ar[i], false);
				}
			}
			el.style.display = "block";
			DisplayPreNode(el, true);
		} else {
		    el.style.display = "none";
			DisplayPreNode(el, false);
		}
	}
}
function DisplayPreNode(node, setOn) {
    var preNode = node.previousSibling.tagName ? node.previousSibling : node.previousSibling.previousSibling;
    if (setOn) {
        preNode.className = 'on';
    }
    else {
        preNode.className = "";
    }
}

//flash_firstpage
function playFlash(flashid){
 var fpic =document.getElementById(flashid).getElementsByTagName("img");
 var flink =document.getElementById(flashid).getElementsByTagName("a");
 var focus_width=420
 var focus_height=168
 var text_height=0
 var imag=new Array();
 var link=new Array();
 var text=new Array();
 
 var swf_height = focus_height+text_height
 
  for(var i=0;i<fpic.length;i++){
   imag[i]=fpic[i].src;
   }  
  var pics="", links="", texts="";
	for(var i=0; i<imag.length; i++){
		pics=pics+("|"+imag[i]);
		links=links+("|"+flink[i]);
		texts=texts+("|"+text[i]);
		//alert(flink[i*2]);
	} 
  pics=pics.substring(1);
	links=links.substring(1);
	texts=texts.substring(1);
	
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="http://images.91.com/conquer91e/flash/focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('<embed src="http://images.91.com/conquer91e/flash/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>');
 }