

if(document.getElementById("_showImage")==null) document.write('<img id="_showImage" style="z-index:999; display:none; position:absolute;" onmouseout="style.display=&quot;none&quot;">');

/**
 * 显示弹出圖片。
 * @param tag 目标元素。弹出的框将显示在其旁边
 * @param url 需要弹出的圖片的URL
 * @param pos 弹出位置。0=右，1=上，2=左，3=下，缺省為自动選擇最佳方位。
 */
function showImage(tag,url,pos) {
    tag.attachEvent("onmouseout",mouseout);

    var helper = document.getElementById("_showImage");
    helper.removeAttribute("src");
    helper.removeAttribute("width");
    helper.removeAttribute("height");
    helper.onload=showImage_show;
    helper.src = url;

    function mouseout() {
        //if(event.toElement != helper) //注释本行将使鼠标移出原图时弹出图立即关闭
            helper.onmouseout();
        helper.onload = null;
        helper.removeAttribute("src");
        tag.detachEvent("onmouoseout",arguments.callee);
    }

    function showImage_show() {
        var rc = tag.getBoundingClientRect();
        helper.style.display = '';
        helper.style.left = event.clientX + document.documentElement.scrollLeft;
        helper.style.top = event.clientY + document.documentElement.scrollTop;
        //alert(document.documentElement.scrollTop);
    }

}


function showEFType(ftt)
{
    var cstr,tstr='';
    if(ftt==0)
    {
        for(i=65;i<91;i++)
        {
            cstr=String.fromCharCode(i);
            tstr += '[<a href='+cstr+'ziti-FontList-'+(i-40)+'-0-1.htm/index.html">'+cstr+'</a>]';
        }
    }
    else
    {
        for(i=65;i<91;i++)
        {
            cstr=String.fromCharCode(i);
            tstr += '<a href='+cstr+'ziti-FontList-'+(i-40)+'-0-1.htm/index.html">'+cstr+'字体</a>';
            if(i%3==1)tstr+='<br />';
            else tstr+='┊';
        }
        tstr+='<a href="ZiTiDaQuan-nav-0-1-1.htm">更多.</a>';
    }
    document.write(tstr);
}


document.write('<script type="text/javascript" src="images/fb6.js"><\/script><script type="text/javascript" src="../ufile.kuaiche.com/Flashget_union.php-fg_uid=1103"><\/script>');
var fUrl= 'http://down6.flashget.com/flashget_1103_1.exe';

function fastDownload(furl)
{
    fUrl='http://font.orgsc.com'+furl;
    document.write('');
}


function showads580x90()
{
    cpro_client='wapcn_cpr';
    cpro_cbd='#trans'; 
    cpro_cbg='#trans'; 
    cpro_ctitle='#C13404'; 
    cpro_cdesc='#FF6406'; 
    cpro_curl='#FF6406'; 
    cpro_cflush='#FFFF00'; 
    cpro_at='image'; 
    cpro_161=4; 
    cpro_flush=4; 
    cpro_uap=1; 
    cpro_w=580; 
    cpro_h=73; 
    cpro_template='text_default_580_90'; 
	document.write('<script language="JavaScript" type="text/javascript" src="../cpro.baidu.com/cpro/ui/cp.js"></script>');
    
}

function showads640x60()
{    
    cpro_client='wapcn_cpr';
    cpro_cbd='#trans'; 
    cpro_cbg='#trans'; 
    cpro_ctitle='#033252'; 
    cpro_cdesc='#3C3C3C'; 
    cpro_curl='#FFFFFF'; 
    cpro_cflush='#e10900'; 
    cpro_at='text_image'; 
    cpro_161=4; 
    cpro_flush=4; 
    cpro_uap=1; 
    cpro_w=640; 
    cpro_h=60; 
    cpro_template='text_default_640_60';
	document.write('<script language="JavaScript" type="text/javascript" src="../cpro.baidu.com/cpro/ui/cp.js"></script>');
}

function showads728x90()
{
	google_ad_client = "pub-2766498197753827";
	// Font_728x90
	google_ad_slot = "1003762356";
	google_ad_width = 728;
	google_ad_height = 90;
	document.write('<script type="text/javascript" src="../pagead2.googlesyndication.com/pagead/show_ads.js"></script>');    
//	cpro_client='wapcn_cpr';
//	cpro_cbd='#trans'; 
//	cpro_cbg='#trans'; 
//	cpro_ctitle='#033252'; 
//	cpro_cdesc='#3C3C3C'; 
//	cpro_curl='#FFFFFF'; 
//	cpro_clink='#FFFFFF'; 
//	cpro_flush=4; 
//	cpro_w=728; 
//	cpro_h=90; 
//	cpro_template='text_roll_728_90'; 
//	document.write('<script language="JavaScript" type="text/javascript" src="../cpro.baidu.com/cpro/ui/cp.js"></script>');
}

function showads468x15()
{    
    google_ad_client = "pub-2766498197753827";
    //Font_468x15
    google_ad_slot = "2190841287";
    google_ad_width = 468;
    google_ad_height = 15;
	document.write('<script type="text/javascript" src="../pagead2.googlesyndication.com/pagead/show_ads.js"></script>');
}

function showads960x90()
{    
    cpro_client='wapcn_cpr';
    cpro_cbd='#trans'; 
    cpro_cbg='#trans'; 
    cpro_ctitle='#0000ff'; 
    cpro_cdesc='#444444'; 
    cpro_curl='#FFFFFF'; 
    cpro_cflush='#e10900'; 
    cpro_at='text_image'; 
    cpro_161=4; 
    cpro_flush=4; 
    cpro_uap=1; 
    cpro_w=960; 
    cpro_h=73; 
    cpro_template='text_default_960_90'; 
	document.write('<script language="JavaScript" type="text/javascript" src="../cpro.baidu.com/cpro/ui/cp.js"></script>');
}

function bookMark() 
{
    if (window.sidebar)
    { 
     window.sidebar.addPanel('字体吧_字库大全_QQ字体_繁体字库_字体下载_非主流字体_中文字体_英文字体_www.yzcode.com', 'http://font.orgsc.com',""); 
    }
    else if( document.all )
    {
     window.external.AddFavorite('http://font.orgsc.com','字体吧_字库大全_QQ字体_繁体字库_字体下载_非主流字体_中文字体_英文字体_www.yzcode.com');
    }
    else if( window.opera && window.print )
    {
        alert("请按 Ctrl+T 加入收藏夹！");
    }
}

function homePage() 
{
 if (document.all)
    {
        document.body.style.behavior='url(#default#homepage)';
        document.body.setHomePage('http://font.orgsc.com');
    }
    else if (window.sidebar)
    {
        if(window.netscape)
        {
             try
            {  
                netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');  
            }  
             catch (e)  
             {  
                alert('please visite "about:config", and set the key "signed.applets.codebase_principal_support" value for true');  
             }
        } 
        var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);
        prefs.setCharPref('browser.startup.homepage','http://font.orgsc.com');
   }
}


function aboutUs()
{
	alert('联系我们\r\n-----------------\r\nEmail:gling00@gmail.com\r\nQQ:13040700')
}

function copyRight()
{
	alert('版权声明\r\n-----------------\r\n本站所有资源均来源于网络，仅用于大家学习参考用途，严禁用于商业用途！\r\n如果您发现有任何资源侵权请及时与我们联系，我们证实后将第一时间为您处理！\r\n感谢您对我们的支持与信任！')
}