window.onerror=testError;function testError(){window.onerror=null;return true;}

function addBookmark(title,url,desc) 
{
if (window.sidebar) {
window.sidebar.addPanel(title, url,desc); //Mozilla browser
} else if( document.all ) { //IE browser
window.external.AddFavorite( url, title); 
} else if( window.opera && window.print ) { //not support Now
return true;
}
}

document.writeln("<style type=\"text\/css\">");
document.writeln("#loader_container {");
document.writeln("        text-align:center;");
document.writeln("        position:absolute;");
document.writeln("        top:40%;");
document.writeln("        width:100%;");
document.writeln("        left: 0;");
document.writeln("}");
document.writeln("#loader {");
document.writeln("	font-family:Tahoma, Helvetica, sans;");
document.writeln("	font-size:12px;");
document.writeln("	color:#FF3300;");
document.writeln("	background-color:#FDFDE8;");
document.writeln("	padding:10px 0 16px 0;");
document.writeln("	margin:0 auto;");
document.writeln("	display:block;");
document.writeln("	width:350px;");
document.writeln("	line-height:30px;");
document.writeln("	border:1px solid #5a667b;");
document.writeln("	text-align:left;");
document.writeln("	z-index:99999;");
document.writeln("}");
document.writeln("#progress {");
document.writeln("        height:5px;");
document.writeln("        font-size:1px;");
document.writeln("        width:1px;");
document.writeln("        position:relative;");
document.writeln("        top:1px;");
document.writeln("        left:0px;");
document.writeln("        background-color:#8894a8");
document.writeln("}");
document.writeln("#loader_bg {background-color:#e4e7eb;position:relative;top:8px;left:8px;height:7px;width:333px;font-size:1px}");
document.writeln("");
document.writeln("<\/style>");
document.writeln("<div id=\"loader_container\">");
document.writeln("<div id=\"loader\">");
document.writeln("<div align=\"center\">数据加载中，请稍候 ....<br><font color=blue>后花园网文，经典、搞笑、趣味、音画、在线小说</font><BR>WWW.LOVEHHY.NET<\/div>");
document.writeln("<div id=\"loader_bg\"><div id=\"progress\"> <\/div><\/div>");
document.writeln("<\/div>");
document.writeln("<\/div>");
document.writeln("<link id=\"RSSLink\" title=\"后花园网文\" type=\"application\/rss+xml\" rel=\"alternate\" href=\"http://www.lovehhy.net/rss.aspx\" />")
document.write("<body oncontextmenu='return false' oncopy='copynr();'>");

function copynr() {
	window.external.addFavorite('http://www.lovehhy.net','后花园网文-这里专注于文章收集')
}

var t_id = setInterval(animate,20);
var pos=0;
var dir=2;
var len=0;
function animate()
{
        var elem = document.getElementById('progress');
        if(elem != null) {
                if (pos==0) len += dir;
                if (len>32 || pos>279) pos += dir;
                if (pos>299) len -= dir;
                if (pos>299 && len==0) pos=0;
                elem.style.left = pos;
                elem.style.width = len;
        }
}
function remove_loading() {
        this.clearInterval(t_id);
        var targelem = document.getElementById('loader_container');
        targelem.style.display='none';
        targelem.style.visibility='hidden';
}

animate();

var LOCC=window.location.href;

