// JavaScript Document
function allout(){
history.go();
	}
function buildersOver(){
document.getElementById('buildersdetail').style.display='inline';
document.getElementById('builders1').style.display='inline';
document.getElementById('builders2').style.display='inline';
document.getElementById('builders3').style.display='inline';
if((count==0)){
	
		hotelOUT();
	}
if((count!=8))
{
	
		clubOUT();
}
	if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
	{
	  residentailOUT();}
}
function buildersOUT(){
document.getElementById('buildersdetail').style.display='none';
}
function clubOver(){
document.getElementById('club1').style.display='inline';
	if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
	{
	  residentailOUT();}
	if(count!=6)
	{ 
	  officeOUT();
	}
	if(count!=7)
	{
	  retailOUT();
	}
	if(count==0){
		buildersOUT();
		hotelOUT();
	}
	
}
function clubOUT(){
	if((count!=8))
{
document.getElementById('club1').style.display='none';
}
}
function hotelOver(){
document.getElementById('hotel1').style.display='inline';
	if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
	{
	  residentailOUT();}
	if(count!=6)
	{ 
	  officeOUT();
	}
	if(count!=7)
	{
	  retailOUT();
	}
	if((count==0)&&(count!=8)){
		buildersOUT();
			clubOUT();
	}
	
}

function hotelOUT(){
document.getElementById('hotel1').style.display='none';
}




function residentailOver(){
document.getElementById('residentialdetail').style.display='inline';
document.getElementById('residential1').style.display='inline';
document.getElementById('residential2').style.display='inline';
if((count!=8))
{
	
	clubOUT();
}
if((count!=9))
{
	
	hotelOUT();
}
	if((count==0))
{

	
	officeOUT();
	retailOUT();
}
if((count!=6))
{
	officeOUT();

}
}
function residentailOUT(){
document.getElementById('residentialdetail').style.display='none';
if((count!=6))
{
	officeOUT();

}
if((count!=7))
{
	retailOUT();
}

}

function officeOver(){

if((count!=8))
{
	
	clubOUT();
}
if((count!=9))
{
	
	hotelOUT();
}
if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5)&&(count!=7)&&(count!=0))
{
	residentailOUT();
	
}
if((count!=7))    
{

	retailOUT();
}
if((count==0))
{

	
	residentailOUT();
}
document.getElementById('officedetail').style.display='inline';
document.getElementById('office1').style.display='inline';
document.getElementById('office2').style.display='inline';
}

function completed(){
	if((count!=6))
{
	officeOUT();

}
}


function officeOUT(){
document.getElementById('officedetail').style.display='none';

}

function retailOver(){



if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
{
	residentailOUT();
	
}
if((count!=6))
{
	
	officeOUT();
}
if((count!=8))
{
	
	clubOUT();
}
if((count!=9))
{
	
	hotelOUT();
}
if((count==0))
{
    
	officeOUT();
	residentailOUT();
}
document.getElementById('retaildetail').style.display='inline';
document.getElementById('retail1').style.display='inline';
}
function retailOUT(){
document.getElementById('retaildetail').style.display='none';
}
/*************/
function ongong(){
document.getElementById('Ongoingdetail').style.display='inline';
document.getElementById('suncity').style.display='inline';
document.getElementById('avenue').style.display='inline';
document.getElementById('county').style.display='inline';
document.getElementById('nancy').style.display='inline';
if((count!=8))
{
	
	clubOUT();
}
if((count!=9))
{
	
	hotelOUT();
}
}
function ongongOUT(){
document.getElementById('Ongoingdetail').style.display='none';
}
/**************/

function sundetails(){
document.getElementById('suncitydetail').style.display='inline';
}

function avenuedetails(){
document.getElementById('avenuedetail').style.display='inline';
}
function countydetails(){
document.getElementById('countydetail').style.display='inline';
}
/***********/

function higllight(x,a,b,c,d){

document.getElementById(a).style.display='inline';
document.getElementById(b).style.display='inline';
document.getElementById(c).style.display='inline';
document.getElementById(d).style.display='inline';
document.getElementById(x).className="menulinksBOLD";
if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
	{
	  residentailOUT();}
	if(count!=6)
	{ 
	  officeOUT();
	}
	if(count!=7)
	{
	  retailOUT();
	}
	if((count==0)&&(count!=8)){
		buildersOUT();
			clubOUT();
	}
}


function out(){
if((count!=1)&&(count!=2)&&(count!=3)&&(count!=4)&&(count!=5))
 {
	residentailOUT();
	
 }
if(count!=6)
{
	
	officeOUT();
}
if(count!=8)
 {
	clubOUT();
 }
if(count!=9)
{
		hotelOUT();
}
if(count==0)
{
  officeOUT();
	residentailOUT();
	buildersOUT();
}

}
function offongong(){
document.getElementById('offdetails').style.display='inline';
document.getElementById('estate').style.display='inline';
document.getElementById('majestic').style.display='inline';

}
function offongongOUT(){
document.getElementById('offongoingDetails').style.display='none';
}
function toplinks(){
	//document.getElementById('one').style.display='none';
	//document.getElementById('two').style.display='none';
}