// +------------------------------------------------------------+
// | Created 08/12/2004              Last Modified 08/14/2004   |
// | Web Site:                 http://www.FranciscanRadio.org   |
// +------------------------------------------------------------+
// | Contains all the scripts for the                           |
// |	FranciscanRadio.org;                                    |
// | Less clutter on page				        |
// |                                                            |
// | 															|
// +------------------------------------------------------------+



// +------------------------------------------------------------+

// "SAMP Media" Script begins
<!--
var objSAMPMedia;
var smUrl;
var smWinWidth;
var smWinHeight;
var smOptions;

function openSAMPMedia(smUrl) {
smWinWidth = 520;
smWinHeight = 340;
smOptions = "width=" + smWinWidth + ",height=" + smWinHeight + ",scrollbars=no,resizable=yes,menubar=no,status=no,toolbar=no,location=no,directories=no";
 if (smUrl) {  
  if (!objSAMPMedia || objSAMPMedia.closed){
    objSAMPMedia = window.open(smUrl,'SAMPMediawin', smOptions);  // Open a new window and show the specified page
    objSAMPMedia.focus();
	objSAMPMedia.moveTo(100,200);   
   									  }
  else{
    objSAMPMedia.close();
	objSAMPMedia = window.open(smUrl,'SAMPMediawin', smOptions);  // Open a new window and show the specified page
    objSAMPMedia.focus();
	objSAMPMedia.moveTo(100,200);
  	  }
 	    }
}
//-->
// "SAMP Media"  Script Ends -->
// +------------------------------------------------------------+
// +------------------------------------------------------------+
// "changeScreenSize" Script begins
<!--
function changeScreenSize(){

var winWidth = 440;
var winHeight = 380;
window.resizeTo( winWidth,winHeight )
}
//-->

// "changeScreenSize"  Script Ends -->
// +------------------------------------------------------------+
// +------------------------------------------------------------+
// "blurred/focused functions" Script begins
<!--
var timer = '';
function blurred() {
    timer = setTimeout('self.close()',5000);
}

function focused() {
    if (timer != '')
        clearTimeout(timer);
}
//-->
// "blurred/focused functions"  Script Ends -->
// +------------------------------------------------------------+
