<!--
// Preload and play audio files with event handler (MouseOver sound)
// designed by JavaScript Archive, (c)1999
// Get more free javascripts at http://jsarchive.8m.com

var aySound = new Array();
// Below: source for sound files to be preloaded
aySound[0]="01.wav";
aySound[1]="02.wav";
aySound[2]="03.wav";
aySound[3]="04.wav";
aySound[4]="05.wav";
aySound[5]="06.wav";
aySound[6]="07.wav";
aySound[7]="08.wav";
aySound[8]="09.wav";
aySound[9]="10.wav";
// 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); }
//-->


<!--

function getAppVersion() {
                appname= navigator.appName;
                appversion = navigator.appVersion;
                majorver = appversion.substring(0, 1); 
                if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
                if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
        return 0;
}

function swtch(num, imagesname) {
        if (getAppVersion())
                imagesname.src = images[num].src;
}

imagessrc = new Array();

imagessrc[0] = "img/nav/how_it_works.gif";
imagessrc[1] = "img/nav/how_it_works2.gif";
imagessrc[2] = "img/nav/what_we_do.gif";
imagessrc[3] = "img/nav/what_we_do2.gif";
imagessrc[4] = "img/nav/what_sells.gif";
imagessrc[5] = "img/nav/what_sells2.gif";
imagessrc[6] = "img/nav/current_auctions.gif";
imagessrc[7] = "img/nav/current_auctions2.gif";
imagessrc[8] = "img/nav/ebay_comments.gif";
imagessrc[9] = "img/nav/ebay_comments2.gif";
imagessrc[10] = "img/nav/qna.gif";
imagessrc[11] = "img/nav/qna2.gif";
imagessrc[12] = "img/nav/contact.gif";
imagessrc[13] = "img/nav/contact2.gif";
imagessrc[14] = "img/nav/home.gif";
imagessrc[15] = "img/nav/home2.gif";
imagessrc[16] = "img/nav/packrat.gif";
imagessrc[17] = "img/nav/packrat2.gif";
imagessrc[18] = "img/nav/solution.gif";
imagessrc[19] = "img/nav/solution2.gif";

if (getAppVersion()) {
        images = new Array();
        for (i = 0; i < imagessrc.length; i++) {
                images[i] = new Image();
                images[i].src = imagessrc[i];
        }
}
//-->


