function navOver(btn) {
	eval(btn + ".src = 'images/navigation/nav_" + btn + "_over.gif'");
}

function navOut(btn) {
	eval(btn + ".src = 'images/navigation/nav_" + btn + "_off.gif'");
}

function btnOver(btn) {
	eval("orderNow_bttn_Menu2.src = '../images/orderNow_bttn_ovr.gif'");
}

function btnOut(btn) {
	eval("orderNow_bttn_Menu2.src = '../images/orderNow_bttn_off.gif'");
}

function arrowOn(obj) {
	document.getElementById(obj.id + "Arrow").src = 'images/navigation/arrow_in.gif';
}

function arrowOff(obj) {
	document.getElementById(obj.id + "Arrow").src = 'images/navigation/arrow_off.gif';
}

function imgNavOn(obj,loc) {
	document.getElementById(obj.id + "_Menu").src = loc + obj.id + '_ovr.gif';
}

function imgNavOff(obj,loc) {
	document.getElementById(obj.id + "_Menu").src = loc + obj.id + '_off.gif';
}

function imgNavOnj(obj,loc) {
	document.getElementById(obj.id + "_Menu").src = loc + obj.id + '_ovr.jpg';
}

function imgNavOffj(obj,loc) {
	document.getElementById(obj.id + "_Menu").src = loc + obj.id + '_off.jpg';
}


// Open a popup for the store.
var winStore = null;
function gotoStore()
{ 
  var nWidth   = 850;
  var nHeight  = 550;
  var sParams  = "width=" + nWidth + ",height=" + nHeight + ",menubar=0,scrollbars=1,status=1,toolbar=0,location=0,resizable=1";
  sParams     += ",left=" + (screen.width - nWidth)/2;
  sParams     += ",top="  + (screen.availHeight - nHeight)/2;

  // Open up a window with blank.html
  if( winStore == null || winStore.closed )
    winStore = window.open("http://www.animatedspeechstore.com", "ASC_STORE_WIN", sParams);
  else
    winStore.focus();
}


// Open a popup for the Tucker Maxon Photo Essay.
var winTM = null;
function gotoTM()
{ 
  var nWidth   = 700;
  var nHeight  = 750;
  var sParams  = "width=" + nWidth + ",height=" + nHeight + ",menubar=0,scrollbars=1,status=1,toolbar=0,location=0,resizable=1";
  sParams     += ",left=" + (screen.width - nWidth)/2;
  sParams     += ",top="  + (screen.availHeight - nHeight)/2;

  // Open up a window with blank.html
  if( winTM == null || winTM.closed )
    winTM = window.open("tm_story/head1.html", "TM_ESSAY_WIN", sParams);
  else
    winTM.focus();
}


// Open a popup for the Tucker Maxon Photo Essay.
var winTM = null;
function gotoTM2()
{ 
  var nWidth   = 700;
  var nHeight  = 750;
  var sParams  = "width=" + nWidth + ",height=" + nHeight + ",menubar=0,scrollbars=1,status=1,toolbar=0,location=0,resizable=1";
  sParams     += ",left=" + (screen.width - nWidth)/2;
  sParams     += ",top="  + (screen.availHeight - nHeight)/2;

  // Open up a window with blank.html
  if( winTM == null || winTM.closed )
    winTM = window.open("../tm_story/head1.html", "TM_ESSAY_WIN", sParams);
  else
    winTM.focus();
}