//-- Simple Timezone Location for UK+EU / ROW
//-- Copyright 2010 Network Theory Ltd

//-- This program is free software: you can redistribute it and/or modify
//-- it under the terms of the GNU General Public License as published by
//-- the Free Software Foundation, either version 3 of the License, or
//-- (at your option) any later version.

function set_uk_option (element, k) {
    var tzo=new Date();
    var off=tzo.getTimezoneOffset()/60;
    //-- GMT/BST and nearby timezones, set values for UK
    if (off == 0 || off == -1 || (off >= -3 && off <= 3)) {
        element.dest.selectedIndex = k;  
        element.s.value = 1;
    }
}

