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("28Jun2014", "http://www.blenza.com/linkies/", "http://www.blenza.com/thumbs/", "p/pixiescraftyworkshop/MjhqdW4yMDE0", "1");
blenza_setcolor("default");
blenza_setExpires("5.5 years ago");
blenza_setAlphasort("0");
blenza_unsetmeme("28Jun2014");
blenza_linkies("thumb","pixiescraftyworkshop","28Jun2014","890487667",3,
[
// MjhqdW4yMDE0
["10045319","Carol L","http://ourlittleinspirations.blogspot.com/2014/06/blended-bloom_28.html",null,1404007864],
["10045438","scrappymo! ","http://scrapsoflifebyscrappymo.blogspot.ca/2014/06/christmas-card-club-angels-stash-card-34.html",null,1404020003],
["10045726","Sarah","http://sazzledazzlecrafts.blogspot.co.uk/2014/06/snippets-colours-and-sketches.html",null,1404040615],
["10045732","Sarn","http://stampingforpleasure.blogspot.co.uk/2014/06/snippets-week-131.html",null,1404041325],
["10045796","Carol L (2)","http://ourlittleinspirations.blogspot.com/2014/06/for-maddy.html",null,1404044070],
["10045915","Sally H","http://sal-utations.blogspot.co.uk/2014/06/rudolf-day-for-june-with-snippets.html",null,1404049724],
["10045943","Sue J ","http://olliesmam.blogspot.co.uk/2014/06/sweet-summer-fairy.html",null,1404050674],
["10046177","Debs Willis","http://debwillisdesigns.blogspot.co.uk/2014/06/bbq-and-christmas.html",null,1404061370],
["10046193","Sandy J","http://stampingwriter.blogspot.com/2014/06/glittery-christmas.html",null,1404061913],
["10046236","Sue J","http://olliesmam.blogspot.co.uk/2014/06/angels-christmas-club-challenge.html",null,1404064784],
["10046520","Jules","http://jules-alwayswithaheart.blogspot.co.uk/2014/06/just-in-time-for-sunday-snippets.html",null,1404082005],
["10046750","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/",null,1404104453],
["10046753","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/2014/06/christmas-snippety-challenge-and.html",null,1404104585],
["10046843","scrappymo!","http://scrapsoflifebyscrappymo.blogspot.ca/2014/06/june-rudolph-day-cards-35-and-36.html",null,1404112211],
["10046846","Kathyk","http://purpliciousprincessdiaries.blogspot.co.uk/2014/06/monday-and-start-of-another-week.html",null,1404112709],
["10046852","Aquarius","http://aquarius-aquariusblog.blogspot.co.uk/2014/06/pixies-snippets-challenge-131.html",null,1404113526],
["10047049","kanda","http://kandacreativemoments.blogspot.co.uk/2014/06/house-mouse-anything-goes-christmas.html",null,1404128829],
["10047088","Hettie","http://hettiecraftcz.blogspot.co.uk/2014/06/happy-daddys-day.html",null,1404131086],
["10047150","meg","http://bitsandpiecec.blogspot.co.uk/2014/06/thank-you.html",null,1404134025],
["10047340","Sue J 3","http://olliesmam.blogspot.co.uk/2014/06/crafty-monday.html",null,1404140926],
["10047526","Jenny Lawrence.","http://cardsarus.blogspot.co.uk/2014/06/wedding-card-and-box.html",null,1404148424],
["10047940","Karen","http://stampinginpink.blogspot.co.uk/2014/06/a-final-june-sketchy.html",null,1404168373],
["10048359","Sarah-J W","http://mallowscrafts.blogspot.co.uk/2014/07/decoupage-revisited.html",null,1404202145],
["10048377","Sparkling Pink","http://sparklingpinktitta.blogspot.it/2014/07/crafts-galore-encore-challenge-blog.html",null,1404203393],
["10048413","Sandra H","http://sandra-nanagramps.blogspot.co.uk/2014/07/its-winter-scene-from-me.html",null,1404205279],
["10048664","Brenda B","http://butlersabroad.wordpress.com/2014/07/01/sparkles-christmas-challenge-a-winters-scene/",null,1404218750],
["10049034","aNNie","http://thejourneyisthestart.blogspot.com.au/2014/07/oh-lilly.html#comment-form",null,1404226961],
["10049340","Maarit","http://violetscorner.blogspot.se/2014/07/try-your-wings.html",null,1404236292],
["10049602","Kath","http://myplainandsimple.blogspot.co.uk/2014/07/bloomin-fabulous-midway-reminder.html",null,1404244958],
["10050378","Shaz in Oz.x","http://calligraphycards-shazinoz.blogspot.com.au/2014/07/woyww-bugaboo-white-emboss-resist-card.html",null,1404279493],
["10050533","scrappymo!","http://scrapsoflifebyscrappymo.blogspot.ca/2014/07/under-sea.html",null,1404286554],
["10051592","Cara","http://creativechaosbycara.blogspot.com/2014/07/masculine-birthday.html",null,1404320444],
["10051601","Carol L","http://ourlittleinspirations.blogspot.com/2014/07/america-land-of-free.html",null,1404320542],
["10052326","Mary H.","http://carolinacardsbymaryh.blogspot.com/2014/07/miscellaneous-project-happy-birthday.html",null,1404352455],
["10052486","Cathy R","http://cathyscardspot.blogspot.com.au/2014/07/recycled-perfume-box.html",null,1404366813],
["10052549","Amanda","http://pandaspaperplaytime.blogspot.co.uk/2014/07/rocky-balboa.html",null,1404372082],
["10052690","Carol L","http://ourlittleinspirations.blogspot.com/2014/07/a-little-something.html",null,1404384084],
["10052766","Hettie","http://hettiecraftcz.blogspot.co.uk/2014/07/something-i-made-earlier.html",null,1404389844],
["10053337","Jean","http://wwwmycraftycornerblog.blogspot.co.uk/2014/07/something-bit-different.html",null,1404416030],
["10053625","Cornelia (fun stamping)","http://fun-stamping.blogspot.com/2014/07/paper-smooches-combined-with-aaa-cards.html",null,1404441467],
["10053627","Cornelia (fun stamping)","http://fun-stamping.blogspot.com/2014/07/the-cutting-edge.html",null,1404441510],
["10053628","Cornelia (fun stamping)","http://fun-stamping.blogspot.com/2014/06/dream-valley-challenge-85.html",null,1404441553],
["10053919","Sandra H","http://sandra-nanagramps.blogspot.co.uk/2014/07/thinking-of-you.html",null,1404465966],
["10053966","IRENE","http://alloccasionscards.blogspot.co.uk/2014/07/happy-happy-happy.html",null,1404469743],
["10054146","Caroline - KISS","http://kiss-keepitsweetsimple.blogspot.co.uk/2014/07/yay-youre-preggers.html",null,1404477665],
["10054444","Mary H.","http://carolinacardsbymaryh.blogspot.com/2014/07/happy-birthday-our-darnell.html",null,1404491338],
["10054576","Bonnie","http://bon2stamp.blogspot.com/2014/07/happy-birthday-america.html",null,1404497740],
["10054677","Karen #2","http://stampinginpink.blogspot.co.uk/2014/07/lavinia-stamps.html",null,1404504846],
["10055004","Hazel","http://craftyhazelnut.blogspot.co.uk/2014/07/chnc-challenge-184-make-your-mark.html",null,1404550799],
["10055005","Hazel","http://craftyhazelnut.blogspot.co.uk/2014/07/completely-christmas-challenge-19.html",null,1404550857],
[-2, null, null, null]
]);
blenza_dispExpires();
}
catch (blenza_error) {
}