jQuery(document).ready(function($){
	$("#content a[rel=ignition]").colorbox({opacity:0.5,current:""});
	$("#feeds").colorbox({transition:"none",width:"400px",height:"380px",opacity:0,inline:true,href:"#rss-feeds-box"});
	$("#commentlist li").each(function() {
		var g = $(this).find("ul.children li .comment-content");
		$(this).find(".comment-reply-link:first").clone().appendTo(g);
	});
	$("#commentlist a.comment-reply-link").click(function(){
		var rename = $(this).parents(".comment-content").find(".comment-author-name").text();
		var reid = '"#comment-' + $(this).parents(".comment-content").find(".comment-id").text() + '"';
		$("#comment").append("&lt;a href=" + reid + "&gt;@" + rename + "&lt;/a&gt;&nbsp;").focus();
	});
	$("#cancel-comment-reply-link").click(function(){
		$("#comment").empty();
	});
	$("#safe-email").click(function(){
		var A="picturepan2"
		var B="livesino.net"
		var C=A+"@"+B;
		$(this).text(C);
	});
	$("#contactsubmit").click(function(){
		$("#feedback_valid").attr('value','450');
	});
});
addComment = {
    moveForm: function (d, f, i, c) {
        var m = this,
            a, h = m.I(d),
            b = m.I(i),
            l = m.I("cancel-comment-reply-link"),
            j = m.I("comment_parent"),
            k = m.I("comment_post_ID");
        if (!h || !b || !l || !j) {
            return
        }
        m.respondId = i;
        c = c || false;
        if (!m.I("wp-temp-form-div")) {
            a = document.createElement("div");
            a.id = "wp-temp-form-div";
            a.style.display = "none";
            b.parentNode.insertBefore(a, b)
        }
        h.parentNode.insertBefore(b, h.nextSibling);
        if (k && c) {
            k.value = c
        }
        j.value = f;
        l.style.display = "";
        l.onclick = function () {
            var n = addComment,
                e = n.I("wp-temp-form-div"),
                o = n.I(n.respondId);
            if (!e || !o) {
                return
            }
            n.I("comment_parent").value = "0";
            e.parentNode.insertBefore(o, e);
            e.parentNode.removeChild(e);
            this.style.display = "none";
            this.onclick = null;
            return false
        };
        try {
            m.I("comment").focus()
        } catch(g) {}
        return false
    },
    I: function (a) {
        return document.getElementById(a)
    }
};