
// UK Swindon Live band Wipe Me Dry

if (top.location!= self.location) {
top.location = self.location.href
}

function mail(m,d) {
 var e=m+'@'+d;
 e='<a href="mailto:'+e+'">'+e+'</a>';
 document.write(e);
}

function setamb(r,g,b,p){
this.filters[0].clear();
this.filters.light.addAmbient(r,g,b,p)
this.filters.light.addPoint(xv,yv,s,99,99,99,255)
}

function send()
{
clearTimeout(t);
if (window.XMLHttpRequest) {
	areq=new XMLHttpRequest()
} else if (window.ActiveXObject) {
	areq=new ActiveXObject("Microsoft.XMLHTTP")
}
areq.open("GET",url +"?p="+ location,true);
u=setTimeout("retry()",90000);
areq.onreadystatechange=retr;
areq.send(null);
}
function retr()
{
if (areq.readyState==4) {
	var c="";
	if (areq.status==200) {
		c=areq.responseText;
		clearTimeout(u);
	} else {
		window.status="Error: "+ areq.statusText;
	}

	if (c!='') {eval(c)}
	delete areq;
	t=setTimeout("send()",60000)
 }
}
function retry()
{
	clearTimeout(t);
	clearTimeout(u);
	send()
}
var areq,u
var url = "http://www.wipemedry.co.uk/keepalive.asp"
var t=window.setTimeout("send()",5000)


if (false) {  // test route
var theinputs=document.all.tags('input');
for (var i=0;i<theinputs.length;i++) {
alert('test')
	if (theinputs[i].getAttribute('type')='image') {
		img = theinputs[i].getElementsByTagName('src');
		theinputs[i].setAttribute('onmouseout',img);
		img = img.replace('.png','2.png');
		theinputs[i].setAttribute('onmouseover',img);
	}
}
}

if (location=="http://www.wipemedry.co.uk/") {window.setTimeout("if (1==1) {location='http://www.wipemedry.co.uk/aboutus.asp'}",60000)}

t=setTimeout("location=location",Math.random()*999999+999999)

function playsound(thefile) {
document.write('<div style="width:38px; height:20px; overflow:hidden">')
document.write('<embed src="MiniPlayer.swf" quality="high" bgcolor="#105010" width="180" height="21" name="audioplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="linktext=Halo&publication_date=&file=/download/mp3/'+thefile+'" />')
document.write('</div>')
}

window.status="Wipe Me Dry - UK live band";

// <!-- http://www.sebsworld.net/bottracker/hit.asp?homewmdjs
