<!--
function checkHeight(){
	var masterTable = document.getElementById("masterTable");
	var mh = masterTable.clientHeight;
	var rightcol = document.getElementById("rightcol");
	var leftcol = document.getElementById("leftcol");
	rightcol.style.height = mh;
	leftcol.style.height = mh;
}


function openwindow(page,width,height){
	var temp = window.open(page,"","width="+width+",height="+height+",resizable=no,scrollbars=yes");
}

function over(the_button){
	var the_code = "document."+the_button+".src="+the_button+"on.src";
	eval(the_code);
}

function notover(the_button){
	var the_code = "document."+the_button+".src="+the_button+"off.src";
	eval(the_code);
}

function jump(the_page){
	window.location="index.php?page="+the_page;
}

function jump2sub(the_page,the_sub){
	window.location="index.php?page="+the_page+"&sub="+the_sub;
}

function jump2item(the_page,the_sub,the_item){
	window.location="index.php?page="+the_page+"&sub="+the_sub+"&item="+the_item;
}

var key_pages=['products','services','projects','about','news'];
function SetPageButton(the_section){
	for (page in key_pages) {
		if (the_section == key_pages[page]){
			var the_code;
			the_code = the_section+"off.src="+the_section+"on.src";
			eval(the_code);
			over(the_section);
			return
		}
	}
}

var subscribeon=new Image();subscribeon.src='graphics/buttons/subscribe_over.jpg';
var subscribeoff=new Image();subscribeoff.src='graphics/buttons/subscribe.jpg';

// mid menu
var productson=new Image();productson.src='graphics/menu/products_over.jpg';
var productsoff=new Image();productsoff.src='graphics/menu/products.jpg';
var serviceson=new Image();serviceson.src='graphics/menu/services_over.jpg';
var servicesoff=new Image();servicesoff.src='graphics/menu/services.jpg';
var projectson=new Image();projectson.src='graphics/menu/projects_over.jpg';
var projectsoff=new Image();projectsoff.src='graphics/menu/projects.jpg';
var abouton=new Image();abouton.src='graphics/menu/about_over.jpg';
var aboutoff=new Image();aboutoff.src='graphics/menu/about.jpg';
var newson=new Image();newson.src='graphics/menu/news_over.jpg';
var newsoff=new Image();newsoff.src='graphics/menu/news.jpg';
// -->