// Open a new window for Google video
// Preset to a certain width and height

// HOW TO USE:
//
// 1. Include this file in the HTML page's <head> with this code:
//
//		<script language="javascript" src="/js/you-tube.js"></script>
// 
// 2. Supply appropriate HTML for the link to the video, somewhere in the <body>:
//
// 		<a href="javascript:youTube('[YouTube video ID]')">View Video</a>
// For example:
// 		<a href="javascript:youTube('oLjgOTrI6yE')">View Video</a>

function youTube(id)
{
 	url = "http://www.expandinglight.org/js/you-tube-videos.asp?id=" + id;    
      oWindow=window.open(url,"Video","toolbar=no,width=440,height=370,directories=no,status=no,scrollbars=no,resize=yes,menubar=no");
      oWindow.focus();
}

        
        