var menus1 = new Array();
menus1[0]=new Array();
menus1[0][0]="";
menus1[0][1]="";
menus1[1]=new Array();
menus1[1][0]="";
menus1[1][1]="";
menus1[2]=new Array();
menus1[2][0]="Headlines,Local,Regional,Updated,Education,State,National News,Photo Galleries,Wild Art";
menus1[2][1]="http://www.lubbockonline.com/heads.shtml,http://www.lubbockonline.com/local,http://www.lubbockonline.com/regional,http://www.lubbockonline.com/update,http://www.lubbockonline.com/education,http://www.lubbockonline.com/state,http://ap.lubbockonline.com/pstories/,http://www.lubbockonline.com/gallery,http://www.lubbockonline.com/wildart";
menus1[3]=new Array();
menus1[3][0]="";
menus1[3][1]="";
menus1[4]=new Array();
menus1[4][0]="Court Records,Police Blotter,Bankruptcies,Grand Jury Indictments";
menus1[4][1]="http://www.lubbockonline.com/court_records,http://www.lubbockonline.com/police,http://www.lubbockonline.com/bankruptcies,http://www.lubbockonline.com/grand_jury";
menus1[5]=new Array();
menus1[5][0]="General,High School,College,Red Raiders,Professional,Don Williams";
menus1[5][1]="http://www.lubbockonline.com/general_sports,http://www.lubbockonline.com/high_school,http://www.lubbockonline.com/college_sports,http://www.redraiders.com,http://www.lubbockonline.com/pro_spts,http://www.lubbockonline.com/don_williams";
menus1[6]=new Array();
menus1[6][0]="Headlines,Around Town,How They Fare,TV Listings,Movie Times,William Kerns";
menus1[6][1]="http://www.lubbockonline.com/entertainment,http://www.lubbockonline.com/around_town,http://www.lubbockonline.com/how_they_fare,http://tvlistings4.zap2it.com/partners/index.asp?partner_id=lub,http://www.lubbockonline.com/entertainment/movies.htm,http://www.lubbockonline.com/william_kerns";
menus1[7]=new Array();
menus1[7][0]="Editorials,Columnists,Guest Columnists,Letters to the Editor,Discussion Boards,Submit a Letter,Website Feedback,Terry Greenberg,Burle Pettit,Bev Long";
menus1[7][1]="http://www.lubbockonline.com/editorial,http://www.lubbockonline.com/columnists,http://www.lubbockonline.com/guest,http://www.lubbockonline.com/letters,http://forums.lubbockonline.com/cgi-bin/bb/ultimatebb.cgi,http://www.lubbockonline.com/interactive/letter_editor.shtml,http://www.lubbockonline.com/interactive/feedback.shtml,http://www.lubbockonline.com/terry_greenberg,http://www.lubbockonline.com/burle_pettit,http://www.lubbockonline.com/bev_long";
menus1[8]=new Array();
menus1[8][0]="Headlines,Medical,Religion,Beth Pratt,A Word in Edgewise";
menus1[8][1]="http://www.lubbockonline.com/lifestyles,http://www.lubbockonline.com/medical,http://www.lubbockonline.com/religion,http://www.lubbockonline.com/beth_pratt,http://www.lubbockonline.com/edgewise";
menus1[9]=new Array();
menus1[9][0]="Headlines,Business & Industrial,Chris Van Waganen";
menus1[9][1]="http://www.lubbockonline.com/business,http://www.lubbockonline.com/bandi,http://www.lubbockonline.com/chris_van_wagenen";
menus1[10]=new Array();
menus1[10][0]="Focus on Agriculture";
menus1[10][1]="http://www.lubbockonline.com/focusonagriculture/agriculture.pdf";
menus1[11]=new Array();
menus1[11][0]="";
menus1[11][1]="";
menus1[12]=new Array();
menus1[12][0]="";
menus1[12][1]="";
menus1[13]=new Array();
menus1[13][0]="Anniversaries,Births,Engagements,Forms,Legals,Weddings";
menus1[13][1]="http://www.lubbockonline.com/announcements,http://www.lubbockonline.com/announcements,http://www.lubbockonline.com/announcements,http://www.lubbockonline.com/announcements/forms.shtml,http://www.legalnotice.org/pl/lubbockonline/,http://www.lubbockonline.com/announcements";
menus1[14]=new Array();
menus1[14][0]="";
menus1[14][1]="";
menus1[15]=new Array();
menus1[15][0]="Life in Lubbock,Nurses Appreciation Tab,Showcase of Homes,Adopt a Pet,Home and Garden Show,2005 Auto Show,Home and Garden Tab,Fishing Outdoor Guide,Overton Project,Summer Fun Tab,A Time for Women";
menus1[15][1]="http://lifeinlubbock.com,http://www.lubbockonline.com/nurses/,http://lubbockonline.com/showcase/showcase.pdf,http://lubbockonline.com/adoptapet2005/,http://www.lubbockonline.com/homegarden/2005show,http://www.lubbockautos.com/2005guide,http://lubbockonline.com/homegarden/homegarden4,http://www.lubbockonline.com/outdoor_guide,http://www.lubbockonline.com/overton,http://www.lubbockonline.com/summerfun2005,http://www.atimeforwomen.com";
/* LAST UPDATED: 8/25/2006 at 14:13:51 from 216.116.252.50 */


/***********
FRAME BUSTER
***********/
function FrameBuster() {
	if(self!=top) {top.location.href=self.location.href;}
}
setTimeout("FrameBuster()",3000);


/***************************
ERROR REPORTING AND BLOCKING
***************************/
window.onerror = ReportErr
function ReportErr(a,b,c) {
	var img=new Image();
	img.src="http://lubbockonline.net/error.asp?a="+escape(a)+"&b="+escape(b)+"&c="+escape(c)+"&d="+escape(navigator.appName)+"&e="+escape(navigator.userAgent);
	return true;
}


/***********
AD VARIABLES
***********/
var _version=11;
var query="";
var oas="http://ads.lubbockonline.com/RealMedia/ads/";
var scriptwritten=false;
switch (sitepage)
{
   case "www.lubbockonline.com/index.shtml" :
	var listpos="Left,Position1,Right,Right1,Right3,TopLeft,TopRight,x01,x02,x04,x05,x32";
	break;
   case "www.lubbockonline.com/heads.shtml" :
	var listpos="Bottom3,Frame2,Left,Middle3,Position1,Right,Right1,Right2,Right3,TopLeft,TopRight,Top3,x01,x04,x05,x32";
	break;
   case "www.lubbockonline.com/classified/business/index.html" :
	var listpos="Right1,TopLeft,TopRight,x92,x93,x94,x95,x96";
	break;
   case "www.lubbockonline.com/classified/transportation/index.html" :
	var listpos="Right1,TopLeft,TopRight,x92,x93,x94,x95,x96";
	break;
   case "www.lubbockonline.com/classified/merchandise/index.html" :
	var listpos="Right1,TopLeft,TopRight,x92,x93,x94,x95,x96";
	break;
   case "www.lubbockonline.com/classifieds/class_rent_browse/index.html" :
	var listpos="Right1,TopLeft,TopRight,x92,x93,x94,x95,x96";
	break;
   case "www.lubbockonline.com/classifieds/class_rent_browse/index.html" :
	var listpos="Right1,TopLeft,TopRight,x92,x93,x94,x95,x96";
	break;
   case "www.lubbockonline.com/test.html" :
	var listpos="x04,x05";
	break;
   case "www.lubbockonline.com/obits/index.html" :
   	var listpos="TopLeft,TopRight,Right1,x01,Right,Top3,Right2,Middle3,Bottom3,Right3,Frame2,Position1,Left,Top2"
   default :
	var listpos="Bottom3,Frame1,Frame2,Left,Middle3,Position1,Right,Right1,Right2,Right3,TopLeft,TopRight,Top2,Top3,x01,x32,x68";
}
/*var listpos="Bottom3,Frame1,Frame2,Left,Middle3,Position1,Right,Right1,Right2,Right3,TopLeft,TopRight,Top2,Top3,x01,x02,x04,x05,x32,x68,x92,x93,x94,x95,x96";*/
/*var listpos="Bottom,BottomLeft,BottomRight,Bottom1,Bottom2,Bottom3,Frame1,Frame2,Left,Left1,Left2,Left3,Middle,Middle1,Middle2,Middle3,Position2,Position3,Position4,Right,Right1,Right2,Right3,Top,TopLeft,TopRight,Top1,Top2,Top3,x01,x02,x03,x04,x05,x06,x07,x08,x09,x31,x32,x68,x92,x93,x94,x95,x96";*/
var RN=new String (Math.random());
var RNS=RN.substring(2, 11);
var strAdInclude = "<script language='javascript' type='text/javascript' src='"+oas+"adstream_mjx.ads/"+sitepage+"/1"+RNS+"@"+listpos+"?"+query+"'></"+"script>";
document.write(strAdInclude);


/*************
MENU FUNCTIONS
*************/
var built=0;
var lay="";
var tim;
var ie4=(document.all)?true:false;
var ns4=(document.layers)?true:false;
var ns6=(document.getElementById&&!document.all)?true:false;


function Hide(Cid) {
	if(built==1) {
		tim=setTimeout("hidelayer(lay)",1250);
		if(document.getElementById&&Cid!=null) {
			document.getElementById(Cid).style.backgroundColor="#D7DCE0";
		}
	}
}


function Stay(Cid) {
	clearTimeout(tim);
	if(document.getElementById&&Cid!=null) {
		document.getElementById(Cid).style.backgroundColor="#ABB1C9";
	}
}


function hidelayer(l) {
	if(ie4) {
		eval("document.all."+l).style.visibility="hidden";
	} else if(ns6) {
		document.getElementById(l).style.visibility="hidden";
	} else if(ns4) {
		eval("document."+l+".visibility='hide';");
	}
}


function Menu1(n,l,t) {
	if(built==1) {
		if(lay!="") {hidelayer(lay);}
		lay="Sub"+n;
		clearTimeout(tim);
		if(ie4) {
			t=(eval("document.all."+lay).clientHeight+t-document.body.scrollTop<document.body.clientHeight)?t:document.body.clientHeight-eval("document.all."+lay).clientHeight+document.body.scrollTop;
			eval("document.all."+lay).style.left=l;
			eval("document.all."+lay).style.top=t;
			eval("document.all."+lay).style.visibility="visible";
		} else if(ns6) {
			over=document.getElementById(lay);
			t=(over.offsetHeight+t-window.pageYOffset<innerHeight)?t:innerHeight-over.offsetHeight+window.pageYOffset;
			over.style.left=l;
			over.style.top=t;
			over.style.visibility="visible";
		} else if(ns4) {
			eval("document."+lay+".left="+l);
			eval("document."+lay+".top="+t);
			eval("document."+lay+".visibility='show';");
		}
	}
}


function BuildMenus() {
	if(built==0) {
		var str="";
		var items="";
		var links="";
		var alldiv="";
		var hide=ns4?"hide":"hidden";
		for(var num=0;num<menus1.length;num++) {
			items=menus1[num][0].split(",");
			links=menus1[num][1].split(",");
			str="<div id=\"Sub"+num+"\" style=\"position:absolute;Top:0px;Left:0px;z-index:"+(100+num)+";visibility:"+hide+";\">";
			if(items!="") {
				str+="<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#314596 valign=top align=center><table border=0 cellpadding=2 cellspacing=1>";
					for(var i=0;i<items.length;i++) {
						str+="<tr><td nowrap bgcolor=#D7DCE0 height=18 id=\"C"+num+i+"\"><a href=\""+links[i]+"\" onmouseover=Stay(\"C"+num+i+"\") onmouseout=Hide(\"C"+num+i+"\") class=subitem>"+items[i]+"</a></td></tr>";
					}
					str+="</table></td></tr></table>";
			} else {
				str+="<img src=http://lubbockonline.com/images/spacer.gif width=1 height=1>";
			}
			str+="</div>";
			alldiv+=str;
		}
		document.write(alldiv);
		built=1;
	}
}


/*******
AD CALLS
*******/
function DisplayAds() {
	var pos=DisplayAds.arguments[0];
	OAS_RICH(pos);
}


function OAS_AD(pos) {
	DisplayAds(pos);
}


/*********************
GENERAL PAGE FUNCTIONS
*********************/
function DoSearch()	{
	var s=document.searchform;
	var strSearch=eval("s.Keywords.value").replace(/^(\s+)/,"").replace(/(\s+)$/,"");
	if(strSearch=="" || strSearch=="Keywords") {
		alert("Please enter a search value");
		s.Keywords.focus();
		return false;
 	} else {
		location.href="http://www.lubbockonline.com/cgi-bin/smart_search/cqcgi/@lub_stories.env?CQ_LOGIN=&CQ_DTF_SIMPLE_RESULTS=YES&CQ_USER_NAME=guest&CQ_PASSWORD=guest&CQ_DO_QUERY=YES&CQ_CUR_LIBRARY=lub_stories&CQ_QUERY_TYPE=smart&CQ_EXPANSION_LEVEL=3&CQ_MAX_WILDCARD=1000&CQ_MAX_FUZZY_SPELLING=50&CQ_MAX_DOCS=50&CQ_DOC_MARKUP_STYLE=7&CQ_QUERY_STRING="+escape(strSearch);
		return false;
 	}
}


function JumpToDay() {
	var d=document.DayForm;
	var x=d.Day.selectedIndex;
	if(x!=0) {
		var strPg=d.Day.options[x].value;
		location.href=strPg;
	}
}


function setCookie(name,value,expires) {
	var curCookie=name+"="+escape(value)+"; expires="+expires;
	document.cookie=curCookie;
}


function getCookie(name) {
	var dc=document.cookie;
	var prefix=name+"=";var begin=dc.indexOf("; "+prefix);
	if(begin==-1) {
		begin=dc.indexOf(prefix);
		if(begin !=0) {return null;}
	} else {
		begin+=2;
		var end=document.cookie.indexOf(";",begin);
		if(end==-1) {end=dc.length;}
		return unescape(dc.substring(begin+prefix.length,end));
	}
}


function DeleteCookie(name,path,domain) {
	if(getCookie(name)) {
		document.cookie=name+"="+((path)? "; path="+path : "")+((domain)? "; domain="+domain : "")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";
	}
}


function popupWin(url,NameofWin,NameofCookie,left,top,HeightofWin,WidthofWin) {
	var now=new Date();
	now.setTime(now.getTime()+(1000*60*60*24));
	setCookie("enabled",1,now,"/");
	if(getCookie("enabled")) {
		if(document.layers || document.all) {
			if(getCookie(NameofCookie)!=1) {
				var pmP=window.open(url,NameofWin,"top="+top+",left="+left+",height="+HeightofWin+",width="+WidthofWin+"");
				var now=new Date();
				now.setTime(now.getTime()+(1000*60*60*24));
				setCookie(NameofCookie,1,now,"/");
			}
		}
	}
}


function archiver() {
	var sa=document.searcharchive;
	var m=sa.searchmonth.value;
	var d=sa.searchday.value;
	var y=sa.searchyear.value;
	var reInt=/^\d+$/;
	if(!(reInt.test(m))||!(reInt.test(d))||!(reInt.test(y))) {
		alert("Please enter a valid date to continue");
		return false;
	}
	if(parseInt(m)>0&&parseInt(m)<10&&m.length==1) {
		m="0"+m;
	}
	if(m=="01"||m=="03"||m=="05"||m=="07"||m=="08"||m=="10"||m=="12") {
		days=31;
	} else if (m=="02") {
		days=29;
	} else {
		days=30;
	}
	if (d>days) {
		alert("Please enter a vaild day");
		sa.searchday.focus();
		return false;
	}
	if (y.length==1) {
		alert("Please enter a 2 digit year to continue");
		sa.searchyear.focus();
		return false;
	}
	location.href="http://www.lubbockonline.com/cgi-bin/datesearch.pl?month="+m+"&day="+d+"&year="+y;
	return false;
}


/**********************
POPUP WINDOW ONCE A DAY
**********************/
function PopOnceADay(strURL,strHandle,strProps) {
	var count=getCookie(strHandle);
	if (count<1) {
		count=1;
		var exp=new Date();
		exp.setTime(exp.getTime()+(24*60*60*1000));
		setCookie(strHandle,count,exp.toGMTString());
		window.open(strURL,strHandle,strProps);
	}
}


/********************************************
DO NOT REMOVE THESE FUNCTIONS. LINKS IN OLDER
PAGES WITH JCARTER CODE REQUIRE THESE TO WORK
********************************************/
function FCx(x){return x;}
function FCx2(x){return x;}

/**************
PICTOPIA SCRIPT
***************/
var ptpServer = "www.pictopia.com";
var namespace = 'lubb';
function goPtp (name, title, t_url) {
  var loc = 'http://' + ptpServer + '/perl/ptp/' + namespace + '?photo_name=' + name + '&title=' + title + '&t_url=' + t_url + '&time=' + new Date().getTime();
  var win = window.open(loc, 'ptp_' + namespace, 'scrollbars=yes, resizable=yes, toolbar=no, ' + 'status=yes, width=690,height=700, menubar=no');
  win.focus();
}

/**************
REGISTRATION
***************/
function getCookie2(name) {
    var dc = document.cookie;
    var prefix = name + "=";
    var begin = dc.indexOf("; " + prefix);
    if (begin == -1) {
        begin = dc.indexOf(prefix);
        if (begin != 0) return null;
    } else
        begin += 2;
    var end = document.cookie.indexOf(";", begin);
    if (end == -1)
        end = dc.length;
    return unescape(dc.substring(begin + prefix.length, end));
}
<!-- end of file -->
