/*
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);

if(window.opener)
{
openwin=window.opener.document.URL;
}
else
{
openwin="";
}
if (openwin=="http://www.geocities.com/oldyahoositeid/")
{
document.cookie="patitapabana"
}
else
{
window.location.href="naverror.html";
}*/
//********popup help**********//
function showpop(name,tran,msg)
{
document.getElementById(name).style.left=document.body.scrollLeft+event.clientX-event.offsetX+96
document.getElementById(name).style.top=document.body.scrollTop+event.clientY-event.offsetY+7
document.getElementById(name).filters.revealTrans.transition=tran;
document.getElementById(name).filters.revealTrans.apply()
divtext.innerHTML=msg;
document.getElementById(name).filters.revealTrans.play()
document.getElementById(name).style.visibility="visible"
}

function hidepop(name)
{
document.getElementById(name).filters.revealTrans.stop()
document.getElementById(name).style.visibility="hidden"
}

//*****Mouse Trail Message*************//

/*
var x,y
var move=20
var flag=0

var message="Hope You Enjoy This Site! "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i++) 
{
	xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i++) 
{
	ypos[i]=-50
}

function Pagehandle(p)
{
	x = (document.layers) ? p.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? p.pageY : document.body.scrollTop+event.clientY
	flag=1
}

function startscroll() 
{
	if (flag==1 && document.all) 
	{
    	for (i=message.length-1; i>=1; i--) 
	{
   			xpos[i]=xpos[i-1]+move
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+move
		ypos[0]=y
	
		for (i=0; i<message.length-1; i++) 
	{
    		var tempspan = eval("span"+(i)+".style")
    		tempspan.posLeft=xpos[i]
			tempspan.posTop=ypos[i]
    	}
	}
	
	else if (flag==1 && document.layers) 
	{
    	for (i=message.length-1; i>=1; i--) 
	{
   			xpos[i]=xpos[i-1]+move
			ypos[i]=ypos[i-1]
    	}
		xpos[0]=x+move
		ypos[0]=y
	
		for (i=0; i<message.length-1; i++) 
	{
    		var tempspan = eval("document.span"+i)
    		tempspan.left=xpos[i]
			tempspan.top=ypos[i]
    	}
	}
		var mytimer=setTimeout("startscroll()",30)
}

*/

//*****Image Shaker*************//

/*
var move1=3
var sit=0 
var a=1

function initial(which)
{
sit=0
shake=which
shake.style.left=0
shake.style.top=0
}

function startshaking()
{
if ((!document.all&&!document.getElementById)||sit==1)
return
if (a==1)
{
shake.style.top=parseInt(shake.style.top)+move1
}
else if (a==2)
{
shake.style.left=parseInt(shake.style.left)+move1
}
else if (a==3)
{
shake.style.top=parseInt(shake.style.top)-move1
}
else
{
shake.style.left=parseInt(shake.style.left)-move1
}
if (a<4)
a++
else
a=1
var mytimer1=setTimeout("startshaking()",30)
}*/

/*function stopshaking(which)
{
sit=1
which.style.left=0
which.style.top=0
}*/


//*****Status Bar Banner*************//


/*var race = 100
var stoptime = 1000 
var t = null
var runningb = false
var ar = new Array()
ar[0] = "Welcome to Puri...The Holy City Of Lord Jagannath"
ar[1] = "We hope you enjoy this Site"
ar[2] = "This Site Provides Complete Information About Puri"
ar[3] = "Don't forget to Visit our other sites"
var curmessage = 0
var offset = 0
function haltbanner() 
{

	if (runningb)
		clearTimeout(t)
	runningb = false
}

function beginbanner() 
{
	haltbanner()
	viewbanner()

}
function viewbanner() 
{
	var text = ar[curmessage]
	if (offset < text.length) 
	{
		if (text.charAt(offset) == " ")
		offset++			
		var tempmessage = text.substring(0, offset + 1) 
		window.status = tempmessage
		offset++ 
		t = setTimeout("viewbanner()", race)
		runningb = true
	} 
	else 
	{
		offset = 0
		curmessage++
		if (curmessage == ar.length)
			curmessage = 0
		t = setTimeout("viewbanner()", stoptime)
		runningb = true
	}

}*/

/*************Fade Transition**************/

/*var bf=1;
var cf=true;

function fadeimage1()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


fjaga.filters.alpha.opacity=0 + bf;
st1=setTimeout("fadeimage1()",5);
}

function ctime1()
{
clearTimeout(st1)
fjaga.filters.alpha.opacity=100;
}


function fadeimage2()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


fkonark.filters.alpha.opacity=0 + bf;
st2=setTimeout("fadeimage2()",5);
}

function ctime2()
{
clearTimeout(st2)
fkonark.filters.alpha.opacity=100;
}




function fadeimage3()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


ftemple.filters.alpha.opacity=0 + bf;
st3=setTimeout("fadeimage3()",5);
}

function ctime3()
{
clearTimeout(st3)
ftemple.filters.alpha.opacity=100;
}




function fadeimage4()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


fcar.filters.alpha.opacity=0 + bf;
st4=setTimeout("fadeimage4()",5);
}

function ctime4()
{
clearTimeout(st4)
fcar.filters.alpha.opacity=100;
}



function fadeimage5()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


fchilika.filters.alpha.opacity=0 + bf;
st5=setTimeout("fadeimage5()",5);
}

function ctime5()
{
clearTimeout(st5)
fchilika.filters.alpha.opacity=100;
}




function fadeimage6()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


fwave.filters.alpha.opacity=0 + bf;
st6=setTimeout("fadeimage6()",5);
}

function ctime6()
{
clearTimeout(st6)
fwave.filters.alpha.opacity=100;
}



function fadeimage7()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


jagavesha.filters.alpha.opacity=0 + bf;
st7=setTimeout("fadeimage7()",5);
}

function ctime7()
{
clearTimeout(st7)
jagavesha.filters.alpha.opacity=100;
}



function fadeimage8()
{
if(document.all);
if(cf==true)
{
bf++;
}
if(bf==100)
{
bf--;
cf=false;
}
if(bf==10)
{
bf++;
cf=true;
}
if(cf==false)
{
bf--;
}


applique.filters.alpha.opacity=0 + bf;
st8=setTimeout("fadeimage8()",5);
}

function ctime8()
{
clearTimeout(st8)
applique.filters.alpha.opacity=100;
}*/
