// JavaScript Document 'js6dynamalt.js' 15th January 2007 UPDATED 29th December 2008//
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}function tpg0(){
MM_showHideLayers('tpg1','','hide','tpg2','','hide','tpg3','','hide','tpg0','','show');
}function tpg1(){
MM_showHideLayers('tpg1','','show','tpg2','','hide','tpg3','','hide','tpg0','','hide');
}function tpg2(){
MM_showHideLayers('tpg1','','hide','tpg2','','show','tpg3','','hide','tpg0','','hide');
}function tpg3(){
MM_showHideLayers('tpg1','','hide','tpg2','','hide','tpg3','','show','tpg0','','hide');
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
// TEXTUAL CONTENT AND UPDATES FROM HERE ON DISPLAY AT RUNTIME
function ShowIt(){
// UPDATED 29th December 2008
offer = " 1999-2009";
document.write(offer);
 }
function ShowU_Rate(){
// LATEST AVAILABLE INFORMATION 26th July 2005
offer = '<strong>' + " 6.9% typical APR fixed " + '</strong>';
document.write(offer);
 }
function ShowLoS_Rate(){
// LATEST AVAILABLE INFORMATION 26th July 2005
offer = '<strong>' + " 7.9% typical APR variable " + '</strong>';
document.write(offer);
 } 
function ShowRate()
{
 // Existing home owners borrow range 'ehobr', typical valuation fee 'ehotvf', min deposit 'ehomd', typical rate APR 'ehotrapr'
 // First time buyer borrow range 'ftbbr', typical valuation fee 'ftbtvf', min deposit 'ftbmd', typical rate APR 'ftbtrapr'
 // Base rate constant 'brc'
var ehobr=" - borrow from &pound; 25,500 to &pound; 1,000,000 ", ehotvf=" and is typically &pound; 195 ", ehomd=" 5% ", ehotrapr = " 8.0% APR "; 
var ftbbr=" - borrow from &pound; 25,500 to &pound; 400,000 ", ftbtvf=" and is typically &pound; 195 ", ftbmd=" 15% ", ftbtrapr = " 8.0% APR ";
var brc = " 5.25% ";
offer = ehobr;
document.write(offer);
 } 
 // Preamble stepped application instructions
 function ShowSteps(){
 var steppedData = '<p>' + " Step 1 - Prepare for success and work out how much you can afford and what your loan should cost in monthly and total cost payments. Use the spread sheet provided to calculate results and generic interest rate tables for probable loan repayments. " + '</p>' + 
  '<p>' + " Step 2 - Gather together the data and information needed to make a one off application using the checklist provided. Mortage and loan payments, CCJ's and Arrears or Defaults. Read the data protection and distance marketing information before deciding you would like to proceed. " + '</p>' +
  '<p>' + " Step 3 - Watch the screen to see if your application has arrived safely and follow the instructions of what to do next and what will happen next. " + '</p>'

// NEW Save your application as you go along if you want to be safe or come back later.

// NEW Validate your application before submitting the online form

// NEW Get an in principle decision when you have submitted the form
document.write(steppedData);
 }
// Writing navigation options 
function ShowNkt1(){ 
var nkt1 = '<a title="homepage" href="http://www.eazyloans.co.uk/index.html" onmouseout="d1()">' + "home" + '</a>' + " | " + 
	'<a title="about" href="http://www.eazyloans.co.uk/uk-loans-about-us.htm" onmouseout="d1()">' + "about" + '</a>' + " | " + 
	'<a title="apply" href="http://www.eazyloans.co.uk/loans/online_applications.htm" onmouseout="d1()">' + "apply" + '</a>' + " | " + 
	'<a title="contact" href="http://www.eazyloans.co.uk/uk-loans-contact-us.htm" onmouseout="d1()">' + "contact" + '</a>' + " | " + 
	'<a title="FAQ - Frequently Asked Questions" href="http://www.eazyloans.co.uk/faq.htm" onmouseout="d1()">' + "FAQ" + '</a>' + " | " + 
	'<a title="help" href="http://www.eazyloans.co.uk/help.htm" onmouseout="d1()">' + "help" + '</a>' + " | " + 
	'<a title="why" href="http://www.eazyloans.co.uk/uk-loans-why-eazyloans.htm" onmouseout="d1()">' + "why" + '</a>' + " | " + 
	'<a title="TOC - Table Of Contents" href="http://www.eazyloans.co.uk/toc.htm" onmouseout="d1()">' + "TOC" + '</a>' 
document.write(nkt1)
 } 
function ShowNkt2(){ 
var nkt2 = '<a title="secured loans" href="http://www.eazyloans.co.uk/loans/index.htm" onmouseout="d2()">' + "secured loans" + '</a>' + " | " +
	'<a title="bad credit" href="http://www.eazyloans.co.uk/bad-credit-loans.htm" onmouseout="d2()">' + "bad credit" + '</a>' + " | " +    
	'<a title="consolidation" href="http://www.eazyloans.co.uk/consolidation-loans.htm" onmouseout="d2()">' + "consolidation" + '</a>' + " | " +
    '<a title="interest rates" href="http://www.eazyloans.co.uk/uk-interest-variable-rates.html" onmouseout="d2()">' + "interest rates" + '</a>' + " | " +    
	'<a title="loan planner" href="http://www.eazyloans.co.uk/loan-planner.html" onmouseout="d2()">' + "loan planner" + '</a>'
document.write(nkt2)
 } 
function ShowNkt3(){ 
var nkt3 = '<a title="mortgages" href="http://www.eazyloans.co.uk/mortgage/index.htm" onmouseout="d3()">' + "mortgages" + '</a>' + " | " + 
	'<a title="mortgage rates" href="http://www.eazyloans.co.uk/uk-loans-mortgage-interest-rates.htm" onmouseout="d3()">' + "mortgage rates" + '</a>' + " | " + 
	'<a title="remortgage" href="http://www.eazyloans.co.uk/mortgage/remortgages.htm" onmouseout="d3()">' + "remortgage" + '</a>' + " | " + 
	'<a title="adverse credit mortgages" href="http://www.eazyloans.co.uk/adverse-credit-mortgage.htm" onmouseout="d3()">' + "adverse credit" + '</a>' + " | " + 
	'<a title="keyfacts mortgages" href="http://www.eazyloans.co.uk/mortgage/initial-disclosure-document.htm" onmouseout="d3()">' + "keyfacts" + '</a>'
document.write(nkt3)
 } 
function ShowNkt4(){ 
var nkt4 = '<a title="insurance" href="http://www.eazyloans.co.uk/insurance/index.htm" onmouseout="d4()">' + "insurance" + '</a>' + " | " +
	'<a title="how to apply" href="http://www.eazyloans.co.uk/insurance/index.htm" onmouseout="d4()">' + "how to apply" + '</a>' + " | " +
	'<a title="information" href="http://www.eazyloans.co.uk/insurance/index.htm" onmouseout="d4()">' + "information" + '</a>' + " | " +
	'<a title="keyfacts insurance" href="http://www.eazyloans.co.uk/insurance/index.htm" onmouseout="d4()">' + "keyfacts" + '</a>' + " | " +
	'<a title="products" href="http://www.eazyloans.co.uk/insurance/index.htm" onmouseout="d4()">' + "products" + '</a>'
document.write(nkt4)
 }
// NEW 31st May 2009 added teletext style single liner END //

	function AssembleMe(){
		this.length = AssembleMe.arguments.length
		for (var i = 0; i < this.length; i++)
		this[i+1] = AssembleMe.arguments[i]
			} // End AssembleMe()
		var MiAds = new AssembleMe;
// ENTER ONE OR MORE LINE SCRIPT HERE charcter length is restricted to 80 chara
		MiAds[0]='1. Loans Arranged Quickly Online. No need to phone. No representative will call.'
		MiAds[1]='2. Loans Arranged Quickly Online. No need to phone. No representative will call.'
		MiAds[2]='3. Loans Arranged Quickly Online. No need to phone. No representative will call.'
// END ONE LINE SCRIPT HERE
		var x = 1 , y = 0 , adText = MiAds[y];

	function AdvertiseMe(){ 
	if (x == adText.length+1) 
		{for (var z=0; z < 70000; z++);y+=1;if (y > 3) y = 0;document.adBox.AdvertContains.value = ' ';adText = MiAds[y];x=0;}
		document.adBox.AdvertContains.value = adText.substring(0,x);x+=1;setTimeout("AdvertiseMe() ",100); 
// 1 = Really fast, 100 = Normal, 1000 = really slow, !!
	}
// END //