var loc=stringA=location.href.toLowerCase()
var strhref=""
var strlocation="http://www.ncoffice.com/edu/"
var pos=stringA.indexOf(strlocation)
var len=strlocation.length
if (pos>=0){
	stringA=stringA.substring(pos+len,stringA.length);
	while (stringA.indexOf("/")>=0){
		pos=stringA.indexOf("/")
		strhref=strhref+"../"
		stringA=stringA.substring(pos+1,stringA.length);
	}
}

links = new Array();
links[0] = "index.asp";
links[1] = "gsjj.asp";
links[2] = "jyfw.asp";
links[3] = "second1.asp?type=2";
links[4] = "second1.asp?type=4";


document.writeln('<table width="90%" border="0" cellspacing="0" cellpadding="0">');
document.writeln('<tr>');
for (x=0; x<links.length; x++) {
  document.writeln('<td>');
  if (loc.indexOf(links[x]) > -1) {
    document.writeln('<img src="'+ strhref + 'images/dh' + x + '_f2.gif" >');
  } else {
    document.writeln('<A HREF="'+ strhref + links[x] + '" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'dh' + x + '\',\'\',\''+ strhref + 'images/dh' + x + '_f2.gif\',0);"><img name="dh' + x + '" src="'+ strhref + 'images/dh' + x + '.gif" border="0"></a>');
  }
    document.writeln('</td>');
  }
document.writeln('</tr>');
document.writeln('</table>');