function write_flash(url_a,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="'+url_a+'">');
  document.write('    <param name="quality" value="high">');
  document.write('    <param name="wmode" value="opaque"> ');
  document.write('    <embed src="'+url_a+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>');

	}
	
function get_lpxw_ajax(p) {
	$('#vv').text("ÄÚÈÝµ÷ÓÃÖÐ...");
  try{
  	$.ajax({
  				url: "./spfimg/get_lpxw.php",
  				type: "POST",
  				data:"p="+p,
  				dataType: "html",
  				timeout: 5000,
  				error: function(){
  					  
  							},
  				success: function(html){
  						$('#vv').html(html);
  						}
  	});
  	}
	catch(e){ }
}


function get_lscj(){
    var p=document.all.fr1.value;
		xxy.src="spf5.php?fr1="+p;
}

function write_menu(a,b) {
	if (b!="") {
	document.write('<table cellspacing="0" cellpadding="0" width="100%">');
	document.write('			  	<tr><td class="menu"><a href="'+ b +'" target="_blank" style="color:#FFFFFF;font-size:14px"><b>'+ a +'</b></a></td>');
	document.write('			  			<td class="menu_bg" align="right"><a href="'+ b +'" style="padding-right:5px"><img src="\spfimg/blue_more.gif" border="0"></a></td>');
	document.write('				  	</tr>');
	document.write('					</table>');
}
else {
	document.write('<table cellspacing="0" cellpadding="0" width="100%">');
	document.write('			  	<tr><td class="menu"><font style="color:#FFFFFF;font-size:14px"><b>'+ a +'</b></font></td>');
	document.write('			  			<td class="menu_bg" align="right">&nbsp;</td>');
	document.write('				  	</tr>');
	document.write('					</table>');

}}




var w=1;
function cch(s) {
	var q;
	var p;
		if (s==w) {
		}
		else {
			 q=5-s;
			 p="ka"+q;
			 document.all(p).className="act1";
			 
			 q=4+s;
			 p="ka"+q;
			 document.all(p).className="act2";
			 
			  
			 
			 q=4+s;
			 p="sp_s"+q;
			 document.all(p).style.display="none";
			 
			 q=5-s;
			 p="sp_s"+q;
			 document.all(p).style.display="";
			 
			 w=s;
		}
}
