	function popUpWin(x,y){
	theWindow=window.open(x,y,"height=700,width=700,toolbar=1,scrollbars=1,status=0,location=0,resizable=1")
	}
	
	function popUpTransit(x,y){
	theWindow=window.open(x,y,"height=800,width=1150,toolbar=1,scrollbars=1,status=0,location=0,resizable=1")
	}
	
	//x=URL
	//y=window name
	//text to say<a href="javascript:popUpWin('yoururl.com','win1')">Click for whatever</a>

	function popUpSpecWin(x,y){
	theWindow=window.open(x,y,"height=700,width=680,toolbar=1,scrollbars=1,status=0,location=0,resizable=0")
	}
	
	//x=URL
	//y=window name
	//text to say<a href="javascript:popUpSpecWin('info/test.html','descrip')">info</a>




/* This mangle script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Marko Samastur :: http://markos.gaivo.net/blog/ */

// to call: <span class="change">person at domain dot com</span>


function mangle() {
  if (!document.getElementsByTagName && !document.createElement &&
    !document.createTextNode) return;
  var nodes = document.getElementsByTagName("span");
  for(var i=nodes.length-1;i>=0;i--) {
    if (nodes[i].className=="change") {
      var at = /at/;
      var dot = /dot/g;
      var address = nodes[i].firstChild.nodeValue.split(" ").join("");
      var node = document.createElement("a");

      address = address.replace(at, "@");
      address = address.replace(dot, ".");
      node.setAttribute("href", "mailto:"+address);
      node.appendChild(document.createTextNode(address));

      var parent = nodes[i].parentNode;
      for(var j=0;j<parent.childNodes.length;j++)
        if (parent.childNodes[j] == nodes[i]) {
          if (!parent.replaceChild) return;
          parent.replaceChild(node, parent.childNodes[j]);
          break;
        }
    }
  }
}
//-->

