var i;
function loadImageSet(i) {
if (document.images)  {
 this.name = i;
 this.onImage = new Image();
 this.onImage.src = 'imgs/l-' + i + '-on.gif';
 this.offImage = new Image();
 this.offImage.src = 'imgs/l-' + i + '-off.gif';
 this.pickedImage = new Image();
 this.pickedImage.src = 'imgs/l-' + i + '-on.gif';
	}
}

var pick = -1;
var imageSets = new Array();

function doClick(i) {
if (document.images) {
 if (pick != -1) {
   self.document.images[imageSets[pick].name].src = imageSets[pick].offImage.src;
 }
 pick = i;
 self.document.images[imageSets[pick].name].src = imageSets[pick].pickedImage.src;
	}
}

function doMouseOver(i) {
 if (document.images) {
 if (i != pick) {
  self.document.images[imageSets[i].name].src = imageSets[i].onImage.src;
  }
 }
}

function doMouseOut(i) {
 if (document.images) {
 if (i != pick) {
  self.document.images[imageSets[i].name].src = imageSets[i].offImage.src;
  }
 }
}

// MAIN NAVIGATION BAR
imageSets[0] = new loadImageSet('about');
imageSets[1] = new loadImageSet('products');
imageSets[2] = new loadImageSet('services');
imageSets[3] = new loadImageSet('clients');
imageSets[4] = new loadImageSet('brokers');
imageSets[5] = new loadImageSet('newsletter');
imageSets[6] = new loadImageSet('contact');
imageSets[7] = new loadImageSet('homep');
imageSets[8] = new loadImageSet('biba');
imageSets[9] = new loadImageSet('news');

var days = new Array(8);
days[1] = "Sun";
days[2] = "Mon";
days[3] = "Tue";
days[4] = "Wed";
days[5] = "Thu";
days[6] = "Fri";
days[7] = "Sat";

var months = new Array();
months[1] = "Jan";
months[2] = "Feb";
months[3] = "Mar";
months[4] = "Apr";
months[5] = "May";
months[6] = "Jun";
months[7] = "Jul";
months[8] = "Aug";
months[9] = "Sep";
months[10] = "Oct";
months[11] = "Nov";
months[12] = "Dec";

var thisday, thisyear, thismonth, thisdate;

thisdate = new Date();
thisday = days[thisdate.getDay() + 1];
thisyear = thisdate.getFullYear();
todaydate = thisdate.getDate();
thismonth = months[thisdate.getMonth() + 1];

var ms = navigator.appVersion.indexOf("MSIE")
var ie5 = (parseInt(navigator.appVersion.substring(ms+5)) >= 5) ? true : false;
var isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;


document.write("<link REL='STYLESHEET' TYPE='text/css' HREF='remotes/styles-pc.css'>");


function printwin() {
if (isMac) {
if(ie5) {
alert("This function does not work with your browser\nplease use your usual method for printing");
} else {
self.window.print();
}
} else {
self.window.print();
}
}



