var p = window.location.pathname;
		var h = location.href;
		if (p != "/" && p.indexOf("") == -1 && p.charAt(p.length - 1) != '/')
			h += '/';

		if (location.hostname == "wichita180.com")
			h = h.replace("wichita180.com", "www.wichita180.com");

		if (h != location.href)
			location.replace(h);
			
var p2 = window.location.pathname;
		var h2 = location.href;
		if (p2 != "/" && p2.indexOf("") == -1 && p2.charAt(p2.length - 1) != '/')
			h2 += '/';

		if (location.hostname == "www.wichita180.net")
			h2 = h2.replace("www.wichita180.net", "www.wichita180.com");

		if (h2 != location.href)
			location.replace(h2);
			
			
var p3 = window.location.pathname;
		var h3 = location.href;
		if (p3 != "/" && p3.indexOf("") == -1 && p3.charAt(p3.length - 1) != '/')
			h3 += '/';

		if (location.hostname == "wichita180.net")
			h3 = h3.replace("wichita180.net", "www.wichita180.com");

		if (h3 != location.href)
			location.replace(h3);
			
var p4 = window.location.pathname;
		var h4 = location.href;
		if (p4 != "/" && p4.indexOf("") == -1 && p4.charAt(p4.length - 1) != '/')
			h4 += '/';

		if (location.hostname == "www.wichitaoneighty.com")
			h4 = h4.replace("www.wichitaoneighty.com", "www.wichita180.com");

		if (h4 != location.href)
			location.replace(h4);
			
var p5 = window.location.pathname;
		var h5 = location.href;
		if (p5 != "/" && p5.indexOf("") == -1 && p5.charAt(p5.length - 1) != '/')
			h5 += '/';

		if (location.hostname == "wichitaoneighty.com")
			h5 = h5.replace("wichitaoneighty.com", "www.wichita180.com");

		if (h5 != location.href)
			location.replace(h5);
			
var p6 = window.location.pathname;
		var h6 = location.href;
		if (p6 != "/" && p6.indexOf("") == -1 && p6.charAt(p6.length - 1) != '/')
			h6 += '/';

		if (location.hostname == "www.wichitaoneighty.net")
			h6 = h6.replace("www.wichitaoneighty.net", "www.wichita180.com");

		if (h6 != location.href)
			location.replace(h6);
			
var p7 = window.location.pathname;
		var h7 = location.href;
		if (p7 != "/" && p7.indexOf("") == -1 && p7.charAt(p7.length - 1) != '/')
			h7 += '/';

		if (location.hostname == "wichitaoneighty.net")
			h7 = h7.replace("wichitaoneighty.net", "www.wichita180.com");

		if (h7 != location.href)
			location.replace(h7);
			
function copyright() {
var now = new Date();
document.write(now.getFullYear());
}

function Sample() {
document.write('Sample Content')
}

function noSpm(user,domain) {
 locationstring = "mailto:" + user + "@" + domain;
 window.location = locationstring;
 }

function mailpage()
{mail_str = "mailto:?subject=Thought this might interest you: " + document.title;
mail_str += "&body=Thought you might be interested in seeing this:%0A%0A " + document.title;
mail_str += ". %0A%0A" + location.href; 
location.href = mail_str;}

// link to this layer tool

function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay(curobj, subobjstr, opt_position){
if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0) 
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else
return true
}

function overlayclose(subobj){
document.getElementById(subobj).style.display="none"}


function popupPlayer(){

var RadioPop = window.open('', "Radio_Popup_Player", 'toolbar=0,status=1,resizable=1,width=550,height=184')
RadioPop.document.write("<object style=\"font-family: verdana;color:#ffffff;\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" id=\"xpsf_player\" align=\"middle\" height=\"100%\" width=\"100%\"><param name=\"movie\" value=\"http://www.wichita180.com/radio/player.swf?playlist_url=http://www.wichita180.com/radio/radio.xspf&autoplay=true&repeat_playlist=true&player_title=WichitaOneighty.com Radio\"><param name=\"quality\" value=\"high\"><param name=\"bgcolor\" value=\"#000000\"><embed src=\"http://www.wichita180.com/radio/player.swf?playlist_url=http://www.wichita180.com/radio/radio.xspf&autoplay=true&repeat_playlist=true&player_title=WichitaOneighty.com Radio\" quality=\"high\" bgcolor=\"#000000\" name=\"xpsf_player\" allowscriptaccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" align=\"center\" height=\"100%\" width=\"100%\"></object>")
RadioPop.document.close() 
// launch code: <a href="javascript:void(0)" onclick="popupPlayer()">&nbsp;</a>
}