/*--------------Holdlink()---------------*/
function holdlink(id){
	document.getElementById(id).className='current';
}
/*--------------Holdlink()---------------*/

/*-----------Home page flash functions-------------*/
function flashFuncEnter()
{
	open('indexMain.htm');	
	/*window.location='indexMain.htm';*/
}
function flashFuncPortfolio()
{
	window.location='portfolio.htm';	
}
function flashFuncGreen()
{
	window.location='green.htm';	
}
function flashFuncContactus()
{
	window.location='contactus.htm';	
}
/*-----------Home page flash functions-------------*/

/*--------------------------popup() ----------------------------*/
function proposal()
{

	var NewWin3;
	NewWin3=window.open("proposal.htm",'NewWin1','height=375,width=420,top=10,left=150,location=no,status=no,toolbar=no,menubar=no,scrollbars=no');
	NewWin3.focus();
}
/*--------------------------popup() ----------------------------*/

/*------------include function---------------------*/
function include_file(id, url) {
	
  var req = false;
  // For Safari, Firefox, and other non-MS browsers
  if (window.XMLHttpRequest) {
    try {
      req = new XMLHttpRequest();
    } catch (e) {
      req = false;
    }
  } else if (window.ActiveXObject) {
    // For Internet Explorer on Windows
    try {
      req = new ActiveXObject("Msxml2.XMLHTTP");
    } catch (e) {
      try {
        req = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e) {
        req = false;
      }
    }
  }
 var element = document.getElementById(id);
  if (req) {
    // Synchronous request, wait till we have it all
	req.open('GET', url, false);
    req.send(null);
    element.innerHTML = req.responseText;
  } 
}
/*------------include function---------------------*/