/* */ function esc(s){return window.encodeURIComponent?encodeURIComponent(s):escape(s)} function getBtw(x, y, z) { var p = new Array(); while ( x.match(y) && x.match(z) ){ var xy = x.match(y); if (typeof (xy) != "string") xy = xy[0]; x = x.substr(x.indexOf(xy) + xy.length); var xz = x.match(z); if (xz){ if (typeof (xz) != "string") xz = xz[0]; xz = x.indexOf(xz); p[p.length] = x.substring(0, xz); x = x.substr(xz); }} return p; } permalink = getBtw(permalink, 'http', '.html')[0]; permalink = (!permalink)?document.location:"http"+permalink+".html"; pid = getBtw(esc(permalink), 'archive/', '.html')[0]; blogtitle = getBtw(blogtitle, /kdub1/i, /iv>/i)[0]; blogtitle = getBtw(blogtitle, '>', /<\/d/i)[0]; function minimeditor(b,u){ if (document.selection) { t=document.selection.createRange().text; } else if (window.getSelection) { t=window.getSelection(); } else if(document.getSelection){ t=document.getSelection(); } m = 'http://www.blogdrive.com/manage/blog_entries_popup?title=' +b+ '&url=' +u+ '&text=' +esc(t); m = m.substr(0,2000) +esc("\r\n\r\n\r\n\r\n"); void(window.open(m, 'blogdrive_popup_editor', 'width=520,height=385,scroll=no,resize=no').focus())} if (!window.icons&&!window.textlinks) {icons=1;textlinks=1;}; ic ='
"; document.write(ic); if (sc_project!=1664789 && permalink.indexOf("design.blog") < 0){ var sc_project=1664789; var sc_invisible=1; var sc_partition=11; var sc_security="e5d3a137"; document.write('') } //