// JavaScript Document
function mover(cellname) {
    if (document.layers)
        window.document.layers[cellname].bgColor = "#EEEEEE";
    else if (document.all)
        window.document.all[cellname].style.background = "#EEEEEE";
}

function mout(cellname) {
    if (document.layers)
        window.document.layers[cellname].bgColor = "#DDDDDD";
    else if (document.all)
        window.document.all[cellname].style.background = "#DDDDDD";
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		home_over = newImage("images/home_over.gif");
		services_over = newImage("images/services_over.gif");
		process_over = newImage("images/process_over.gif");
		community_over = newImage("images/community_over.gif");
		clients_over = newImage("images/clients_over.gif");
		about_us_over = newImage("images/about_us_over.gif");
		contact_us_over = newImage("images/contact_us_over.gif");
		preloadFlag = true;
	}
}
function load(file,target) {
    if (target != ''){
        target.window.location.href = file;
		target.focus();
		self.close();
		}
    else
        window.location.href = file;
}
