
function getDocHeight() { var D = document;
    return Math.max(
        Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
    );
}
function getDocWidth() { var D = document;
    return Math.max(
        Math.max(D.body.scrollWidth, D.documentElement.scrollWidth),
        Math.max(D.body.offsetWidth, D.documentElement.offsetWidth),
        Math.max(D.body.clientWidth, D.documentElement.clientWidth)
    );
}

function getWSize()
{
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	return { "width" : myWidth, "height" : myHeight };
}

function getWindowWidth() {
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}
 
function getWindowHeight() {
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}
 


	
	try { if ( vw==null ) vw = 640; }catch(e) { vw = 640; }
	try { if ( vh==null ) vh = 385; }catch(e) { vh = 385; }

var flashvars = {};
var params = {};
var attributes = {};

// Open the lightbox
function getMouseXY(e) {
    if (IE) { // grab the x-y pos.s if browser is IE
        tempX = event.clientX + document.body.scrollLeft;
        tempY = event.clientY + document.body.scrollTop;
    } else {  // grab the x-y pos.s if browser is NS
        tempX = e.screenY
        tempY = e.pageY
    }   
    // catch possible negative values in NS4
    if (tempX < 0) { tempX = 0 }
    if (tempY < 0) { tempY = 0 }
    // show the position values in the form named Show
    // in the text fields named MouseX and MouseY
    return true
}
var tempX = 0;
var tempY = 0;
var IE = document.all ? true : false;
if (!IE) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = getMouseXY;

	function pvideo(_n)
	{
		if ( ( s = document.getElementById("shadow") ) && ( d = document.getElementById("pvideodiv") ) && ( v = document.getElementById("pvideo") ) && pvideos[_n] )
		{
			var swf_div = document.createElement("div");
			swf_div.id = "swf";
			v.appendChild(swf_div);

			swfobject.embedSWF( pvideos[_n], "swf", vw, vh, "9.0.0", "expressInstall.swf", flashvars, params, attributes);
			d.style.left = ((getWindowWidth() - vw) / 2) + "px";
			d.style.top = tempY - tempX + 250 + 'px';
			d.style.display = "block";
			s.style.height = getDocHeight()+"px";
			s.style.width = getDocWidth()+"px";
			s.style.display = "block";
		}
	}
	function closev()
	{
		if ( ( s = document.getElementById("shadow") ) && ( d = document.getElementById("pvideodiv") ) && ( v = document.getElementById("pvideo") ) )
		{
			swfobject.removeSWF("swf");
			d.style.display = "none";
			d.style.left = "-10000px";
			d.style.top = "-10000px";
			d.style.top = ( getWindowHeight() - vh ) / 2;
			s.style.display = "none";
		}
	}
	
	var pvideos = new Array();
	pvideos[1] = "http://www.youtube.com/v/evKEz2I_qKk&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[2] = "http://www.youtube.com/v/On5tc86yzI8&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[3] = "http://www.youtube.com/v/zhdJ-09oRFM&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[4] = "http://www.youtube.com/v/YKCQSVfmlKs&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[5] = "http://www.youtube.com/v/bwkKw55yDLM&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[6] = "http://www.youtube.com/v/Yi8Q1D5vUJ4&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[7] = "http://www.youtube.com/v/neZQFG7PZWE&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[8] = "http://www.youtube.com/v/-DA62rjoOx8&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[9] = "http://www.youtube.com/v/wCZ2gyU-ZZQ&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[10] = "http://www.youtube.com/v/wLDF97hcWYQ&hl=en_US&fs=1&rel=0&hd=1";
	pvideos[11] = "http://www.youtube.com/v/gatUuy0dVwc&hl=en_US&fs=1&";//nurses.asp
	pvideos[12] = "http://www.youtube.com/v/EsNIumDdla8&hl=en_US&fs=1&";//allied_health.asp
	pvideos[13] = "http://www.youtube.com/v/-67B3vIuj9E&hl=en_US&fs=1&";///leadership.asp
	pvideos[14] = "http://www.youtube.com/v/PbIv-9PsISg&hl=en_US&fs=1&";//new_grads.asp
