coll = "";
style = "";

var n4 = (document.layers)? true:false;
var ie = (document.all)? true:false;
var n6 = (document.getElementById)? true:false;
if (ie) {
        n6 = false;
        coll = ".all";
        style = ".style"
}


// roll on for right main nav
function r1RollOn(img) {
        obj = eval("document" + coll + "." + img);
        obj.src = w1Roll.src
}

// roll out for right main nav
function r1RollOff(img) {
        obj = eval("document" + coll + "." + img);
        obj.src = g1Roll.src
}

// roll on for right sub nav
function r2RollOn(img) {
        obj = eval("document" + coll + "." + img);
        obj.src = r2Roll.src
}

// roll out for right sub nav
function r2RollOff(img) {
        obj = eval("document" + coll + "." + img);
        obj.src = g2Roll.src
}
//memorial popup function
function memorial() {
        var memorialWin = window.open("/memorial/index.html","Memorial","width=650,height=450");
}

//terror from the right flash popup
function tftr() {
        var tftrWin = window.open("/tftr/index.html","tftr","width=750,height=432");
}

//World without words
function openWorld() {
	var worldWin = window.open('/pt/world/index.html','worldMain','width=590,height=442,scrollbars=no,toolbar=no');
	worldWin.focus();
}

//A New Friend
function openNewFriend() {

	var friendWin = window.open("/pt/new_friend/index.html", "friendWindow", "width=600,height=480");
	friendWin.focus();
}

//Open a browser window
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function showPopup(showURL,winName) {
	window.open(showURL,winName,'width=600,height=500,scrollbars=no,menubar=no,toolbar=no');
}