Serendipity Newsletter

google.load("jquery", "1.7.1");

$(document).ready(function(){
try {
$(':input:visible:first').focus();
$('#archive-list li:even').addClass("odd");
$('.field-group, .field-group input, .field-group select').bind('click',function(event){
if (event.type == 'click') {
if ($(this).hasClass('field-group')){
var fg = $(this);
if($(this).children('.datefield').length == 1){
// Do not select 1st input so date picker will work.
} else {
$(this).find('input, select').slice(0,1).focus();
}
} else {
var fg = $(this).parents('.field-group');
$(this).focus();
}
fg.not('.focused-field').addClass('focused-field').children('.field-help').slideDown('fast');
$('.focused-field').not(fg).removeClass('focused-field').children('.field-help').slideUp('fast');
}
event.stopPropagation();
});
$('label').bind('click',function(event){
if (event.type == 'click') {
var fg = $(this).next();

if(fg.children('.datefield').length == 1){
// Do not select 1st input so date picker will work.
} else {
fg.find('input, select').slice(0,1).focus();
}
fg.not('.focused-field').addClass('focused-field').children('.field-help').slideDown('fast');
$('.focused-field').not(fg).removeClass('focused-field').children('.field-help').slideUp('fast');
}
event.stopPropagation();
});
// Allow select inputs to be width:auto up to 500px (because max-width doesn't work in IE7)
$("select").each(function(){
$(this).css("width", "auto");
if($(this).width() > 500){
$(this).css("width", "500px");
}
});

} catch(e){ console.log(e); }
});

$(document).ready(function(){
try {
var domains =['hotmail.co.uk','yahoo.co.uk','yahoo.com.tw','yahoo.com.au','yahoo.com.mx','gmail.com','hotmail.com','yahoo.com','aol.com','comcast.net','msn.com','seznam.cz','sbcglobal.net','live.com','bellsouth.net','hotmail.fr','verizon.net','mail.ru','btinternet.com','cox.net','yahoo.com.br','bigpond.com','att.net','yahoo.fr','mac.com','ymail.com','googlemail.com','earthlink.net','xtra.co.nz','me.com','yahoo.gr','walla.com','yahoo.es','charter.net','shaw.ca','live.nl','yahoo.ca','orange.fr','optonline.net','gmx.de','wanadoo.fr','optusnet.com.au','rogers.com','web.de','ntlworld.com','juno.com','yahoo.com.sg','rocketmail.com','yandex.ru','yahoo.co.in','centrum.cz','live.co.uk','sympatico.ca','libero.it','walla.co.il','bigpond.net.au','yahoo.com.hk','ig.com.br','live.com.au','free.fr','sky.com','uol.com.br','abv.bg','live.fr','terra.com.br','hotmail.it','tiscali.co.uk','rediffmail.com','aim.com','blueyonder.co.uk','telus.net','bol.com.br','hotmail.es','email.cz','windowslive.com','talktalk.net','home.nl','t-online.de','yahoo.de','telenet.be','163.com','embarqmail.com','windstream.net','roadrunner.com','bluewin.ch','skynet.be','laposte.net','yahoo.it','qq.com','live.dk','planet.nl','hetnet.nl','gmx.net','mindspring.com','rambler.ru','iinet.net.au','eircom.net','yahoo.com.ar','wp.pl','mail.com'];
var tdomains = [];
$('#MERGE0').on('blur', function() {
$(this).mailcheck({
domains: domains,
topLevelDomains: tdomains,
suggested: function(element, suggestion) {
var msg = 'Hmm, did you mean '+suggestion.full+'?';
if ( $('#MERGE0_mailcheck').length > 0 ){
$('#MERGE0_mailcheck').html(msg);
} else {
element.after('<div id="MERGE0_mailcheck" class="errorText">'+msg+'</div>');
}
},
empty: function(element) {
if ( $('#MERGE0_mailcheck').length > 0 ){
$('#MERGE0_mailcheck').remove();
}
return;
}
});
});
} catch(e){ console.log(e); }
});

Use this form to subscribe to our newsletter and stay up-to-date with all of our serendipitous happenings and receive special website discount codes.

* indicates required

Email Address *
First Name
Last Name


Email Marketing Powered by MailChimp

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));


try {
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "UA-329148-88"]);
_gaq.push(["_setDomainName", ".list-manage.com"]);
_gaq.push(["_trackPageview"]);
_gaq.push(["_setAllowLinker", true]);
} catch(err) {console.log(err);}