//var lctn1 =  "\/north_east\/"
//var lctn= "\/north_east\/northeastfiles\/"
//var lctn1= "http:\/\/192.168.0.1:81\/";
//var lctn = "http:\/\/192.168.0.1:81\/northeastfiles\/";

var lctn = "http:\/\/www.neportal.org\/northeastfiles\/"
var lctn1 = "http:\/\/www.neportal.org\/"

//var lctn = "http:\/\/www.nelocal.com\/northeastfiles\/"
//var lctn1 = "http:\/\/www.nelocal.com\/"
function home(){
location.href= lctn1 + "default.asp";
}
function about(){
location.href=lctn +"misc/aboutus.asp";
}
function feedback(){
location.href=lctn +"misc/feedback1.asp";
}
function contact(){
location.href=lctn +"misc/contact.asp";
}
function biblio(){
location.href=lctn +"misc/biblio.asp";
}
function nemain(){
location.href=lctn +"northeast/index.asp";
}
function latest_f(){
location.href=lctn +"misc/latest.asp";
}
var newY;

var intervalID;
var flag=0;


function down()
{
	if(document.bigmap.complete)
	{
		
if (flag==1)
	{
	clearInterval(b);
	flag=0
	}
if(document.all)
{
test2.style.visibility="visible";	
test.style.visibility="visible";
test1.style.visibility="visible";
mapt.style.visibility="hidden";
}
else{
document.getElementById("test2").style.visibility ="visible";	
document.getElementById("test").style.visibility ="visible";
document.getElementById("test1").style.visibility ="visible";
document.getElementById("mapt").style.visibility ="hidden";
}

a=setInterval("downer()",50);

	}
		else
	{
			alert("Download is incomplete. Refresh Your Page.");
				}
}
function downer()
{
if(document.all)
{
ht=parseInt(test.style.height);
ht1=parseInt(test1.style.top);
//alert(ht1)
}
else
{
ht=parseInt(document.getElementById("test").style.height);
ht1=parseInt(document.getElementById("test1").style.top);
}
if (ht<376)
{

ht=ht+4;
ht1=ht1+4;
if(document.all)
{
test1.style.top=ht1;
test.style.height=ht;
}
else
{
document.getElementById("test").style.height=ht + "px";
document.getElementById("test1").style.top=ht1 + "px";
}
}
else
	{
if(document.all)
crosser.style.visibility="visible";
else
document.getElementById("crosser").style.visibility="visible";
clearInterval(a);
	}
}

function up()
{
if(document.all)
crosser.style.visibility="hidden";
else
document.getElementById("crosser").style.visibility="hidden";
flag=1
clearInterval(a)
b=setInterval("upper()",50);
}
function upper()
{
if(document.all)
{
ht2=parseInt(test.style.height);
ht3=parseInt(test1.style.top);

}
else
{
ht2=parseInt(document.getElementById("test").style.height);
ht3=parseInt(document.getElementById("test1").style.top);
}
if (ht2>10)
{
	ht2=ht2-4;
	ht3=ht3-4;
	if(document.all)
	{
		test1.style.top=ht3;
		test.style.height=ht2;
	}
	else
	{
		document.getElementById("test").style.height=ht2 + "px";
		document.getElementById("test1").style.top=ht3 + "px";
	}
}
else
{
if(document.all)
	{
test.style.visibility="hidden";
test1.style.visibility="hidden";
test2.style.visibility="hidden";
mapt.style.visibility="visible";
	}else{
document.getElementById("test").style.visibility ="hidden";
document.getElementById("test1").style.visibility ="hidden";
document.getElementById("test2").style.visibility ="hidden";
document.getElementById("mapt").style.visibility ="visible";
}
clearInterval(b);
}
}
