// e mail 


function sendEmail() {
window.location.href='mailto:seotowns@avarte.net';
}


// mouse over sound

var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0] = "http://www.avarte.net/xtap.au";

// DO NOT edit below this line
document.write('<BGSOUND ID="auIEContainer">')
IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;
onload=auPreload;

function auPreload() {
if (!ver4) return;
if (NS) auEmb = new Layer(0,window);
else {
Str = "<DIV ID='auEmb' STYLE='position:absolute;'></DIV>";
document.body.insertAdjacentHTML("BeforeEnd",Str);
}
var Str = '';
for (i=0;i<aySound.length;i++)
Str += "<EMBED SRC='"+aySound[i]+"' AUTOSTART='FALSE' HIDDEN='TRUE'>"
if (IE) auEmb.innerHTML = Str;
else {
auEmb.document.open();
auEmb.document.write(Str);
auEmb.document.close();
}
auCon = IE? document.all.auIEContainer:auEmb;
auCon.control = auCtrl;
}
function auCtrl(whSound,play) {
if (IE) this.src = play? aySound[whSound]:'';
else eval("this.document.embeds[whSound]." + (play? "play()":"stop()"))
}
function playSound(whSound) { if (window.auCon) auCon.control(whSound,true); }
function stopSound(whSound) { if (window.auCon) auCon.control(whSound,false); }




// image swaps
function shift_in(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button2.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button1.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in1(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button4.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out1(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button3.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in2(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button6.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out2(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button5.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in3(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button8.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out3(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button7.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in4(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button12.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out4(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button11.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in5(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button14.jpg)';
document.getElementById(tbid).style.color='#FFFFFF';
playSound(0);
}
function shift_out5(tbid) {
document.getElementById(tbid).style.backgroundImage='url(http://www.avarte.net/button13.jpg)';
document.getElementById(tbid).style.color='#000000';
}
function shift_in6(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).src='http://www.avarte.net/house_over_icon.gif';
playSound(0);
}
function shift_out6(tbid) {
document.getElementById(tbid).src='http://www.avarte.net/house_icon.gif';
}
function shift_out7(tbid) {
document.getElementById(tbid).src='http://www.avarte.net/search_ball.gif';
}
function shift_in8(tbid) {
document.getElementById(tbid).style.cursor = 'hand';
document.getElementById(tbid).style.backgroundColor='#F26522';
playSound(0);
}
function shift_out8(tbid) {
document.getElementById(tbid).style.backgroundColor='#006699';
}
function goto(fi) {
window.open(fi,'blank'); return false;
}
function qsSwapIn(qsid,qsval) {
document.getElementById(qsid).style.cursor = 'hand';
document.getElementById(qsid).style.backgroundImage='url(http://www.avarte.net/button2.jpg)';
document.getElementById(qsid).style.color='#FFFFFF';
document.getElementById('mc').value=qsval;
playSound(0);
}
function qsSwapOut(qsid) {
document.getElementById(qsid).style.backgroundImage='url(http://www.avarte.net/button1.jpg)';
document.getElementById(qsid).style.color='#000000';
}
function qsClick() {
document.qsform.submit();
}
image1 = new Image();
image1.src = "http://www.avarte.net/button1.jpg";

image2 = new Image();
image2.src = "http://www.avarte.net/button2.jpg";

image3 = new Image();
image3.src = "http://www.avarte.net/button3.jpg";

image4 = new Image();
image4.src = "http://www.avarte.net/button4.jpg";

image5 = new Image();
image5.src = "http://www.avarte.net/button5.jpg";

image6 = new Image();
image6.src = "http://www.avarte.net/button6.jpg";

image7 = new Image();
image7.src = "http://www.avarte.net/button7.jpg";

image8 = new Image();
image8.src = "http://www.avarte.net/button8.jpg";

image9 = new Image();
image9.src = "http://www.avarte.net/button9.jpg";

image10 = new Image();
image10.src = "http://www.avarte.net/button10.jpg";

image11 = new Image();
image11.src = "http://www.avarte.net/button11.jpg";

image12 = new Image();
image12.src = "http://www.avarte.net/button12.jpg";

image13 = new Image();
image13.src = "http://www.avarte.net/button13.jpg";

image14 = new Image();
image14.src = "http://www.avarte.net/button14.jpg";

image15 = new Image();
image15.src = "http://www.avarte.net/house_over_icon.gif";