SettingsVersion = 9.07;
SettingsDate    = "13-Jan-2010";
function loadSettings () {
/* --------------------- ajaxWDwx.js Setup File -------------------------------*\
|  Uncomment those you need to change. All values are set to their defaults.    |
|  You only need to keep those you have changed. The rest can be deleted.       |
|  See how I've done it here: http://www.bashewa.com/ajaxWDwx-settings-bws.js   |
|  Read notes in ajaxWDwx.js                                                    |
\* ----------------------------------------------------------------------------*/
wxStation.problemNr= 0; // select problem from below
wxStation.problemMsg[0] = 'No problems';
wxStation.problemMsg[1] = '<b style="color:red">Note: our station is currently out of order.</b><br />We hope to have it up and running by next week.<br />';
wxStation.problemMsg[2] = '<b style="color:red">Note: our anemometer is currently frozen.</b><br />Wind speed and direction may be affected.<br />';
wxStation.problemMsg[3] = '<b style="color:red">Note: our UV meter is currently out of order.</b><br />We hope to have it fixed in due cause.<br />';
wxStation.problemMsg[4] = '<b style="color:red">...your msg here...</b><br />...your msg here...<br />';
//wxStation.stopUpdates = false;
//wxStation.showAlert   = false;
//wxStation.useTag      = "ajaxindicator"; // or "ajaxProblems"
// -----------------------------------------------------------------------------

useUOM  = 'M';
showUOM = true;
clientrawFile = './clientraw.txt';
MultilingualSystem = true; // if false activates translation below

update.reloadTime  = 5000;
update.maxupdates  = 180;
update.showRefresh = true;

flash.color = '#00CC00';
flash.red   = '#FF0000';
flash.time  = 2000;


imgDir = './ajax-images/';


// Do not delete words between the #'s below eg. #PIC# etc.

wxIcon.src    = imgDir+"icon/2/#PIC#.gif";
wxIcon.width  = 75;
wxIcon.height = 60;
wxIcon.useName= 2; // 0=Anole ,1=NWS, 2=Bashewa, 9=Dynamic
//wxIcon.hspace = 0;
//wxIcon.vspace = 0;
//wxIcon.border = 0;
//wxIcon.style  = "";
//wxIcon.align  = "";
//wxIcon.useTag = "ajaxconditionicon2";


wrImg.src     = imgDir+"wind/2/wr-#DIR#.gif";
wrImg.width   = 80;
wrImg.height  = 80;
//wrImg.hspace  = 0;
//wrImg.vspace  = 0;
//wrImg.border  = 0;
//wrImg.style   = "";
//wrImg.align   = "";
//wrImg.lang    = "nl";     // #LANG# eg. 'nl' i.e. initial icon set
//wrImg.calm    = "calm"; // #DIR#
wrImg.xlate   = false;   // translate wind direction for icon names (multilingual system)
wrImg.useTag  = "ajaxwindiconwr";


fireImg.src   = imgDir+"fire/7/fire-#IMGNR#.jpg";
fireImg.width = 60;
fireImg.height= 65;
//fireImg.hspace= 0;
//fireImg.vspace= 0;
//fireImg.border= 0;
//fireImg.style = "border: 2px solid silver;";
//fireImg.align = "";
fireImg.imgNrs[0]= "0"; // #IMGNR#
fireImg.imgNrs[1]="1";
fireImg.imgNrs[2]="2";
fireImg.imgNrs[3]="3";
fireImg.imgNrs[4]="4";
//fireImg.useTag   = "ajaxfireimg";


thermometerImg.src   = "./thermometer.php";
thermometerImg.width = 54;
thermometerImg.height= 170;
//thermometerImg.hspace = 0;
//thermometerImg.vspace = 0;
//thermometerImg.border = 0;
//thermometerImg.style  = "";
//thermometerImg.align  = "";
//thermometerImg.useTag = "ajaxthermometer";


cloudImg.src    = "./cloud-base.php";
cloudImg.width  = 100;
cloudImg.height = 200
//cloudImg.hspace = 0;
//cloudImg.vspace = 0;
//cloudImg.border = 0;
//cloudImg.style  = "border: 2px solid silver;";
//cloudImg.align  = "";
//cloudImg.stationAlt = 0;
//cloudImg.useTag = "ajaxcloudheightimg";


uvImg.src     = imgDir+"uv/1/uv#INDEX#.gif";
uvImg.width   = 34;
uvImg.height  = 65;
//uvImg.hspace  = 0;
//uvImg.vspace  = 0;
//uvImg.border  = 0;
//uvImg.style   = "";
//uvImg.align   = "";
//uvImg.useTag  = "ajaxuvimg";


moonImg.src   = imgDir+"moon/#BG#/#NS#-moon#AGE#.gif";
moonImg.bg    = "w"; // #BG# = [ w | b ]
moonImg.width = 50;
moonImg.height= 50;
//moonImg.hspace= 0;
//moonImg.vspace= 0;
//moonImg.border= 0;
//moonImg.style = "";
//moonImg.align = "";
//moonImg.useTag= "ajaxmoonimg";


webcamImg.src   = imgDir+"webcam/snap00.jpg";
webcamImg.srcNgt= imgDir+"webcam/snap00.jpg";
webcamImg.width = 170;
webcamImg.height= 127;
//webcamImg.hspace= 0;
//webcamImg.vspace= 0;
//webcamImg.border= 0;
//webcamImg.style = "border: 2px solid silver;";
//webcamImg.align = "";
//webcamImg.webcamUpdate = 5;
//webcamImg.swapIconWithWebcam = false;
//webcamImg.useCamAtNight = false;
//webcamImg.delayDayNight = 15;
//webcamImg.useTag  = "ajaxwebcamimg";


// ENGLISh UOM ---------------
//imperialUOM.Temp = '&deg;F';
//imperialUOM.Wind = 'mph';
//imperialUOM.Baro = 'inHg';
//imperialUOM.Rain = 'in';
//imperialUOM.Snow = 'in';
//imperialUOM.Alti = 'ft';
//imperialUOM.Dist = 'miles';
//imperialUOM.Deg  = '&deg;';
imperialUOM.dateFmt = "Y-m-d";
imperialUOM.timeFmt = "H:i:s";
imperialUOM.timeHM  = "H:i";

// English decimal places
//imperialDP.Temp = 1;
//imperialDP.Wind = 1;
//imperialDP.Baro = 2;
//imperialDP.Rain = 2;
//imperialDP.Snow = 2;
//imperialDP.Alti = 0;
//imperialDP.Dist = 2;
//imperialDP.UV   = 0;


// METRIC UOM --------------
//metricUOM.Temp = '&deg;C';
//metricUOM.Wind = 'kph';
//metricUOM.Baro = 'hPa';
//metricUOM.Rain = 'mm';
//metricUOM.Snow = 'cm';
//metricUOM.Alti = 'm';
//metricUOM.Dist = 'km';
//metricUOM.Deg  = '&deg;';
metricUOM.dateFmt = "Y-m-d";
//metricUOM.timeFmt = "H:i:s";
//metricUOM.timeHM  = "H:i";

// Metric decimal places
//metricDP.Temp = 1;
//metricDP.Wind = 1;
//metricDP.Baro = 0;
//metricDP.Rain = 1;
//metricDP.Snow = 0;
//metricDP.Alti = 0;
//metricDP.Dist = 2;
//metricDP.UV   = 0;



//------------------------------------------------------------------------------

// -----------------------------------------------------------------------------
}; // end of loadSettings function
gotSettings = true; // must be deleted and must stay true for implementation of above settings


