//Beginning of "decode.js" file
var accepted_domains=new Array("348-409.com")

var domaincheck=document.location.href //retrieve the current URL of user browser
var accepted_ok=false //set acess to false by default

if (domaincheck.indexOf("http")!=-1){ //if this is a http request
for (r=0;r<accepted_domains.length;r++){
if (domaincheck.indexOf(accepted_domains[r])!=-1){ //if a match is found
accepted_ok=true //set access to true, and break out of loop
break
}
}
}
else
accepted_ok=true

if (!accepted_ok){
alert("You\'re not allowed to directly link to this .js file on our server!")
history.back(-1)
}

function check()
{
year=document.forms[0].year
answer=document.forms[0].answer
txt=""
for (i = 0; i<year.length; ++ i)
{
if (year[i].checked)
{
txt=txt + year[i].value + ""
}
}
answer.value="Your car is a: " + txt
}

