//JS Document
if ( document.images ){
  homes_on = new Image ( );
  homes_off = new Image ( );
  page_on = new Image ( );
  page_off = new Image ( );
  plots_on = new Image ( );
  plots_off = new Image ( );
  guide_on = new Image ( );
  guide_off = new Image ( );
  bodrum_on = new Image ( );
  bodrum_off = new Image ( );
  contact_on = new Image ( );
  contact_off = new Image ( );
  credentials_on = new Image ( );
  credentials_off = new Image ( );
  homes_on.src = "/grafik/menu/homes.gif";
  homes_off.src = "/grafik/menu/homeso.gif";
  page_on.src = "/grafik/menu/page.gif";
  page_off.src = "/grafik/menu/pageo.gif";
  plots_on.src = "/grafik/menu/plots.gif";
  plots_off.src = "/grafik/menu/plotso.gif";
  guide_on.src = "/grafik/menu/guide.gif";
  guide_off.src = "/grafik/menu/guideo.gif";
  bodrum_on.src = "/grafik/menu/bodrum.gif";
  bodrum_off.src = "/grafik/menu/bodrumo.gif";
  credentials_on.src = "/grafik/menu/credentials.gif";
  credentials_off.src = "/grafik/menu/credentialso.gif";
  contact_on.src = "/grafik/menu/contact.gif";
  contact_off.src = "/grafik/menu/contacto.gif";
}

function button_on ( imgName )
{
  if ( document.images )
  {
    butOn = eval ( imgName + "_on.src" );
    document[imgName].src = butOn;
  }
}

function button_off ( imgName )
{
  if ( document.images )
  {
    butOff = eval ( imgName + "_off.src" );
    document[imgName].src = butOff;
  }
}
function openeflyer(page)
{
window.open(page,'eflyer', 'width=800, height=600, menubar=yes, scrollbars=yes');
}
function ackapat(obje) {
	var elkapa = document.getElementById(obje);
	if ( elkapa.style.display != "none" ) {
		elkapa.style.display = 'none';
	}
	else {
		elkapa.style.display = '';
	}
}
function formclick(hangi,eskikelime) {
	var eski= eskikelime;
	if (hangi.value.length == 0) {
		hangi.value = eski;
	}
}
function go(form)
{
	destination = form.options[form.selectedIndex].value;
	if (destination) window.open(form.options[form.selectedIndex].value,'_top');
}