var sitems=new Array()
var sitemlinks=new Array()

//extend or shorten this list
sitems[0]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Return Home</font>"
sitems[1]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Music</font>"
sitems[2]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Computer</font>"
sitems[3]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">About China</font>"
sitems[4]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Remind Me</font>"
sitems[5]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Search My Site</font>"
sitems[6]="<font face=verdana size=-1 style=\"color:blue;background:lightyellow\">Around the World</font>"
sitems[7]="<hr>"
sitems[8]="<font face=verdana size=-2 style=\"color:blue;background:lightyellow\"><I>Hardy Software&copy;</I></font>"


//These are the links pertaining to the above text.
sitemlinks[0]="http://hardywang.1accesshost.com/"
sitemlinks[1]="http://hardywang.1accesshost.com/music/index.htm"
sitemlinks[2]="http://hardywang.1accesshost.com/computer/index.htm"
sitemlinks[3]="http://hardywang.1accesshost.com/china/index.htm"
sitemlinks[4]="http://hardywang.1accesshost.com/remind/index.htm"
sitemlinks[5]="http://hardywang.1accesshost.com/search/index.htm"
sitemlinks[6]="http://hardywang.1accesshost.com/world/index.htm"
sitemlinks[7]=""
sitemlinks[8]="http://hardywang.1accesshost.com/"

for (i=0;i<=sitems.length-1;i++)
	document.write('<a href='+sitemlinks[i]+'>'+sitems[i]+'</a><br>')

function regenerate(){
	window.location.reload()
}

function regenerate2(){
	if (document.layers)
		setTimeout("window.onresize=regenerate",400)
}

window.onload=regenerate2
if (document.all){
	document.write('</div>')
	themenu=document.all.slidemenubar2.style
	rightboundary=0
	leftboundary=-150
}
else{
	themenu=document.layers.slidemenubar
	rightboundary=150
	leftboundary=10
}

function pull(){
	if (window.drawit)
	clearInterval(drawit)
	pullit=setInterval("pullengine()",50)
}

function draw(){
	clearInterval(pullit)
	drawit=setInterval("drawengine()",50)
}

function pullengine(){
	if (document.all&&themenu.pixelLeft<rightboundary)
		themenu.pixelLeft+=5
	else if(document.layers&&themenu.left<rightboundary)
		themenu.left+=5
	else if (window.pullit)
		clearInterval(pullit)
}

function drawengine(){
	if (document.all&&themenu.pixelLeft>leftboundary)
		themenu.pixelLeft-=5
	else if(document.layers&&themenu.left>leftboundary)
		themenu.left-=5
	else if (window.drawit)
		clearInterval(drawit)
}
