﻿ 
function searchCheck(){
	if (document.SearchForm.searchType.value==0){
		alert('请选择类型');
		document.SearchForm.searchType.focus();
		return false;
	}
	if (document.SearchForm.searchType.value=="1" || document.SearchForm.searchType.value=="3"){
		if (document.SearchForm.PDType.value=='' && document.SearchForm.PDAge.value=='0'){
			alert('请选择查询条件');
			document.SearchForm.PDType.focus();
			return false;
		}
	}else{
		if (document.SearchForm.searchKey.value=='' || document.SearchForm.searchKey.value=='我想找...'){
			alert('请填写要查找的关键字');
			document.SearchForm.searchKey.value='';
			document.SearchForm.searchKey.focus();
			return false;
		}
	}
	SearchForm.submit();
}
function searchTypeChange(STypeV){
	//alert(STypeV);
	switch (STypeV) {
		case "1":
			window.SearchPD.style.display='block';
			document.SearchForm.searchKey.style.display='none';
			break;
		case "2":
			window.SearchPD.style.display='none';
			document.SearchForm.searchKey.style.display='block';
			break;
		case "3":
			window.SearchPD.style.display='block';
			document.SearchForm.searchKey.style.display='none';
			break;
	}
}

function WorkUsersearchCheck(){
	
	
		if (document.WorkUsersearch.searchKey.value=='' ){
			alert('请填写要查找的关键字');
			document.WorkUsersearch.searchKey.value='';
			document.WorkUsersearch.searchKey.focus();
			return false;
		}
	
	return true;
}

function vote_check(){
	var checkok=0;
	for (var oki=0;oki<document.Vote_form.votevalue.length;oki++){
		if (document.Vote_form.votevalue[oki].checked==true){
			checkok=1;
			break;
		}
	}
	if(checkok==1){
		document.Vote_form.submit();
	}else{
		alert('请选择调查答案');
		document.Vote_form.votevalue[0].focus();
	}
	
}
function vote_Show(voteID){
	//document.Vote_form.action='/vote/vote_show.asp?voteid=' + voteID;
	document.Vote_form.action='/vote/vote_show.asp';
	document.Vote_form.submit();
	document.Vote_form.action='/vote/votein.asp';
	//alert(voteID)
}

function transformHtml(myid){
	var TextContainer=eval(myid)
	var elementall=TextContainer.all;
	var Ttext;
	var ijs;
	for(var i=0;i < elementall.length;i++){
		if (elementall[i].tagName=='INPUT' && elementall[i].className=='Htmltext'){
			Ttext=elementall[i].value;
			ijs=0;
			for(var ni;ni<Ttext.length;ni++){
				if (elementall[i].value.charAt[ni]=="<"  && elementall[i].value.charAt[ni+1]!='/'){
					ijs++;
				}
			}
			elementall[i-1].innerHTML=elementall[i].value
			i+=ijs;
		}
	}
}

//-------------------------------------------------------------------
//submitfrm()用于用户提交评论
function submitfrm(){
	if (strlength(document.Subitmsg.message.value)>500){
		alert("评论最多500字");
		document.Subitmsg.message.focus();
		return false;
	}else if (document.Subitmsg.message.value.length==0){
		alert("请填写评论");
		document.Subitmsg.message.focus();
		return false;
	}
	document.Subitmsg.submit();
}


//------------------------------------------------------------------
//判断字符串长度，汉字算2个

function strlength(str){  
	var l=str.length;
	var n=l
	for (var i=0;i<l;i++){
		if (str.charCodeAt(i)<0||str.charCodeAt(i)>255) n++
    }
    return n
}


//-----------------------------------------------------------
//判断字符串长度，汉字算2个
function strlength(str){  
    var l=str.length;
    var n=l
    for (var i=0;i<l;i++){
        if (str.charCodeAt(i)<0||str.charCodeAt(i)>255) n++
    }
    return n
}


//-----------------------------------------------------------
//如果string中含有compare的任何一个字符返回True
//或者含有ASCII不在[49,122]返回True
//ASCII [92] 返回True
function SpecialString(string,compare)   
{ 
   for (var i=0;i<string.length;i++){ 
     if (compare.indexOf(string.charAt(i))!=-1||(string.charCodeAt(i)<48 && string.charCodeAt(i)>0)||(string.charCodeAt(i)>123&& string.charCodeAt(i)<256)||string.charCodeAt(i)==92) 
     return false;
   } 
   return true; 
} 
//-----------------------------------------------------------
function isemail(strg){ 
     if(!(strg.indexOf("@")>1 && strg.indexOf(".")>1)) return false; 
     if(strg.indexOf("@",strg.indexOf("@")+1)>0)  return false; 
     var strarray=new Array("@@" , "@." , "..") 
     for(i=0;i<strarray.length;i++) 
       if(strg.indexOf(strarray[i])>0) return false; 
     for(i=0;i<strg.length;i++) 
       if(strg.substr(i,1)<="," || strg.substr(i,1)=="/" || (strg.substr(i,1)>="["&&strg.substr(i,1)<="") || strg.substr(i,1)=="`" || (strg.substr(i,1)>=":"&&strg.substr(i,1)<="?") || strg.substr(i,1)>="{") return false; 
     return true 
}  
function openNewWindow(myurl,winname,winh,winw,winmemo){
	var ws = screen.width;
	var wintop;
	var winleft;
	if (ws>=835){
		winleft=(screen.width-winw)/2
		wintop=(screen.height-winh)/2
	}else{
		wintop=0
		winleft=0
	}
	parameter = "left="+winleft+",top="+wintop+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,resizable=no,width=" + winw + ",height=" + winh + winmemo ;
    var aaa=window.open(myurl,winname,parameter,true);
    aaa.focus();
}
function writeValue(WType,WT2,WStr){
	switch (WType){
		case 'div':
			if(WT2=='start'){
				document.write('<div id='+WStr+'>');
			}
			if(WT2=='end'){
				document.write('</div>');
			}
			break;
	}
	
}


//----------------learn登录-----------------------------

function login_form_new(){
	document.write ('<div id="loginB">')
        document.write ('<table width="215" border="0" cellspacing="2" cellpadding="0" class="table_loginB">')
        document.write ('<form method="post" action="users/login.asp">')
        document.write ('<tr>')
        document.write ('<td width="23%">&nbsp;</td>')
        document.write ('<td width="44%"><input name="name" type="text" class="border_login" value=":::用户名"  onfocus="this.value=\'\'"/></td>')
        document.write ('<td width="33%" rowspan="3" align="center" valign="bottom"><a  onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'btn_login\',\'\',\'images/btn_login_h.gif\',1)"><input type="image" src="images/btn_login.gif" name="btn_login" width="61" height="48" border="0" id="btn_login" /></td>')
        document.write ('</tr>')
        document.write ('<tr>')
        document.write ('<td style="color:#9F6900;">密&nbsp;&nbsp;&nbsp;&nbsp;码</td>')
        document.write ('<td><input name="psw" type="password" class="border_login" value=":::密  码"  onfocus="this.value=\'\'"/></td>')
        document.write ('</tr>')
        document.write ('<tr>')
        document.write ('<td height="14"><img src="_script/code1.asp"" /></td>')
        document.write ('<td><input name="verify" type="text" class="border_login" value=":::请输入验证码"  maxlength="4" onfocus="this.value=\'\'"/></td>')
        document.write ('</tr>')
        document.write ('<tr>')
        document.write ('<td height="25" colspan="3">')
        document.write ('<table border="0" cellpadding="0" cellspacing="0" align="center" width="200">')
        document.write ('<tr>')
        document.write ('<td align="right" height="25" valign="middle">')
        document.write ('<a href="reg1_ibook.asp" target="_blank"><img src="images/btn_signup_new.gif" width="80" height="14" border="0" /></a>&nbsp;<a style="cursor:pointer" onClick="javascript:window.open(\'users/FindPWD.asp\',\'pswd\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=467,height=240\')"><img src="images/btn_fpassword_new.gif" width="76" height="14" border="0" /></a></td>')
        document.write ('</tr>')
		document.write ('</table>')
        document.write ('</td>')
        document.write ('</tr>')
        document.write ('</form>')
		document.write ('</table>')
	    document.write ('</div>')
}		
function userinfo_new(loginname,jifen,chenghao,duanxin){
	document.write ('<div id="loginA">')
        document.write ('<table border="0" cellspacing="3" cellpadding="0" class="table_loginA">')
        document.write ('<tr>')
          document.write ('<td width="8%">&nbsp;</td>')
          document.write ('<td width="92%"><div id="username">'+loginname+'</div></td>')
          document.write ('</tr>')
        document.write ('<tr>')
          document.write ('<td>&nbsp;</td>')
          document.write ('<td>')
		  document.write ('<div id="information1">$: '+jifen+'</div>')
		  //document.write ('<div id="information2">称号: '+chenghao+'</div>')
		  //document.write ('<div id="information3"><a href="/userboardCN/user_receivebox.asp" target="_blank">您有'+duanxin+' 条消息</a></div>')
		  document.write ('<div id="information4"><a href="/userboardCN/welcome.asp" target="_blank">控制面板</a></div>')
		  document.write ('<div id="information5"><a href="users/logout.asp">退出登录</a></div>')
		  document.write ('</td>')
          document.write ('</tr>')
		 document.write ('</table>')
	  document.write ('</div>')
}	
function login_form_big(){
	document.write ('<div id="M_r_TopPlace">')
        document.write ('<form method="post" action="users/login.asp">')
	  document.write ('<div id="M_r_loginBig">')
          document.write ('<div id="loginBig_table">')
          document.write ('<input name="name" type="text" class="loginBig_table_b1" value="::::用户名::::"  onfocus="this.value=\'\'"/>')
          document.write ('&nbsp;密码 <input name="psw" type="password" class="loginBig_table_b1" value="*********" onfocus="this.value=\'\'" />')
          document.write ('&nbsp;<input name="verify" type="text" class="loginBig_table_b1" value="请输入验证码" maxlength="4" onfocus="this.value=\'\'"/>')
          document.write ('&nbsp;<img src="_script/code1.asp"" />')
          document.write ('&nbsp;<input type="image" name="btn_login" id="btn_login" src="images/btn_login_s.gif" width="53" height="19" border="0" align="absmiddle" />')
          document.write ('</div>')
          document.write ('<div id="loginBig_info">')
		  document.write ('<div id="loginBig_info_item1"><a href="#" style="cursor:pointer" onClick="javascript:window.open(\'users/FindPWD.asp\',\'pswd\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=467,height=240\')">找回密码</a></div>')
		  document.write ('<div id="loginBig_info_item2"><a href="reg1_ibook.asp" target="_blank">注册新用户</a></div>')
		  document.write ('</div>')
        document.write ('</form>')
	  document.write ('</div>')
}
function login_form_bigB(){
	document.write ('<div id="M_r_TopPlace">')
        document.write ('<form method="post" action="users/login.asp">')
	  document.write ('<div id="M_r_loginBig">')
          document.write ('<div id="loginBig_table">')
          document.write ('<input name="name" type="text" class="loginBig_table_b1" value="::::用户名::::"  onfocus="this.value=\'\'"/>')
          document.write ('&nbsp;密码 <input name="psw" type="password" class="loginBig_table_b1" value="*********" onfocus="this.value=\'\'" />')
          document.write ('&nbsp;<input name="verify" type="text" class="loginBig_table_b1" value="请输入验证码" maxlength="4" onfocus="this.value=\'\'"/>')
          document.write ('&nbsp;<img src="_script/code1.asp"" />')
          document.write ('&nbsp;<input type="image" name="btn_login" id="btn_login" src="images/btn_login_b.gif" width="53" height="19" border="0" align="absmiddle" />')
          document.write ('</div>')
          document.write ('<div id="loginBig_info">')
		  document.write ('<div id="loginBig_info_item1"><a href="#" style="cursor:pointer" onClick="javascript:window.open(\'users/FindPWD.asp\',\'pswd\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=467,height=240\')">找回密码</a></div>')
		  document.write ('<div id="loginBig_info_item2"><a href="reg1_ibook.asp" target="_blank">注册新用户</a></div>')
		  document.write ('</div>')
        document.write ('</form>')
	  document.write ('</div>')
}
function userinfo_big(loginname,jifen,chenghao,duanxin){
	document.write ('<div id="M_r_TopPlace">')
	document.write ('<div id="M_r_loginOk">')
          document.write ('<div id="loginOk_name">'+loginname+'</div>')
          document.write ('<div id="loginOk_info">')
          document.write ('<div id="loginOk_info_item">')
		  document.write ('<img src="images/icon_money.gif" width="11" height="11" border="0" align="absmiddle" />&nbsp;$：'+jifen+'</div>')
		  //document.write ('<div id="information2">称号: '+chenghao+'</div>')
		  //document.write ('<div id="loginOk_info_item"><img src="images/icon_message.gif" width="11" height="9" border="0" align="absmiddle" />&nbsp;<a href="/userboardCN/user_receivebox.asp" target="_blank">您有 '+duanxin+' 条消息</a></div>')
		  document.write ('<div id="loginOk_info_item"><img src="images/icon_ctrl.gif" width="12" height="11" border="0" align="absmiddle" />&nbsp;<a href="/userboardCN/welcome.asp" target="_blank">控制面板</a></div>')
		  document.write ('<div id="loginOk_info_item" style="padding-right:0px;"><img src="images/icon_back.gif" width="13" height="10" border="0" align="absmiddle" />&nbsp;<a href="users/logout.asp">退出登录</a></div>')
		  document.write ('</div>')
	  document.write ('</div>')
}
function step_list(){
	       document.write ('<table width="208" border="0" cellpadding="0" cellspacing="0">')
             document.write ('<tr>')
               document.write ('<td height="37px" background="images/r2_top.gif"></td>')
             document.write ('</tr>')
             document.write ('<tr>')
							document.write ('<td height="232" align="center" background="images/r1_bg.gif">')
								document.write ('<a href="download.asp" target=_blank><img src="images/r2_download.gif"  border="0"></a>')
								document.write ('<img src="images/r2_ar1.gif"  border="0"> <a href="register.asp" target=_blank>')
									document.write ('<img src="images/r2_register.gif"  border="0"></a> <img src="images/r2_ar2.gif"  border="0">')
								document.write ('<a href="products.asp" target=_blank><img src="images/r2_study.gif"  border="0"></a>')
								document.write ('<img src="images/r2_ar3.gif"  border="0"> ')
									document.write ('<img src="images/r2_charge.gif"  border="0">')
							document.write ('</td>')
             document.write ('</tr>')
             document.write ('<tr>')
               document.write ('<td height="12px" background="images/r2_bot.gif"></td>')
             document.write ('</tr>')
           document.write ('</table>')
}


function List_R(){
document.write ('<div id="L_1">')
document.write ('<div id="L_1_top">&nbsp;</div>')
document.write ('<div id="L_1_body">')
document.write ('<div id="lbody_downLoad">')
document.write ('<a href="/Download_ibook.asp"><img src="images/icon_clientd_o.gif" border="0" /></a></div>')
document.write ('<div id="lbody_guide" style="margin:8px 0 0 8px!important; margin:8px 0 0 5px;">')
document.write ('<div id="lbody_guide_body">')
document.write ('<table border="0" cellpadding="0" cellspacing="0" align="center">')
document.write ('<tr>')
document.write ('<td width="117" valign="top"><a href="guide.asp"><img src="images/guide_btn1.gif" border="0" /></a></td>')
document.write ('<td valign="top" height="27"><a href="guide.asp"><img src="images/guide_btn2.gif" border="0" /></a></td>')
document.write ('</tr>')
document.write ('<tr>')
document.write ('<td width="117" valign="top"><a href="guide.asp"><img src="images/guide_btn3.gif" border="0" /></a></td>')
document.write ('<td valign="top"><a href="guide.asp"><img src="images/guide_btn4.gif" border="0" /></a></td>')
document.write ('</tr>')
document.write ('</table>')
document.write ('</div>')
document.write ('</div>')
//document.write ('<div id="lbody_shopCar"><a href="#" onClick="javascript:window.open(\'shop/cart.asp?action=show\',\'cart\',\'width=616,height=540,toolbar=no, status=no, menubar=no, resizable=no, scrollbars=yes\');return false;"><img src="images/icon_shopping.gif" border="0" /></a></div>')
document.write ('</div>')
document.write ('<div id="L_1_btm">&nbsp;</div>')
document.write ('</div>')
document.write ('<div id="L_2" style="margin:8px 0 0 0;">')
document.write ('<div id="L_2_ourLink">')
document.write ('<div id="ourLink_img"><a href="http://play.wawayaya.net/" target=_blank><img src="images/img_skg105.gif" border="0" width="120" height="50" /></a></div>')
document.write ('<div id="ourLink_text">儿童益智社区</div>')
document.write ('</div>')
document.write ('</div>')

}

function List_R_order(){
	    document.write ('<div id="R_1"><a href="/userboardcn/deposit.asp" target=_blank><img src="images/icon_topupstation.gif" border="0" /></a></div>')
		
		document.write ('<div id="R_2">')
		  document.write ('<div><img src="images/bg_R_2_t.gif" /></div>')
		  document.write ('<div><a href="/download.asp" target=_blank><img src="images/icon_clientd.gif" border="0" class="bb"/></a><br />')
		       document.write ('<a href="#"><img src="images/icon_records.gif" border="0"class="bb" /></a><br />')
			   document.write ('<a href="#"  onclick="var aaa=window.open(\'shop/cart.asp?action=show&return_page=6\',\'cart\',\'width=616,height=540,toolbar=no, status=no, menubar=no, resizable=no, scrollbars=yes\');aaa.focus()"><img src="images/icon_shopping.gif" border="0" /></a> </div>')
		  document.write ('<div><img src="images/bg_R_2_b.gif" /></div>')
		document.write ('</div>')
		
		document.write ('<div id="R_3">')
		  document.write ('<div><img src="images/bg_R_6_t.gif" /></div>')
		  document.write ('<div><a href="/welcome.asp" target=_blank><img src="images/land120.gif" border="0" class="friendlink"/></a><br />')
			   document.write ('<a href="/space_cn" target=_blank><img src="images/space120.gif" border="0" class="friendlink"/></a></div>')
		  document.write ('<div><img src="images/bg_R_3_b.gif" /></div>')
		document.write ('</div>')
				
		document.write ('<div id="R_logo">')
		  document.write ('<img src="images/logo_wy_sg.gif" />')
		document.write ('</div>')		
}


function topmenu(){
document.write ('<div id="topmenu">')
document.write ('<a href="/ols/List_ibook.asp?lid=100023">在线支持</a> | <a href="/userboardCN/welcome.asp"  target="_blank">控制面板</a> | <a href="#"  onclick="javascript:change_url()">English</a>')
document.write ('</div>')
}

function Main_top(){
document.write('<div id="Main_top">')
document.write('<a href="./" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img1\',\'\',\'images/btn_m1_h.gif\',1)"><img src="images/btn_m1.gif" name="link_img1" id="link_img1" border="0" /></a>')
document.write('<a href="/iflashbook/reg1_ibook.asp" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img2\',\'\',\'images/btn_m2_h.gif\',1)"><img src="images/btn_m2.gif" name="link_img2" id="link_img2" border="0" /></a>')
document.write('<a href="/iflashbook/ifbInfo.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img3\',\'\',\'images/btn_m3_h.gif\',1)"><img src="images/btn_m3.gif" name="link_img3" id="link_img3" border="0" /></a>')
document.write('<a href="/iflashbook/book_order.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img4\',\'\',\'images/btn_m4_h.gif\',1)"><img src="images/btn_m4.gif" name="link_img4" id="link_img4" border="0" /></a>')
document.write('<a href="/membership_SG/welcome.asp?bookid=5000003&ordertype=4" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img5\',\'\',\'images/btn_m8_h.gif\',1)"><img src="images/btn_m8.gif" name="link_img5" id="link_img5" border="0" /></a>')
document.write('<a href="/membership_SG/ifb_AddList.asp" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img6\',\'\',\'images/btn_m6_h.gif\',1)"><img src="images/btn_m6.gif" name="link_img6" id="link_img6" border="0" /></a>')
document.write('<a href="/ols/List_ibook.asp?lid=100023" target="_blank" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'link_img7\',\'\',\'images/btn_m7_h.gif\',1)"><img src="images/btn_m7.gif" name="link_img7" id="link_img7" border="0" /></a>')
document.write('</div>')

}

function change_url(){
	wa = document.location.href
	wa = wa.replace('/iflashbook/','/iflashbooken/')
	wa = wa.replace('#','')
	document.location = wa
}

function change_boardurl(){
	wa = document.location.href
	wa = wa.replace('/userboardCN/','/userboard/')
	wa = wa.replace('#','')
	document.location = wa
}

function btm(){
document.write ('<div id="btm">')
document.write ('<div id="btm_l" style="padding-top:20px;">')
document.write ('<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW"><img src="images/img_FlashPlayer.gif" border="0" /></a>')
document.write ('</div>')
document.write ('<div id="btm_r" style="padding-top:15px;">')
document.write ('<div id="btm_r_menus">')
document.write ('<a href="/help/AboutUs_ibook.asp" target="_blank" >关于我们</a> | <a href="/help/contactus_ibook.asp" target="_blank" >联系我们</a> | <a href="/ols/List_ibook.asp?lid=100023">在线支持</a> ')
document.write ('</div>')
document.write ('<div id="btm_r_copyright" style="padding-bottom:10px;">')
//document.write ('我的华文动漫书：Copyright  reserved by Creative Knowledge Pte Ltd and Panpac Education Pte Ltd.<br />华文书内容提供：Copyright reserved by Curriculum Planning & Development Division, Ministry of Education, Singapore & <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Panpac Education Pte Ltd.<br />引擎与网站提供：Copyright  reserved by Creative Knowledge Pte Ltd ')
document.write ('<a href="/help/copyright_ibook_en.asp" target="_blank">Copyright©2007-2010</a>')
document.write ('</div>')
document.write ('</div>')
document.write ('</div>')
}

function btm_nocopyright(){
document.write ('<div id="btm">')
document.write ('<div id="btm_l" style="padding-top:20px;">')
document.write ('<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW"><img src="images/img_FlashPlayer.gif" border="0" /></a>')
document.write ('</div>')
document.write ('<div id="btm_r" style="padding-top:15px;">')
document.write ('<div id="btm_r_menus">')
document.write ('<a href="/help/AboutUs_ibook.asp" target="_blank" >关于我们</a> | <a href="/help/contactus_ibook.asp" target="_blank" >联系我们</a> | <a href="/ols/List_ibook.asp?lid=100023">在线支持</a> ')
document.write ('</div>')

document.write ('</div>')
document.write ('</div>')
}

function iboardbtm(){
document.write ('<div id="btm_d">')
document.write ('<div id="btm_l"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW" target="_blank"><img src="images/img_flashNull.gif" width="107" height="82" border="0" /></a></div>')
document.write ('<div id="btm_r">')
document.write ('<div id="btm_r_link">')
document.write ('<a href="/help/AboutUs_ibook.asp" target="_blank" >关于我们</a>&nbsp;|&nbsp;<a href="/help/contactus_ibook.asp" target="_blank" >联系我们</a>&nbsp;|&nbsp;<a href="/ols/List_ibook.asp?lid=100023">在线支持</a></div>')
document.write ('<div id="btm_r_text">')
//document.write (' 我的华文动漫书：Copyright reserved by Creative Knowledge Pte Ltd and Panpac Education Pte Ltd.</div>')
//document.write ('<div id="btm_r_text">')
//document.write ('华文书内容提供：Copyright reserved by Panpac Education Pte Ltd</div>')
//document.write ('<div id="btm_r_text">')
//document.write ('引擎与网站提供：Copyright reserved by Creative Knowledge Pte Ltd</div>')
document.write ('<a href="/help/copyright_ibook_en.asp" target="_blank">Copyright©2007-2010</a>')
document.write ('</div>')
document.write ('</div>')
} 

function PageList(PageNo, PageCount, PageType){
	document.write ('<a style=\'cursor:hand\' onclick=goPage(\'1\',\''+PageCount+'\',\''+PageType+'\')><img src=\'images/btn_news_fG.gif\' border=\'0\' /></a>&nbsp;')
	if(PageNo != 1){
		document.write ('<a style=\'cursor:hand\' onclick=goPage(\''+(PageNo-1)+'\',\''+PageCount+'\',\''+PageType+'\')><img src=\'images/btn_news_PG.gif\' border=\'0\' /></a>&nbsp;')
		//document.write('-'+(PageNo-1)+'-')
	}
	for(var i=1; i <= PageCount; i++){
		if(i != PageNo){
			document.write ('<a style=\'cursor:hand\' onclick=goPage(\''+i+'\',\''+PageCount+'\',\''+PageType+'\')>['+i+']</a>')
		}
		else{
			document.write ('<strong><a style=\'color:#FF0000\'>['+i+']</a></strong>')
		}
	}
	if(PageNo != PageCount){
		document.write ('<a style=\'cursor:hand\' onclick=goPage(\''+(PageNo+1)+'\',\''+PageCount+'\',\''+PageType+'\')><img src=\'images/btn_news_NG.gif\' border=\'0\' /></a>&nbsp;')
	}
	document.write ('<a style=\'cursor:hand\' onclick=goPage(\''+PageCount+'\',\''+PageCount+'\',\''+PageType+'\')><img src=\'images/btn_news_LG.gif\' border=\'0\' /></a>&nbsp;')
}
function flash_banner1(){
	document.write ('<div id="main_right_L_banner">')
	document.write ('<div id="banner_1"></div>')
	var so = new SWFObject("flashs/banner.swf", "flashbanner_1", "349", "157", "8", "");
	so.addParam("quality", "high"); 
	so.addParam("wmode", "transparent"); 
	so.write("banner_1");
	document.write ('</div>')
}
function flash_banner2(){
	document.write ('<div id="M_r_banner">')
	  document.write ('<div id="banner_2"></div>')
	var so = new SWFObject("flashs/banner.swf", "flashbanner_1", "349", "157", "8", "");
	so.addParam("quality", "high"); 
	so.addParam("wmode", "transparent"); 
	so.write("banner_2");
	document.write ('</div>')
}