<!--
function wui(s) {
	if (s == "on") {
		document.getElementById('wui-img').src = "/images/wui-on.gif";
	}
	else {
		document.getElementById('wui-img').src = "/images/wui.gif";
	}
}



function imgSwap(object, imgurl){
		object.src = imgurl;
}


var obj_a;
function highlight_section(section_title){
	var ul_section_id = "left-pane";
	var obj_ul = document.getElementById(ul_section_id);
	var objs_a = obj_ul.getElementsByTagName("A");
	
	for(var i=0;i < objs_a.length;i++){
		if(objs_a[i].innerHTML.indexOf(section_title) != -1){
			obj_a = objs_a[i];
		}
	}
	
	obj_a.style.color = "#FFFF00";
	obj_a.onclick = function() { return false; }
}


var myResearchLogos = new Array();
		myResearchLogos[0] = '<img src="/images/research-logos/research-logos-bw1A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/research-logos/research-logos-c1A.jpg\');" onmouseout="imgSwap(this, \'/images/research-logos/research-logos-bw1A.jpg\');" />';
		myResearchLogos[1] = '<img src="/images/research-logos/research-logos-bw2A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/research-logos/research-logos-c2A.jpg\');" onmouseout="imgSwap(this, \'/images/research-logos/research-logos-bw2A.jpg\');" />';
		myResearchLogos[2] = '<img src="/images/research-logos/research-logos-bw3A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/research-logos/research-logos-c3A.jpg\');" onmouseout="imgSwap(this, \'/images/research-logos/research-logos-bw3A.jpg\');" />';

	function researchtLogos(){
			var total = myResearchLogos.length;
			var i = Math.floor(Math.random()*total);
			var content = myResearchLogos[i];
			document.getElementById('clientlogos').innerHTML = content;
		}



var myArray = new Array();
		myArray[0] = "<p>I've had the pleasure of working with Paragon Media Strategies over the course of many years, in different radio environments. I've found them to be very savvy, and incredibly helpful. Their reports and analysis are easy to use, and full of valuable ways to sort the data.  Additionally, they are impartial researchers, with no programming \"agenda\" on their part, except to help your radio station succeed with actionable information</p><p><strong>Chris Mays </strong><br /> Program Director<br /> KLLC San Francisco</p>";
		myArray[1] = "<p>Mike Henry has been a valued strategic partner for Rogers Media - Radio division since 1990. During that time Rogers has grown from 2 radio stations to 51 stations from Coast to Coast. During that time our format portfolio has multiplied including the introduction of Canada's first All New Station. Mike and his expert team at Paragon have provided critical audience research and strategic planning recommendations to help Rogers create new formats, including JACK, and have been a valued partner in all of our markets.</p><p><strong>Gary L. Miles</strong><br /> President/CEO<br /> Rogers Media - Radio</p>";
		
		myArray[2] = "<p>Research and the strategy that it informs are critical to the future of your radio station. You need a partner, not another vendor.  For over 20 years, the people of Paragon Media Strategies partnered with Susquehanna Radio Corp. and were instrumental in the growth and success of many of our stations.  They're smart, they listen, and their integrity is unquestioned.</p><p><strong>Dave Kennedy</strong><br />CEO<br />Interep<br /><br />President/CEO<br />Susquehanna Media Company (former)<br /><br />Chairman<br />National Association of Broadcasters (former)<br /><br />Chairman<br />Radio Advertising Bureau (former)</p>";
		
		myArray[3] = "<p>Paragon delivers proven results.  For the past 14 years Paragon has successfully interpreted what Chattanooga listeners expect from our radio stations. Thus, Sunny 92.3, WDEF (AC) is number 1 in our target demo time and time again and 96-5, The Mountain, WDOD (Triple A) is ranked among the top 10 Adult Alternative stations in the nation. Top that with the fact that they really care about our success and they're real people (not a bunch of stuffed shirt salesmen) and you have what we feel is the best media research company in the marketplace. They part of our family.</p><p><strong>Danny Howard</strong><br />Director of Programming<br />WDEF/WDOD Chattanooga</p>";
		
		myArray[4] = "<p>From start to finish I was very impressed by the service and ultimately the partnership created with Paragon.  Unbiased advice based on facts provided our strategic team with a sense of understanding and confidence for implementing change and a plan.  Every radio station today is faced with greater competition and more accountability and we are no different here in Atlanta.  Thankfully we have an outstanding resource in Paragon providing strong insight and a no-nonsense approach to our confronting these challenges and reaching our goals.</p><p><strong>Neal S. Maziar</strong><br />Vice President & General Manager<br />790 The Zone<br /><br />Senior Vice President<br />Big League Broadcasting</p>";
		
		myArray[5] = "<p>Mike Henry and his entire team do great research, but that's expected - what's over and above is their true desire to help you use your research to maximize your ratings and revenue</p><p>Paragon knows how to pull the right information out of radio listeners and the right way to boil it down to what really matters for your future growth</p><p><strong>Bruce Gilbert</strong><br />CEO<br />Red Zebra Broadcasting<br /><br />General Manager<br />ESPN Radio (former)</p>";
		
		myArray[6] = "<p>Wyoming Public Radio hired Mike Henry and Paragon to assess its potential for modifying its existing Triple A format for increasing the appeal to NPR News audiences. Mike worked tirelessly with staff and achieved right out of the box, a larger cume audience than \"Morning Edition\".</p><p><strong>Jon Schwartz</strong><br />General Manager<br />Wyoming Public Radio<br /><br />Chairman of the Board<br />NPR (former)</p>";
		
		myArray[7] = "<p>We've worked with Mike, Larry, and the rest of the team at Paragon a number of times and have always received excellent results. Both in terms of the quality of the research data and their personal attention to detail. We certainly plan on working with Paragon again in the future.</p><p><strong>Mark Adams</strong><br />VP Programming<br />Rose City Radio<br />Jammin 95.5<br />News Radio 750 KXL</p>";
		
		myArray[8] = "<p>We’ve been pleased to use Paragon Media Strategies for both Market Perceptuals and AMTs in several of our markets. Their professional approach has produced results that are both on time and on point. We look forward to working with them again.</p><p><strong>Jon E. Horton</strong><br />VP Operations<br />Salem Communications</p>";
		
		myArray[9] = "<p>Paragon Media Strategies and Triad Broadcasting have had a long standing partnership. Paragon has played a very important role in assisting us in providing the necessary research for us to define our winning programming strategies in many of our markets over the years.</p><p><strong>Steve Fehder</strong><br />Senior VP/Director of East Coast Operations<br />Triad Broadcasting</p>";
		
		function showTestimonialsResearch(){
			researchtLogos();
			var total = myArray.length;
			var i = Math.floor(Math.random()*total);
			var content = myArray[i];
			document.getElementById('testimonials').innerHTML = content;
			
		}
		
		
		var myConsultLogos = new Array();
		myConsultLogos[0] = '<img src="/images/consulting-logos/consulting-logos-bw1A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/consulting-logos/consulting-logos-c1A.jpg\');" onmouseout="imgSwap(this, \'/images/consulting-logos/consulting-logos-bw1A.jpg\');" />';
		myConsultLogos[1] = '<img src="/images/consulting-logos/consulting-logos-bw2A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/consulting-logos/consulting-logos-c2A.jpg\');" onmouseout="imgSwap(this, \'/images/consulting-logos/consulting-logos-bw2A.jpg\');" />';
		myConsultLogos[2] = '<img src="/images/consulting-logos/consulting-logos-bw3A.jpg" alt="Our Clients" style="position:absolute;" onmouseover="imgSwap(this, \'/images/consulting-logos/consulting-logos-c3A.jpg\');" onmouseout="imgSwap(this, \'/images/consulting-logos/consulting-logos-bw3A.jpg\');" />';

	function consultLogos(){
			var total = myConsultLogos.length;
			var i = Math.floor(Math.random()*total);
			var content = myConsultLogos[i];
			document.getElementById('clientlogos').innerHTML = content;
		}
		
		
		
		var myConsult = new Array();
		myConsult[0] = "<p>We choose Paragon to consult WDOD because of our extremely successful research relationship&nbsp;throughout the years.&nbsp; Mike and the entire Paragon team deliver outstanding advice for our market year round.&nbsp; Plus they are original;&nbsp;you won't get cookie-cutter homogenized solutions.&nbsp; The Chattanooga radio market is unique, just like every radio market.&nbsp; Paragon keeps us centered locally, while keeping a close eye on the big picture. With the help of Paragon WDOD has gone from<br /> 12th place to&nbsp;3rd or 4th place overall and consistently number 2 in our demo. I wouldn't want to enter any radio battle without them.</p><p><strong>Danny Howard </strong><br /> Director of Programming<br />WDEF/WDOD Chattanooga</p>";
		
		myConsult[1] = "<p>Mike Henry has provided us the straight scoop on the radio business. For over five years now, he has our trust.</p><p><strong>Jim Christian </strong><br /> Managing Director, Anschutz Investment Company</p>";
		
		myConsult[2] = "<p>Paragon Research played a prominent role in both researching branding and potential programming improvements for NPR, and in assisting its Board of Directors in strategic planning and strategic presentations for its members.</p><p><strong>Jon Schwartz </strong><br /> General Manager<br />Wyoming Public Radio<br /><br />Chairman of the Board<br />NPR (former)</p>";
		
		myConsult[3] = "<p>Mike and Paragon brought a depth and range of expertise that was the equivalent of the highest quality \"station in a box.\" He went far beyond outstanding comprehensive service when he took the time to grow, develop and extend my staff's capabilities. Through Mike's work, RadioMilwaukee is not just a better performing radio station, it is a better organization.</p><p><strong>Mikel Ellcessor </strong><br /> Executive Director<br />Radio For Milwaukee</p>";
		
		myConsult[4] = "<p>We called Paragon to help us with some objective third-party consultation on our music services.  Mike brought not only analytical tools but also a mission orientation to the discussion that helped us consider options for our future.  It was extremely helpful to have such expert outside perspective on our work, and we look forward to working with Mike and Paragon in the future.</p><p><strong>Sarah Lutman </strong><br /> Senior Vice President<br />Content and Media, Minnesota Public Radio | American Public Media</p>";
		
		
		function showTestimonialsConsult(){
			var total = myConsult.length;
			var i = Math.floor(Math.random()*total);
			var content = myConsult[i];
			if(document.getElementById('testimonials')){
				document.getElementById('testimonials').innerHTML = content;
			}
			consultLogos();
		}
		
		var allLogos = new Array();
		allLogos[0] = myConsultLogos[0];
		allLogos[1] = myConsultLogos[1];
		allLogos[2] = myConsultLogos[2];
		
		allLogos[3] = myResearchLogos[0];
		allLogos[4] = myResearchLogos[1];
		allLogos[5] = myResearchLogos[2];
		
		function showAllLogos(){
			var total = allLogos.length;
			var i = Math.floor(Math.random()*total);
			var content = allLogos[i];
			if(document.getElementById('clientlogos')){
				document.getElementById('clientlogos').innerHTML = content;
			}
		}
		
		
		
		var allTests = new Array();
		allTests[0] = myArray[0];
		allTests[1] = myArray[1];
		allTests[2] = myArray[2];
		allTests[3] = myArray[3];
		allTests[4] = myArray[4];
		allTests[5] = myArray[5];
		allTests[6] = myArray[6];
		allTests[7] = myArray[7];
		allTests[8] = myArray[8];
		allTests[9] = myArray[9];
		//allTests[10] = myArray[10];
		//allTests[11] = myArray[11];
		//allTests[12] = myArray[12];
		allTests[13] = myConsult[0];
		allTests[14] = myConsult[1];
		allTests[15] = myConsult[2];
		allTests[16] = myConsult[3];
		allTests[17] = myConsult[4];
		//allTests[18] = myArray[13];
		//allTests[19] = myArray[14];
		
		function showTestimonialsAll(){
			var total = allTests.length;
			var i = Math.floor(Math.random()*total);
			var content = allTests[i];
			if(document.getElementById('testimonials')){
				document.getElementById('testimonials').innerHTML = content;
			}
			showAllLogos();
		}
		
		
function rmObj(myObj){
	if(myObj.hasChildNodes()){
		for(var i = 0;i < myObj.childNodes.length;i++){
			rmObj(myObj.childNodes[i]);
		}
	}
	myObj.parentNode.removeChild(myObj);
}

String.prototype.ltrim = function() {
	return this.replace(/^\s+/,"");
}

String.prototype.rtrim = function() {
	return this.replace(/\s+$/,"");
}

String.prototype.trim = function() {
	return this.ltrim().rtrim();
};

String.prototype.cleanUsername = function() {
	return this.replace(/[^A-Za-z0-9._@-]/g,"");	
}

String.prototype.parseAlphanumeric = function() {
	return this.replace(/[^A-Za-z0-9]/g,"");	
}

String.prototype.parseWordsOnly = function() {
	return this.replace(/[^A-Za-z0-9 ]/g,"");	
}

function isEmail(s){ 
    if (s.trim() == "") return false;
    
    var i = 1;
    var sLength = s.length;

	while ((i < sLength) && (s.charAt(i) != "@")){ 
		i++
    }

    if ((i >= sLength) || (s.charAt(i) != "@")) return false;
    else i += 2;

    while ((i < sLength) && (s.charAt(i) != ".")){ 
		i++
    }

    if ((i >= sLength - 1) || (s.charAt(i) != ".")) return false;
    else return true;
}


function track(URL){
	//var myURL = URL;
	//pageTracker._trackPageview(URL);
	wuiTracker._trackPageview(URL);
	parTracker._trackPageview(URL);
	//alert(URL);
}

if(window.location.pathname.indexOf("//") != -1){
	var new_pathname = window.location.pathname;
	while(new_pathname.indexOf("//") != -1){
		new_pathname = new_pathname.split("//").join("/");	
	}
	window.location = new_pathname;
}

-->