var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
	var loc=""
	if (document.body&&document.body.innerHTML){
		var tt = document.body.innerHTML.toLowerCase();
		var last = tt.indexOf("blueeye.js\"");
		if (last>0){
			var first = tt.lastIndexOf("\"", last);
			if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
		}
	}
}

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
document.write("<td><img src=\""+loc+"blueeye_top.gif\" alt=\"\" width=\"202\" height=\"21\"></td>");
tr(false);
writeButton(loc+"../","index.htm","blueeye_b1",202,22,"Home / Enquiries","",0);
writeButton(loc+"../","bankaccount.htm","blueeye_b2",202,22,"UK Poor Credit Bank Accounts","",0);
writeButton(loc+"../","creditcard.htm","blueeye_b3",202,22,"UK Poor History Credit Cards","",0);
writeButton(loc+"../","prepaid.htm","blueeye_b4",202,22,"UK Prepaid Debit Cards 1","",0);
writeButton(loc+"../","prepaid2.htm","blueeye_b5",202,22,"UK Prepaid Debit Cards 2","",0);
writeButton(loc+"../","prepaidenquiryform.htm","blueeye_b6",202,22,"Company Prepaid Debit Cards","",0);
writeButton(loc+"../","business.htm","blueeye_b7",202,22,"UK Poor Credit Business Accounts","",0);
writeButton(loc+"../","savings.htm","blueeye_b8",202,22,"UK Basic Savings Accounts 1","",0);
writeButton(loc+"../","savings2.htm","blueeye_b9",202,22,"UK Basic Savings Accounts 2","",0);
writeButton(loc+"../","loan.htm","blueeye_b10",202,22,"UK Poor Credit Loans/Mortgages","",0);
writeButton(loc+"../","secured.htm","blueeye_b11",202,22,"UK Secured Credit Cards","",0);
writeButton(loc+"../","offshore.htm","blueeye_b12",202,22,"Offshore Bank Accounts","",0);
writeButton(loc+"../","usprepaidsecured.htm","blueeye_b13",202,22,"US ONLY Prepaid/Secured Cards","",0);
writeButton(loc+"../","ebook.htm","blueeye_b14",202,22,"Free UK Credit Secrets eBook","",0);
writeButton(loc+"../","repair.htm","blueeye_b15",202,22,"Free UK Credit Repair Manual","",0);
writeButton(loc+"../","creditfile.htm","blueeye_b16",202,22,"New UK Credit File eBook","",0);
writeButton(loc+"../","faq.htm","blueeye_b17",202,22,"FAQ / Terms & Conditions","",0);
writeButton(loc+"../","bonus.htm","blueeye_b18",202,22,"Free eBook Downloads / Articles","",0);
writeButton(loc+"../","links.htm","blueeye_b19",202,22,"Useful Resources","",0);
writeButton(loc+"../","order.htm","blueeye_b20",202,22,"ORDER FORM","",0);
writeButton(loc+"../","updates.htm","blueeye_b21",202,22,"Paid Information Updates","",0);
tr(true);
document.write("<td><img src=\""+loc+"blueeye_bottom.gif\" alt=\"\" width=\"202\" height=\"61\"></td>");
document.write("</tr></table>")
loc="";

function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}

function turn_over(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_over"].src;
	}
}

function turn_off(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_off"].src;
	}
}

function reg(gname,name)
{
if (document.images)
	{
	document[name+"_off"] = new Image();
	document[name+"_off"].src = loc+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc+gname+"_over"+gtype;
	}
}

function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}

function writeButton(urld, url, name, w, h, alt, target, hsp)
{
	gname = name;
	while(typeof(document[name])!="undefined") name += "x";
	reg(gname, name);
	tr(true);
	document.write("<td>");
	if (alt != "") alt = " alt=\"" + alt + "\"";
	if (target != "") target = " target=\"" + target + "\"";
	if (w > 0) w = " width=\""+w+"\""; else w = "";
	if (h > 0) h = " height=\""+h+"\""; else h = "";	
	if (url != "") url = " href=\"" + urld + url + "\"";
	
	document.write("<a " + url + evs(name) + target + ">");	
	
	if (hsp == -1) hsp =" align=\"right\"";
	else if (hsp > 0) hsp = " hspace=\""+hsp+"\"";
	else hsp = "";
	
	document.write("<img src=\""+loc+gname+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=\"0\" /></a></td>");
	tr(false);
}
