Nyhedsbrev

#mc_embed_signup{background:#fefefe; clear:left; font:14px Helvetica,Arial,sans-serif; max-width: 600px; margin: 0 auto;}

#mc_embed_signup .mc-field-group input {
border-radius: 0;
}

#mc_embed_signup .mc-field-group input:focus {
border: 1px solid #1f1f1f;
}

#mc_embed_signup .mc-field-group.input-group ul li {
display: inline-block;
margin: 0.3em;
}

#mc_embed_signup .button {
width: 200px;
font-size: 1em;
text-transform: uppercase;
color: white;
border-color: transparent;
border-radius: 0px;
border-style: none;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
background-color: #000066;
margin: 0 auto;
font-weight: 700;
}

#mc_embed_signup .button:hover,
#mc_embed_signup .button:focus {
background-color: #000055;
color: white;
}

.centered {
margin: 0 auto;
}

*
Profiler

Klub nyhedsbrev

(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[1]=’FNAME’;ftypes[1]=’text’;fnames[2]=’LNAME’;ftypes[2]=’text’; /*
* Translated default messages for the $ validation plugin.
* Locale: DA
*/
$.extend($.validator.messages, {
required: “Dette felt er påkrævet.”,
maxlength: $.validator.format(“Indtast højst {0} tegn.”),
minlength: $.validator.format(“Indtast mindst {0} tegn.”),
rangelength: $.validator.format(“Indtast mindst {0} og højst {1} tegn.”),
email: “Indtast en gyldig email-adresse.”,
url: “Indtast en gyldig URL.”,
date: “Indtast en gyldig dato.”,
number: “Indtast et tal.”,
digits: “Indtast kun cifre.”,
equalTo: “Indtast den samme værdi igen.”,
range: $.validator.format(“Angiv en værdi mellem {0} og {1}.”),
max: $.validator.format(“Angiv en værdi der højst er {0}.”),
min: $.validator.format(“Angiv en værdi der mindst er {0}.”),
creditcard: “Indtast et gyldigt kreditkortnummer.”
});}(jQuery));var $mcj = jQuery.noConflict(true);

function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split(“&”);
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return pair[1];
}
}
return (false);
}

if (getQueryVariable("select")) {
var lbls = document.getElementsByTagName('label');
var x = getQueryVariable("select");
x = x.replace("%20", "");
x = x.replace("-", "");
for (var i = 0; i < lbls.length; i++) {
var y = lbls[i].innerHTML.toLowerCase().replace(" ", "");
if(y == x.toLowerCase()) {
document.getElementById(lbls[i].htmlFor).checked = true;
}
}
}