i = 1;

function do_positioning(){
	var tbl_left = 0;
	var obj = document.getElementById('headtbl');
	while (obj.offsetParent) {
          tbl_left += obj.offsetLeft
          obj = obj.offsetParent;
        }
//	alert(tbl_left);
//	document.all.subtours.style.left = tbl_left + 180;
	document.getElementById('subtours').style.left = tbl_left + 180+'px';
//	alert('tours: '+document.getElementById('subtours').style.left);
	if(navigator.appName == "Microsoft Internet Explorer"){
    document.getElementById('subtours').style.top = '84px';
  } else {
  	document.getElementById('subtours').style.top = '76px';
  }
  
  document.getElementById('subspint').style.left = tbl_left + 274 +'px';
  if(navigator.appName == "Microsoft Internet Explorer"){
		document.getElementById('subspint').style.top = '84px';	
	} else {
		document.getElementById('subspint').style.top = '76px';	
	}
}
function on0(){
//	document.all.menu_home.color=#CC0000;
}

function on1() {
	document.getElementById('subabout').style.visibility="visible";
}
                
function on2() {
	document.getElementById('subtours').style.visibility="visible";
}

function on3() {
	document.getElementById('subspint').style.visibility="visible";
}

function on4(){
	document.getElementById('subserv').style.visibility="visible";
}


function out0(){
//	document.all.menu_home.color=#EBEBEB;
}

function out1() {
	document.getElementById('subabout').style.visibility="hidden";
}

function out2() {
	document.getElementById('subtours').style.visibility="hidden";
}
                 
function out3() {
	document.getElementById('subspint').style.visibility="hidden";
}
                 
function out4(){
	document.getElementById('subserv').style.visibility="hidden";
}

function PopUp(page,width,height)
{
		window.open(page, "_blank", 
		"width=" + width + 
		",height=" + height + 
		",left=" + (screen.width-width)/2 + 
		",top=" + (screen.height-height)/2);
}

function head_img_click(){
	document.getElementById('head_img').src="images/head"+i+"_760_120.jpg";
	if(i==16) i=1
	else i++;
}

