/*
 main code to be triggered from within home page
*/

var domain = 'http://www.brotherscider.co.uk/';
var agecheck = 'age-check.php';

if (getCookie('agecookie') == 'imover18') {
    // no action required
} else {
    // do validation stuff
    location.assign(domain + agecheck);
}
