var loc=stringA=location.href.toLowerCase()
var strhref=""
var strlocation=window.location.host
//var strlocation="http://www.shanghaifleetguard.com/test/"
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] = "gsjs/";
links[1] = "zxdt/";
links[2] = "cp/";
links[3] = "fwzc/";
links[4] = "lxwm/";
links[5] = "index5.htm";
links[6] = "index6.htm";
links[7] = "zpxx/zpxx.htm";

images = new Array();
images[0] = "gsjs.gif";
images[1] = "zxdt.gif";
images[2] = "cp.gif";
images[3] = "fwzc.gif";
images[4] = "lxwm.gif";
images[5] = "banner5.jpg";
images[6] = "banner6.jpg";
images[7] = "zpxx.gif";

document.writeln('<table border="0" cellspacing="0" cellpadding="0">');
document.writeln('<tr>');
for (x=0; x<links.length; x++)
  {
  if (loc.indexOf(links[x]) > -1)
  {
  document.writeln('<td><img src="'+ strhref + 'images/'+ images[x] +'"></td>');
  }
  else
  {
  }
  }
document.writeln('</tr>');
document.writeln('</table>');