function openWin(theURL,winName,features) { 
	newWin = window.open(theURL,winName,features);
	newWin.moveTo(((screen.width/2)-350),((screen.height/2)-222));
}

function openRemote() {
	if (document.all) {
		openChromeslessWindow('index.swf','TLRemote',700,445,null,null,' ', '#FFFFFF', '#EEEEEE', '#FFFFFF', '#EEEEEE' ,true,'Verdana, Arial, Helvetica, sans-serif', '1','#FFFFFF');
	} else {
		openWin('main.htm','','width=700,height=445');
	}
	self.location.href = 'thank_you.htm';
}

// Rollover Functions

var nav_ready = false;

function nav_makearray(n) {
        this.length=n;
        for (var i=0;i<=n;i++) {
                this[i]=null
        }
        return this;
}

var nav_buttons;
function navPreload() {
        if (document.images) {
                nav_buttons = new nav_makearray(1);
                var i = 1;
                for (j=0; j<200; j++) {
                        if ( document.images["nav"+j] ) {
                                if ( document.images["nav"+j].name.indexOf("a.gif") == -1  ) {
                                        var main_src = document.images["nav"+j].src;

                                        nav_buttons[i*2-1]=new Image();
                                        nav_buttons[i*2-1].src = main_src;

                                        var roll_src = main_src.substring(0,main_src.lastIndexOf(".gif")) + "a.gif";

                                        nav_buttons[i*2]=new Image();
                                        nav_buttons[i*2].src = roll_src;

                                        i++;
                                }
                        }
                }
                nav_ready = true;
        }
}

function navRollOn(roll_img) {
        if (nav_ready) {
                var orig_src;
                var new_src;
                orig_src = document.images[roll_img].src;
                if ( orig_src.indexOf("a.gif") == -1  ) {
                        document.images[roll_img].src = orig_src.substring(0,orig_src.indexOf(".gif")) + "a.gif";
                }
        }
        return true;
}

function navRollOff(roll_img) {
        if (nav_ready) {
                var orig_src = document.images[roll_img].src;
                if ( orig_src.indexOf("a.gif") > 1  ) {
                        document.images[roll_img].src = orig_src.substring(0,orig_src.lastIndexOf("a.gif")) + ".gif";
                }
        }
        return true;
}

function openChromeslessWindow(openUrl, winName, wWidth, wHeight, wPosx, wPosy, wTIT, windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel, bCenter, sFontFamily, sFontSize, sFontColor){
	openchromeless(openUrl,winName, wWidth, wHeight, wPosx, wPosy, wTIT, wTIT , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel,bCenter, sFontFamily, sFontSize, sFontColor);
}