<!--
if (!NWrlwkpwordWrite) {
    var NWrlwkpwordWrite = function(url, sid, tmpl, cs, headtag, bodytag, cnt) {

    var maxsize = 2083; // IE 2083 bytes: http://support.microsoft.com/kb/208427/ja
    var obj, head, body, date;

    // get innerText ( textContent for Firefox )
    if ( headtag && (obj = document.getElementById(headtag)) ) {
        head = obj.innerText || obj.textContent;
    }
    if ( bodytag && (obj = document.getElementById(bodytag)) ) {
        body = obj.innerText || obj.textContent;
    }

    // bulid url: fixed part
    url += '?cs=' + cs + '&siteid=' + sid + '&tmpl=' + tmpl;

    if ( cnt ) {
        url += '&sublink=' ;
        url += cnt ;
    }
    if ( head ) { // head
        url += '&head=';
        date = head.substr(0,(maxsize - url.length)/9);
        url += encodeURIComponent(head);
    }
    if ( body ) { // body
        url += '&body=';
        body = body.substr(0,(maxsize - url.length)/9);
        url += encodeURIComponent(body);
    }

    // get-request and write results
    document.write('<script type="text/javascript" charset="' + cs + '" src="' + url + '" ></scr' + 'ipt>');

    }

}

// call 
NWrlwkpwordWrite('http://relart.fresheye.com/ra/rlwkpword.cgi', NWsid, NWtmpl, NWcs, NWhead, NWbody, NWcnt );
// -->
