document.write('\n');
document.write('\n');
var blenza_opt_namemax = 80;
var blenza_opt_linkmax = 152;
var bzloc_youfirst = "You're first";
var bzloc_younext = "You're next";
var bzloc_ifparticip = "If you are participating in";
var bzloc_toaddlink = "To add your entry to the list";
var bzloc_enter = "Enter";
var bzloc_next = "Next";
var bzloc_siteusing2a = "fill in the form below and press ";
var bzloc_siteusing2 = bzloc_siteusing2a + bzloc_enter + ".";
var bzloc_thumb2a = " to add your thumbnail.";
var bzloc_thumb2 = bzloc_siteusing2a + bzloc_next + bzloc_thumb2a;
var bzloc_siteusing3 = "click here and fill in the form that pops up";
var bzloc_yourname = "Your name";
var bzloc_yoururl = "Your URL";
var bzloc_comment = "Please leave a comment after linking... Thank you!";
var bzloc_checkname = "Please enter your name.";
var bzloc_namelength = "The length of your name must be less than or equal to";
var bzloc_checkurl = "Please enter your link URL.";
var bzloc_urllength = "The length of your URL must be less than or equal to";
var bzloc_urlprefix = "Link URL must begin with 'http://'";
var bzloc_sharedmeme = "Shared Meme - Click to Subscribe";
var bzloc_clicktodisp = "Click here to display the links for this post";
var bzloc_upgrademult = "You may upgrade to display more than one Linky at a time";
var bzloc_owner = "Blog Owner";
var bzloc_export = "If you wish to export this list to HTML, click here";
var bzloc_disablemsg = "Click here to disable this message";
var bzloc_whatthis = "What is this?";
var bzloc_expiry = "Linky Widget expiration";
var bzloc_winner = "Winning entry";
var bzloc_caching = "Caching system in use... links may take a minute to post";
var bzloc_thumbnext = "Click here to add your thumbnail if the pop-up does not appear.";
var bzloc_cktool = "Click here for Mister Linky's name/URL cookie removal tool.";
var bzloc_nopopwin = "Unable to open the thumbnail popup window. Check your browser settings.";
var bzloc_maint = "Please read about the upcoming system maintenance";
var bzloc_bugcheck = "An internal error has occurred. Please report this at http://www.misterlinky.net/helpdesk/";
var bzloc_dashboard = "Dashboard";
var bzloc_clickdisp = "Click to display the links and settings for this widget";
var bzloc_policy = "Check to accept use/privacy policy (click to read)";
var bzloc_nopolicy = "You must accept the use/privacy policy to use this widget.\n\nClick the link below to read the policy and check the box to accept.\n\nThen press Enter again to add your link to the list.\n\nNOTE: If you like, you can click a button on the policy page\nto save a cookie and remember you've accepted the policy.";
blenza_ifr = null;
var blenza_newwin = 1;
function getIEVersion(){
var agent = navigator.userAgent;
var reg = /MSIE\s?(\d+)(?:\.(\d+))?/i;
var matches = agent.match(reg);
if (matches != null) {
return { major: matches[1], minor: matches[2] };
}
return { major: "-1", minor: "-1" };
}
var ie_version = getIEVersion();
var is_ie10 = ie_version.major == 10;
var is_ie9e = ie_version.major > 0 && ie_version.major <= 9;
if (!blenza_inited) {
var blenza_whoName = null;
var blenza_whoEmail = null;
var blenza_whoURL = null;
var blenza_user = null;
var blenza_xurl = null;
var blenza_showredx = true;
var blenza_color = null;
var blenza_thumbGetter = null;
var blenza_thumbExternal = null;
var blenza_thumbRoot = new Array();
var blenza_thumbApprove = null;
var blenza_border = "#000";
var blenza_gray = "#888";
var blenza_meme_unset = new Array();
var blenza_meme_id = new Array();
var blenza_meme_name = new Array();
var blenza_meme_text = new Array();
var blenza_meme_shared = new Array();
var blenza_nourl = new Array();
var blenza_hideurl = new Array();
var blenza_ord = 0;
var blenza_expiration = null;
var blenza_memelinks = true;
var blenza_winnerName = null;
var blenza_winnerUrl = null;
var blenza_bycol = 1;
var blenza_fliplinks = 0;
var blenza_alphasort = 0;
blenza_dynamic = false;
var metas = document.getElementsByTagName("meta");
for (var i = 0; i < metas.length; i++) {
if (metas[i].name == "blogger-template")
blenza_dynamic = metas[i].content == "dynamic";
}
}
var blenza_ntu = new Array();
function blenza_xhr()
{
if (window.XMLHttpRequest) return new XMLHttpRequest();
else if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP");
else return null;
}
function blenza_xml(text)
{
if (text.message != null) text = text.message;
var xml;
if (text.length >= 5 && text.substring(0, 5) == "request-error" + text + "";
return blenza_parse(xml);
}
function blenza_parse(xml)
{
var doc;
if (window.DOMParser) {
var p = new DOMParser();
doc = p.parseFromString(xml,"text/xml");
}
else {
doc = new ActiveXObject("Microsoft.XMLDOM");
doc.async = false;
doc.loadXML(xml);
}
return doc;
}
function blenza_send(url, data, postid, cb)
{
// hack: if it's IE9 or earlier, just do a get and be done with it
if (is_ie9e) {
var img = document.getElementById("status-" + postid);
if (img != null) {
var now = new Date().getTime();
img.src = url + "?" + data + "&iehack=true&ts=" + now;
}
cb(blenza_xml("success"));
return;
}
try {
var method = data ? "POST" : "GET";
var req = blenza_xhr();
req.open(method, url, true);
if ("withCredentials" in req) {
req.withCredentials = true;
}
if (method == "POST")
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
req.onreadystatechange = function() {
if (req.readyState !== 4) return;
if (req.status != 200) {
cb(blenza_xml("Unexpected request status " + req.status));
}
else if (req.responseXML != null) {
cb(req.responseXML);
}
else {
cb(blenza_xml(req.responseText));
}
};
req.send(data);
}
catch (e) {
msg = e.message;
if (msg == null || msg.length == 0) msg = "Unknown error";
cb(blenza_xml(msg));
}
}
function blenza_getValue(ele, name)
{
if (ele == null) return null;
var elems = ele.getElementsByTagName(name);
if (elems == null) return null;
var one = elems.item(0);
if (one == null || one.firstChild == null) return null;
if (one.firstChild.data != null) return one.firstChild.data;
else return null;
}
function blenza_checkStatus(ele)
{
if (ele == null) {
alert("Internal error - please submit a help desk ticket at misterlinky.net/helpdesk and include the reason: could not check status");
return false;
}
var sts = blenza_getValue(ele, "status");
if (sts == "success")
return true;
var err = blenza_getValue(ele, "error");
if (sts == "request-error")
msg = "An error occurred while processing the request:\n" + err + "\nPlease try your request again later";
else if (sts == "internal-error")
msg = "Internal error - please submit a help desk ticket at misterlinky.net/helpdesk and include the reason: " + err;
else if (err == "Duplicate entry")
msg = "That entry has already been added to the list";
else
msg = "Error: " + err;
alert(msg);
return false;
}
function blenza_doInsert(form, xurl, postid, cb)
{
var data = "";
for (i = 0; i < form.elements.length; i++) {
var ele = form.elements[i];
var name = ele.name;
if (name.length < 3 || name.substring(0,3) != "ml_") continue;
if (data.length > 0) data += "&";
data += name.substring(3) + "=";
var val;
if (ele.type == "checkbox") {
if (ele.checked) val = ele.value;
else val = "";
}
else val = ele.value;
data += escape(val);
}
blenza_send(xurl + "/entry_api.php", data, postid, cb);
}
function blenza_switcheroo(off, on)
{
var ele1 = blenza_elem(off);
ele1.style.display = "none";
var ele2 = blenza_elem(on);
ele2.style.display = "block";
}
function blenza_setNextone(pi, name, url)
{
var nx = blenza_elem("nextone-" + pi);
if (nx != null) {
nx.innerHTML = '' + name + '';
}
}
function blenza_reThumb(a, pi)
{
var form = document.getElementById("blenza_" + pi);
if (form == null) {
alert("Cannot locate form, please report internal error to Mister Linky");
return false;
}
form.action = blenza_xurl + "/thumbwin.php";
var name;
if (form.ml_name) name = form.ml_name.value;
else name = form.name.value;
if (! blenza_checkName(name)) return false;
var url;
if (form.ml_url) url = form.ml_url.value;
else url = form.url.value;
if (! blenza_checkUrl(pi, url)) return false;
a.href = blenza_xurl + "/thumbwin.php?owner=" + escape(form.ml_owner.value) + "&postid=" + escape(pi) + "&name=" + escape(name) + "&url=" + escape(url);
return true;
}
function blenza_policyCheck(id)
{
var chk = document.getElementById("policy" + id);
if (chk) chk.checked = true;
}
// new and improved!
function blenza_doEnter(form) // false on error
{
if (!form) return;
try {
var name = null;
if (form.ml_name && form.ml_name.value) name = form.ml_name.value;
var url = null;
if (form.ml_url && form.ml_url.value) url = form.ml_url.value;
var pi = form.ml_postid.value;
var xurl = form.ml_xurl.value;
if (! blenza_checkName(name)) return false;
if (pi == null || xurl == null) {
alert(bzloc_bugcheck);
return false;
}
if (!form.policy.checked) {
alert(bzloc_nopolicy);
return false;
}
if (! blenza_checkUrl(pi, url)) return false;
if (form.ml_src.value != "thumb") {
var cb = function(doc) {
if (! blenza_checkStatus(doc)) return;
blenza_setNextone(pi, name, url);
blenza_switcheroo("theform-" + pi, "theform2-" + pi);
}
blenza_doInsert(form, xurl, pi, cb);
}
else {
var popurl = blenza_xurl + "/thumbwin.php?owner=" + escape(form.ml_owner.value) + "&postid=" + escape(pi) + "&name=" + name + "&url=" + escape(url);
var popwin = window.open(popurl, "blenza_linkypop", "height=400,width=480,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
if (popwin == null) alert(bzloc_nopopwin);
}
}
catch (e) {
alert("Uncaught error: " + e.message + "\n" + e.stack);
}
return false;
}
function blenza_checkName(name)
{
if (name.length == 0) {
alert(bzloc_checkname);
return false;
}
if (name.length > blenza_opt_namemax) {
alert(bzloc_namelength + " " + blenza_opt_namemax);
return false;
}
return true;
}
function bz_starts(str, pre)
{ return (str.substring(0, pre.length) == pre); }
function blenza_checkUrl(pi, url)
{
if (blenza_nourl[pi] > 0) return true;
if (url.length == 0) {
alert(bzloc_checkurl);
return false;
}
if (url.length > blenza_opt_linkmax) {
alert(bzloc_urllength + " " + blenza_opt_linkmax);
return false;
}
if (!bz_starts(url, "http://") && !bz_starts(url, "https://")) {
alert(bzloc_urlprefix);
return false;
}
if (url == "http://www.") {
alert(bzloc_checkurl);
return false;
}
return true;
}
function blenza_elem(id)
{
return document.getElementById(id);
}
function blenza_display(xurl, owner, pi)
{
var popwin = window.open(xurl + "/display.php?owner=" + owner + "&postid=" + pi, "blenza_linkypop", "height=360,width=400,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
if (popwin != null) {
return;
}
}
function blenza_getthumb(owner, pi, secret)
{
var popurl = blenza_thumbGetter + "getthumb.php?owner=" + owner + "&postid=" + pi + "&secret=" + secret + "&init=true";
var popwin = window.open(popurl, "blenza_linkypop", "height=400,width=480,top=100,left=100,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no");
if (popwin != null)
setTimeout(function(){ blenza_getthumb2(popwin, popurl); }, 3000);
}
function blenza_getthumb2(popwin, popurl)
{
try {
if (popwin == null) return;
if (popwin.innerHeight != null) return;
}
catch (err) {
return;
}
}
function blenza_setwho(n, e, u)
{
blenza_whoName = n;
blenza_whoEmail = e;
blenza_whoURL = u;
}
function blenza_setuser(v)
{
blenza_user = v;
}
function blenza_setredx(v)
{
blenza_showredx = v;
}
function blenza_setxurl(v)
{
blenza_xurl = v;
}
function blenza_setcolor(v)
{
blenza_color = v;
}
function blenza_setthumbs(pi, g, e, r, a)
{
blenza_thumbGetter = g;
blenza_thumbExternal = e;
blenza_thumbRoot[pi] = r;
blenza_thumbApprove = (a > 0);
}
function blenza_setmeme(pi, id, name, text, shared)
{
blenza_meme_unset[pi] = false;
blenza_meme_id[pi] = id;
blenza_meme_name[pi] = name;
blenza_meme_text[pi] = text;
blenza_meme_shared[pi] = shared;
}
function blenza_unsetmeme(pi)
{
blenza_meme_unset[pi] = true;
blenza_meme_id[pi] = null;
blenza_meme_name[pi] = null;
blenza_meme_text[pi] = null;
blenza_meme_shared[pi] = null;
}
function blenza_setYourUrl(pi, nourl, hideurl)
{
blenza_nourl[pi] = nourl;
blenza_hideurl[pi] = hideurl;
}
function blenza_setExpires(str)
{
blenza_expiration = str;
}
function blenza_setMemelinks(v)
{
blenza_memelinks = v;
}
function blenza_setWinner(name, url)
{
blenza_winnerName = name;
blenza_winnerUrl = url;
}
function blenza_setFliplinks(n)
{
blenza_fliplinks = n;
}
function blenza_setAlphasort(n)
{
blenza_alphasort = n;
}
function blenza_setBycol(n)
{
blenza_bycol = n;
}
function blenza_dispExpires()
{
if (blenza_expiration == null) return;
document.write("
" + bzloc_expiry + ": " + blenza_expiration + ".
");
if (blenza_winnerName == null) return;
document.write("' + afterComment + spanCktool);
if (is_ie9e) document.write('
');
if ((src != "easy") && (src != "thumb")) {
document.write("
" + bzloc_caching);
}
document.write('');
blenza_linkies_fini(src, owner, pi, secret, cols, data);
}
function blenza_linkies(src, owner, pi, secret, cols, data)
{
if (pi == "^Preview") data = previewData;
blenza_linkies_wrap1();
blenza_linkies_list(src, owner, pi, secret, cols, data);
if ((src == 'comm') || (src == 'disp')) return;
if (src == 'side')
blenza_linkies_side(src, owner, pi, secret, cols, data, "magic")
else
blenza_linkies_box(src, owner, pi, secret, cols, data, "magic")
blenza_linkies_wrap2();
}
var blenza_inited = true;
try {
blenza_setwho("","","");
blenza_setuser("");
blenza_setxurl("//www.blenza.com:443/linkies");
blenza_setthumbs("06Dec2013", "http://www.blenza.com/linkies/", "http://www.blenza.com/thumbs/", "p/pixiescraftyworkshop/MDZkZWMyMDEz", "1");
blenza_setcolor("default");
blenza_setExpires("6 years ago");
blenza_setAlphasort("0");
blenza_unsetmeme("06Dec2013");
blenza_linkies("thumb","pixiescraftyworkshop","06Dec2013","659112473",3,
[
// MDZkZWMyMDEz
["9658030","Brenda B","http://butlersabroad.wordpress.com/2013/12/07/christmas-cas/",null,1386462455],
["9658260","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/",null,1386477133],
["9658262","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/2013/12/poem-what-if-there-was-no-christmas.html",null,1386477179],
["9658607","Hazel ","http://craftyhazelnut.blogspot.co.uk/2013/12/the-glory-of-christmas-22-snow.html",null,1386495127],
["9658698","Sandra H","http://sandra-nanagramps.blogspot.co.uk/2013/12/it-will-go-in.html",null,1386499360],
["9659205","Carol L","http://ourlittleinspirations.blogspot.com/2013/12/thoughts-of-you.html",null,1386516591],
["9659278","Mary H.","http://carolinacardsbymaryh.blogspot.com/2013/12/silent-night-christmas.html",null,1386518689],
["9659427","Sue J ","http://olliesmam.blogspot.co.uk/2013/12/beary-merry-christmas.html",null,1386523008],
["9659651","kyla","http://lilpidgedesigns.blogspot.co.uk/2013/12/sympathy-snippets-card.html",null,1386585272],
["9659715","Jules","http://jules-alwayswithaheart.blogspot.co.uk/2013/12/sunday-snippets_8.html",null,1386534538],
["9659719","Sarah","http://sazzledazzlecrafts.blogspot.co.uk/2013/12/more-snowflakes.html",null,1386534670],
["9659927","Hettie","http://hettiecraftcz.blogspot.co.uk/2013/12/christmas-cards-iv-more-recycling.html",null,1386543795],
["9660306","Cornelia (fun stamping)","http://fun-stamping.blogspot.com/2013/12/back-home-and-card.html",null,1386559178],
["9660451","Greta H","http://ggnursecreations.blogspot.com/2013/12/modern-whimsy.html",null,1386566510],
["9660678","Amanda","http://pandaspaperplaytime.blogspot.co.uk/2013/12/crafting-for-christmas-number-5.html",null,1386575477],
["9661119","Bonnie","http://bon2stamp.blogspot.com/2013/12/merry-monday-mitten.html",null,1386594353],
["9661456","Darnell","http://www.djkardkreations.com/2013/12/merry-monday-87fd-c4c215-nbus-81-pbsc.html",null,1386603268],
["9661712","Mrs A. ","http://itsanalienlife.blogspot.co.uk/2013/12/3-french-hens.html",null,1386609338],
["9661826","Karen P","http://stampinginpink.blogspot.co.uk/2013/12/this-weeks-challenge-offering-along.html",null,1386612875],
["9661877","Lynn Hayes","http://creativecraftsbylynn.blogspot.com/2013/12/chugging-along.html",null,1386614462],
["9661910","Mary H.","http://carolinacardsbymaryh.blogspot.com/2013/12/jeweled-memory-box-tree-snippety-bits.html",null,1386615386],
["9661986","vic","http://handmadecardsbyvicki.blogspot.co.uk/2013/12/a-chubby-snowman-card.html",null,1386618018],
["9662106","Carol L","http://ourlittleinspirations.blogspot.com/2013/12/dynamic-duos-and-snippets.html",null,1386621904],
["9662188","Carol","http://justmeclm.blogspot.ca/2013/12/tag-im-it-tags-round-3-joycurtain-call.html",null,1386625907],
["9662329","Julie C","http://cherrywingscards.blogspot.co.uk/2013/12/snoozing-santa.html",null,1386634359],
["9663016","IRENE","http://alloccasionscards.blogspot.co.uk/2013/12/say-it-with-flowers.html",null,1386667245],
["9663172","S hudson ","http://craftyhugs.blogspot.co.uk/2013/12/fitztown-new-challenge-easel-card-dt.html?m=1",null,1386673234],
["9663890","Sue J ","http://olliesmam.blogspot.co.uk/2013/12/big-huggles.html",null,1386688162],
["9663921","Mary H.","http://carolinacardsbymaryh.blogspot.com/2013/12/gold-silver-baubles.html",null,1386688702],
["9664801","SARN","http://www.stampingforpleasure.blogspot.co.uk/2013/12/a-little-pillow-box.html",null,1386706064],
["9664898","Sandra H 2nd","http://sandra-nanagramps.blogspot.co.uk/2013/12/for-special-person.html",null,1386707825],
["9664919","AJ","http://ajcreativeenergy.blogspot.com/2013/12/pink-fairy.html",null,1386708186],
["9665004","Maudieroff","http://roffeycreations.blogspot.com.au/2013/12/bw-s-congrats.html",null,1386710375],
["9665832","Greta H","http://ggnursecreations.blogspot.com/2013/12/seasons-greetings.html",null,1386735134],
["9666196","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/2013/12/woyww-flowers-mother-in-law-tongue.html",null,1386745970],
["9666810","Viv","http://vivsvisuals.blogspot.co.uk/2013/12/guest-designer.html",null,1386767155],
["9667775","AJ","http://ajcreativeenergy.blogspot.com/2013/12/christmas-puppy.html",null,1386787963],
["9667827","Karen P","http://stampinginpink.blogspot.co.uk/2013/12/a-pretty-in-pink-christmas-bauble.html",null,1386789979],
["9667877","Mrs A. ","http://itsanalienlife.blogspot.co.uk/2013/12/4-calling-birds-and-5-rings.html",null,1386791184],
["9667976","Sue J ","http://olliesmam.blogspot.co.uk/2013/12/neighbourly-dragon.html",null,1386793701],
["9668048","Annie","http://craftworkblog.blogspot.co.uk/2013/12/more-last-minute-christmas-cards.html",null,1387016026],
["9668086","AJ","http://ajcreativeenergy.blogspot.com/2013/12/blue-santa.html",null,1386799166],
["9668274","Sandra H 3rd","http://sandra-nanagramps.blogspot.co.uk/2013/12/the-lady-in-red-or-is-it-orange.html",null,1386808073],
["9669047","IRENE","http://alloccasionscards.blogspot.co.uk/2013/12/tas-dahhhhhhhhhhhhhhhh.html",null,1386839201],
["9669797","Karen P","http://stampinginpink.blogspot.co.uk/2013/12/oh-joy-another-christmas-card.html",null,1386865440],
["9670322","Jenny Lawrence.","http://cardsarus.blogspot.co.uk/2013/12/baby-boy-card-and-box.html",null,1386880496],
["9670406","Mags B","http://maggiescardage.blogspot.co.uk/2013/12/hello.html",null,1386883616],
["9670468","Loll Thompson","http://www.stampingwithloll.com/2013/12/merry-christmas-special-friends.html",null,1386885903],
["9670490","Jean","http://wwwmycraftycornerblog.blogspot.co.uk/2013/12/fantasy-butterfly.html",null,1386887353],
["9670536","Sally H","http://sal-utations.blogspot.co.uk/2013/12/snippet-christmas-cards.html",null,1386889782],
["9671663","kanda","http://kandacreativemoments.blogspot.co.uk/2013/12/how-old.html",null,1386946599],
["9671703","Carol L","http://ourlittleinspirations.blogspot.com/2013/12/love-pocket-pals.html",null,1386947799],
["9672018","Amanda","http://pandaspaperplaytime.blogspot.co.uk/2013/12/crafting-for-christmas-number-6.html",null,1386958277],
["9672555","Pat (Version 2)","http://colourfulcardcreations.blogspot.co.uk/2013/12/chocolate-baroque-snowflake-outline.html ",null,1386978986],
["9672876","Scrappymo!","http://scrapsoflifebyscrappymo.blogspot.ca/2013/12/the-last-of-my-falling-into-fall-cards.html",null,1387006421],
[-2, null, null, null]
]);
blenza_dispExpires();
}
catch (blenza_error) {
}