if(typeof(dclk_isDartRichMediaLoaded) == "undefined") {
	dclk_isDartRichMediaLoaded = true;
	function dclkWrite(str){
		if(dclk_shouldOverride)
		dclk_original_documentWrite(str);
		else
		document.write(str);
	}
	function dclkWriteln(str){
		if(dclk_shouldOverride)
		dclk_original_documentWriteLn(str);
		else
		document.writeln(str);
	}
	function dclk_isInternetExplorer() {
		return (navigator.appVersion.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Opera") < 0);
	}
	dclk_shouldOverride = dclk_isInternetExplorer();
	if(dclk_shouldOverride) {
		dclk_original_documentWrite = document.write;
		dclk_original_documentWriteLn = document.writeln;
		document.write = dclkWrite;
		document.writeln = dclkWriteln;
	}
}
function flash(url,w,h,wmode){
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"');
document.write(' WIDTH='+w+' HEIGHT='+h+'>');
document.write(' <PARAM NAME=movie VALUE="'+url+'"> '); 
document.write(' <PARAM NAME=quality VALUE=high> ');
document.write(' <param name="scale" value="exactfit">'); 
document.write(' <PARAM NAME=wmode VALUE='+wmode+'> '); 
document.write(' <EMBED SRC="'+url+'" QUALITY=autohigh wmode='+wmode); 
document.write(' NAME=flashad swLiveConnect=TRUE WIDTH='+w+' HEIGHT='+h);
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.write('</EMBED>');
document.write('</OBJECT>');

}
function show990(pics,links,texts,focus_width,focus_height,text_height){
	var swf_height = focus_height+text_height;
	var AdStr='<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 +'">';
	AdStr+='<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="focus.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">';
	AdStr+='<param name="menu" value="false"><param name=wmode value="opaque">';
	AdStr+='<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">';
	AdStr+='<embed src="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" />';
	AdStr+='</object>';
	document.write(AdStr);
}
function func_topage(url){
	var pagen=$('#npage').val();
	if (!isNumber(pagen)){
		alert('请填写数字格式！');
		$('#npage').focus();
		return;
	}
	url=url.replace('*',pagen);
	window.location=url;
}
function isNumber(strv){
 strRef = "1234567890";
 for (i=0;i<strv.length;i++) {
  tempChar= strv.substring(i,i+1);
  if (strRef.indexOf(tempChar,0)==-1)return false; 
 }
 return true;
}
