
if (iens6){
var countryDivObj=document.getElementById? document.getElementById("contentCountry") : document.all.contentCountry
var cityDivObj=document.getElementById? document.getElementById("contentCity") : document.all.contentCity
var photogDivObj=document.getElementById? document.getElementById("contentPhotog") : document.all.contentPhotog
var contentheight=countryDivObj.offsetHeight
var cityheight=cityDivObj.offsetHeight
var photogheight=photogDivObj.offsetHeight
}
else if (ns4){
var countryDivObj=document.nscontainerCountry.document.nscontentCountry
var contentheight=countryDivObj.clip.height
var cityDivObj=document.nscontainerCity.document.nscontentCity
var cityheight=cityDivObj.clip.height
var photogDivObj=document.nscontainerPhotog.document.nscontentPhotog
var photogheight=photogDivObj.clip.height
}

function movedown(){
if (iens6&&parseInt(countryDivObj.style.top)>=(contentheight*(-1)+100))
countryDivObj.style.top=parseInt(countryDivObj.style.top)-speed+"px"
else if (ns4&&countryDivObj.top>=(contentheight*(-1)+100))
countryDivObj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){ 
if (iens6&&parseInt(countryDivObj.style.top)<=0)
countryDivObj.style.top=parseInt(countryDivObj.style.top)+speed+"px"
else if (ns4&&countryDivObj.top<=0)
countryDivObj.top+=speed
moveupvar=setTimeout("moveup()",20)

}

function moveToTop()
{
	if (iens6){
		countryDivObj.style.top = 0;
	}
	else if (ns4){
		countryDivObj.top+=0;
	}
	
}

function getcontent_height()
{ 
	if (iens6)
	{
		contentheight=countryDivObj.offsetHeight

		if(countryDivObj.offsetHeight > 518)
			document.getElementById('countryArrows').style.display = "block";
		else
			document.getElementById('countryArrows').style.display = "none";				
	}
	else if (ns4)
	{
		document.nscontainerX.document.nscontentX.visibility="show"
	}
}

function moveCitydown()
{
	if (iens6&&parseInt(cityDivObj.style.top)>=(cityheight*(-1)+100))
		cityDivObj.style.top=parseInt(cityDivObj.style.top)-speed+"px";
	else if (ns4&&cityDivObj.top>=(cityheight*(-1)+100))
		cityDivObj.top-=speed;
		moveCitydownvar=setTimeout("moveCitydown()",20);
}

function moveCityup()
{ 
	if (iens6&&parseInt(cityDivObj.style.top)<=0)
		cityDivObj.style.top=parseInt(cityDivObj.style.top)+speed+"px";
	else if (ns4&&cityDivObj.top<=0)
		cityDivObj.top+=speed;
		moveCityupvar=setTimeout("moveCityup()",20);

}

function moveCityToTop()
{
	if (iens6){
		cityDivObj.style.top = 0;
	}
	else if (ns4){
		cityDivObj.top+=0;
	}
	
}

function getCitycontent_height()
{ 
	if (iens6)
	{
		cityheight=cityDivObj.offsetHeight
		
		if(cityDivObj.offsetHeight > 518)
			document.getElementById('cityArrows').style.display = "block";
		else
			document.getElementById('cityArrows').style.display = "none";				
	}
	else if (ns4)
	{
		document.nscontainerCity.document.nscontentCity.visibility="show"
	}
}

function movePhotogdown()
{
	if (iens6&&parseInt(photogDivObj.style.top)>=(photogheight*(-1)+100))
		photogDivObj.style.top=parseInt(photogDivObj.style.top)-speed+"px";
	else if (ns4&&photogDivObj.top>=(photogheight*(-1)+100))
		photogDivObj.top-=speed;
		movePhotogdownvar=setTimeout("movePhotogdown()",20);
}

function movePhotogup()
{ 
	if (iens6&&parseInt(photogDivObj.style.top)<=0)
		photogDivObj.style.top=parseInt(photogDivObj.style.top)+speed+"px";
	else if (ns4&&photogDivObj.top<=0)
		photogDivObj.top+=speed;
		movePhotogupvar=setTimeout("movePhotogup()",20);

}

function movePhotogToTop()
{
	if (iens6){
		photogDivObj.style.top = 0;
	}
	else if (ns4){
		photogDivObj.top+=0;
	}
	
}

function getPhotogcontent_height()
{ 
	if (iens6)
	{
		photogheight=photogDivObj.offsetHeight

		if(photogDivObj.offsetHeight > 518)
			document.getElementById('photogArrows').style.display = "block";
		else
			document.getElementById('photogArrows').style.display = "none";	
		
	}
	else if (ns4)
	{
		document.nscontainerPhotog.document.nscontentPhotog.visibility="show"
	}
}
