
function PageQuery(q) {
if(q.length > 1) this.q = q.substring(1, q.length);
else this.q = null;
this.keyValuePairs = new Array();
if(q) {
for(var i=0; i < this.q.split("&").length; i++) {
this.keyValuePairs[i] = this.q.split("&")[i];
}
}
this.getKeyValuePairs = function() { return this.keyValuePairs; }
this.getValue = function(s) {
for(var j=0; j < this.keyValuePairs.length; j++) {
if(this.keyValuePairs[j].split("=")[0] == s)
return this.keyValuePairs[j].split("=")[1];
}
return false;
}
this.getParameters = function() {
var a = new Array(this.getLength());
for(var j=0; j < this.keyValuePairs.length; j++) {
a[j] = this.keyValuePairs[j].split("=")[0];
}
return a;
}
this.getLength = function() { return this.keyValuePairs.length; }
}
function queryString(key){
var page = new PageQuery(window.location.search);
return unescape(page.getValue(key));
}
function getQS(key){
if(queryString(key)=='false')
{
	return;
}else{ 
return queryString(key);
}
}
  
 
 if((document.location.search==undefined)||(document.location.search=="")){QS="";}else{QS=document.location.search;QSA=QS.split("=");QS=QSA[1];QSA=QS.split("&");QS=QSA[0];} 
 if((document.title==undefined)||(document.title=="")){DT=NO_TITLE_VAR;}else{DT=document.title;}
 myPageName=DT+" | "+QS; 
 if((document.title==undefined)||(document.title=="")){DT=NO_TITLE_VAR;}else{DT=document.title;DTA=DT.split(" | ");DT=DTA[1];}
  mySlug=QS+" - " + DT.substring(0,35) + ">" + myServer + ">" + myProp6;
 s.server=myServer 
 s.pageName=s.server+"^ " + myPageName 
 s.channel=myChannel 
 s.pageType=myPageType 
 s.prop1=myProp1  
 s.prop2=myProp2
 s.prop3=myProp3 
 s.prop4=myProp4 
 s.prop5=myProp5
 s.prop6=myProp6 
 s.prop7=myProp7
 s.prop16=myProp16
 if(s.prop16 == 'article'){s.prop11 = mySlug;}
 if(s.prop16 == 'video'){s.prop12 = getQS('aid');}
 s.prop17=myProp6
 s.prop18=myProp7
 s.prop8=myProp8
 s.prop23=document.location.href;
 /* s.prop39=myProp39 */

/* Override any s_code.js default settings here */
s.currencyCode="USD"
s.linkInternalFilters="javascript:,tampabays10.com"
s.prop25 = "Tampa Bay, FL:wtsp"
s.prop50 = "Broadcast"


/* Site specific doPlugins functions */
function s_prePlugins(s) {
	/* this gets run before standard doPlugins routines */
}

function s_postPlugins(s) {
	/* this gets run after standard doPlugins routines */
	
}
