
<!--
colouralt = 0;
function changeColour() {
	var interval = 1500;
    var colour1 = "#1A98CC"
    var colour2 = "#FFFFFF";

    if (getElm('hdr_phone')) {
		
        getElm('hdr_phone').style.color = (colouralt==1) ? colour2 : colour1;

		if(colouralt==1){
			colouralt=0;
		}else{
			colouralt=1;
		}

        setTimeout("changeColour('hdr_phone')", interval);
    }
}
//-->


<!--

var siteurl = 'http://www.easyashgv.co.uk';

function callServ(address, callback, async, post, parameters)
{
	if(async==null || async=='')
		async = true;
		
	function callFunction()
	{
		if (req1.readyState==4) 
		{
				if (req1.status==200) 
				{
						if (processXML!=null)  
						{
							//alert(req1.responseText);
							processXML(req1.responseXML);
								
						}
				}
		}
	}

	var req1 = null;
	var processXML = callback;
    
    if (typeof XMLHttpRequest != "undefined") 
       req1 =  new XMLHttpRequest();
    else if (window.ActiveXObject) 
    {
      var ajs = ["MSXML2.XMLHttp.5.0","MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp","Microsoft.XMLHttp"];

      for (var i=0; i<ajs.length;i++) 
      {
        try 
        {
            req1 = new ActiveXObject(ajs[i]);
            break;    
        } 
        catch (oError) {
            //Do nothing
        }
      }
    }

	
	req1.onreadystatechange = callFunction;
	
	if(!empty(post))
	{
		req1.open('POST', address, async);
		req1.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		req1.setRequestHeader("Content-length", parameters.length);
		req1.send(parameters);
	}
	else
	{
		req1.open('GET', address, async);
		req1.send(null);
	}
}

function postServ(address, callback, parameters)
{
	function callFunction()
	{
		if (req1.readyState==4) 
		{
				if (req1.status==200) 
				{
						if (processXML!=null)  
						{
							//alert(req1.responseText);
							processXML(req1.responseXML);
								
						}
				}
		}
	}

	var req1 = null;
	var processXML = callback;
	
	if (typeof XMLHttpRequest != "undefined") 
	   req1 =  new XMLHttpRequest();
	else if (window.ActiveXObject) 
	{
	  var ajs = ["MSXML2.XMLHttp.5.0","MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp","Microsoft.XMLHttp"];

	  for (var i=0; i<ajs.length;i++) 
	  {
		try 
		{
			req1 = new ActiveXObject(ajs[i]);
			break;    
		} 
		catch (oError) {
			//Do nothing
		}
	  }
	}

	
	
	req1.onreadystatechange = callFunction;
	req1.open('POST', address, true);
	req1.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	req1.setRequestHeader("Content-length", parameters.length);
	req1.send(parameters);
}

function saved(xml){
	var passed=getTag(xml,'passed')[0].firstChild.data;
	if(passed=='false')
		alert('Unfortunately we could not save your change.\n\nPlease try again.');
}

function getElm(elm)
{
	return document.getElementById(elm);		
}

function getTag(xml,elm)
{
	return xml.getElementsByTagName(elm);
}

function getTagAt(tag)
{
	var atts = new Array();
	for(var i=0;i<tag.length;i++)
		atts.push(tag.item(i).nodeValue.toString());

	return atts;
}



function getTagAttr(xml,i,param)
{
	var tag = getTag(xml,param)[i].attributes;
	var atts = new Array();
	for(var i=0;i<tag.length;i++)
		atts.push(tag.item(i).nodeValue.toString());

	return atts;
}


function empty(val)
{
	return(val==''||val==null);
}

function pop(x,y,text,noscrollbars,width,noclose)
{
	if(width==''||width==null)
		width='320px';
		
	if(!document.all)
	{
		getElm('pop').style.left = x+10;
		getElm('pop').style.top = y;
	}
	else
	{
		getElm('pop').style.posLeft = x+10;
		getElm('pop').style.posTop = y;
	}

	var rep = /<br \/>/g;
	var height='';
	if(text.length>180)
		height="height:200px;";

	getElm('pop').innerHTML = '<div id=\"ofbox\" style=\"width:'+width+';'+height+'padding:5px;background-color:#FFFFFF;border:solid 1px #CCCCCC;overflow:auto;\">'+text+'</div>';
	getElm('pop').style.visibility = 'visible';

//	fixLists(true);

}

function popd()
{
	getElm('pop').style.visibility = 'hidden';
	//fixLists(false);
}

-->