/////////////////////
//Email This Page///
///////////////////

function Mail()
{
mail_str = "mailto:?subject=Check Out: " + document.title;
mail_str += "&body=I thought you might be interested in: " + document.title;
mail_str += ". You can view it at, " + location.href;
location.href = mail_str;
}


/////////////////////
// AIM This Page ///
///////////////////

function AIM()
{
AIM_str = "aim:GoIM?message=check+out+" + location.href;
location.href = AIM_str;
}


/////////////////////
// Add Bookmark ////
///////////////////


function AddBookmark()
{

bookmarkurl="http://www.sniderfootball.org"

bookmarktitle="Snider Panther Football 2007"

if (document.all)

window.external.AddFavorite(bookmarkurl,bookmarktitle)

}

/////////////////////////////////////
//Radio Broadcast - Popup Window ///
///////////////////////////////////

function Live() {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open('LiveRadioTerms.html', '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=325,height=410');");
}

/////////////////////////////////////
//Radio Broadcast - Sunny 1063 FM //
///////////////////////////////////


if(navigator.appVersion.indexOf("AOL") > -1)
 {
 //AOL
 var opt1 = 'width=472,height=257';
 var opt2 = 'width=472,height=257';
 } else if(navigator.platform.indexOf("Win") > -1)
 {
 //IE and NS Windows
 var opt1 = 'width=472,height=257,top=420,left=520,screenY=420,screenX=520';
 var opt2 = 'width=472,height=257,top=250,left=300,screenY=250,screenX=300';
 } else if(navigator.platform.indexOf("Mac") > -1)
 {
 //IE and NS Mac
 if(navigator.appName.indexOf("Microsoft") > -1)
 {
 var opt1 = 'width=455,height=240,top=420,left=520,screenY=420,screenX=520';
 var opt2 = 'width=455,height=240,top=250,left=300,screenY=250,screenX=300';
 } else if(navigator.appName.indexOf("Netscape") > -1)
 {
 var opt1 = 'width=472,height=257,top=420,left=520,screenY=420,screenX=520';
 var opt2 = 'width=472,height=257,top=250,left=300,screenY=250,screenX=300';
 }
 }
 function openplayer(URL)
    {
    if(screen.width >= 1000)
 {
 window.open(URL,'Streamaudio_Player',opt1);
 }
    if(screen.width <= 800)
 {window.open(URL,'Streamaudio_Player',opt2);
 }
    }
 

/////////////////////////////////
//Indiana's News Center Video //
///////////////////////////////


function openPopup (url, name, widgets ) 
{
	popupWin = window.open(url, name, widgets);
	popupWin.focus();
} 	
