﻿function video() {
    var popup = window.open("http://www.dataserv.tv/video1.asp", "video", "location=no,resizable=no,scrollbars=no,width=354,height=379,left=200,top=100,screenX=200,screenY=100")
}

/** 
Description: Mangle is a javascript function that takes human readable, 
             but spam-proof representation of an email address and replaces it with a mailto link. 
Source     : http://markos.gaivo.net/code/mangle.html
Date:      : 03/06/09 10:12 AM 
**/
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 node = document.createElement("a");
            var address = nodes[i].firstChild.nodeValue;

            address = address.replace(at, "@");
            address = address.replace(dot, ".");

            node.setAttribute("href", "mailto:" + address);
            node.appendChild(document.createTextNode(address));

            var prnt = nodes[i].parentNode;
            for (var j = 0; j < prnt.childNodes.length; j++)
                if (prnt.childNodes[j] == nodes[i]) {
                if (!prnt.replaceChild) return;
                prnt.replaceChild(node, prnt.childNodes[j]);
                break;
            }
        }
    }
}


function LaunchWindow(url, description, height, width) {
    var newwindow;
    newwindow = window.open(url, description, 'menubar=0,resizable=0,height='+ height +',width='+ width  + '');
    if (window.focus) { newwindow.focus() }
}