document.write("<link rel=stylesheet type=\"text/css\" href=\"http://www.tinbuadserv.com/css_feed/lycos/tinbu_ctxt.css\">");
document.write("<script language=javascript src=\"http://www.tinbuadserv.com/js/ads/insweb.js\"></script>");
document.write("<script language=javascript src=\"http://www.tinbuadserv.com/js/ads/clickbank.js\"></script>");
document.write("<script language=javascript src=\"http://www.tinbuadserv.com/js/ads/adblade.js\"></script>");
document.write("<script language=javascript src=\"http://www.tinbuadserv.com/js/ads/leadrev.js\"></script>");
var HasSearchBar=true;
var HasSPagesSearch=true;
var HasLycosSearch=true;
var HasIndeedSearch=true;
var HasShopSearch=true;
var SearchTypeSPages=1;
var SearchTypeLycos=2;
var SearchTypeIndeed=3;
var SearchTypeShop=4;
var SearchSPagesText="Search Local";
var SearchShopText="Shopping";
var SearchLycosText="Search Web";
var SearchIndeedText="Find Jobs";
var SearchNavLinkType=1; // different combos of search bars (web, local, job, shopping)
var FillKeyword;
var CurrSubid=tinbu_subid;
var CurrSrchBar=SearchTypeSPages;
var pulse_title=new Array(null);
var pulse_url=new Array(null);
var pulse_host=new Array(null);
var pulse_desc=new Array(null);
var pulse_rate=new Array(null);
var top_ctxt_title=new Array(null);
var top_ctxt_url=new Array(null);
var top_ctxt_host=new Array(null);
var top_ctxt_desc=new Array(null);
var mid_ctxt_title=new Array(null);
var mid_ctxt_url=new Array(null);
var mid_ctxt_host=new Array(null);
var mid_ctxt_desc=new Array(null);
var btm_ctxt_title=new Array(null);
var btm_ctxt_url=new Array(null);
var btm_ctxt_host=new Array(null);
var btm_ctxt_desc=new Array(null);
var prcgrb=new Array(null);
var prcgrb_cat_id,prcgrb_cat_name,prcgrb_start;
var top_ads_type, mid_ads_type, btm_ads_type;
var TopAdsShowBanner=false;
var MidAdsShowBanner=false;
var BtmAdsShowBanner=true;
var PopularSearchProb=-1;
var ads_type_ctxt=1;
var ads_type_popular=2;
var ads_type_advert=3;
var ads_type_other=4;
var ads_type_clickbank=5;
var ads_type_adblade=6;
var ads_type_pulse360=7;
var ads_type_superpages=8;
var ads_type_leadrev=9;
var ads_type_ybrant=10;
var ads_type_indeed=11;
var ads_type_shopping=12;
var siteGeoInfo_db;
var UserSearchLocation;
var UserSearchKeywords;
var var_search_term="c0t1";
var var_search_page="c0t2";
var var_page_view="c0t3";
var var_last_time="c0t4";
var var_curr_prod="c0t5";
var var_ip_addr="c0t7";
var var_usr_loc="c0t8";
var var_user_req="c0t9";
var var_usr_key="c1t2";
var var_curr_subid="c1t3";
var var_topcat_id="c1t4";
var var_catzero_id="c1t5";
var var_prcgrab_key="c1t6";
var popular_terms=new Array("Term Life Insurance","Auto Insurance","DWI Lawyer","Debt Help","Dating Services","IRS Tax Attorneys");
var super_terms=new Array("Accommodation","Apartments","Auto Parts","Automotive","Beauty Salons","Boats & Marine","Broadcasting","Building & Maintenance","Business Services","Car Dealers","Car Rental","Children","Chinese Restaurants","Clothing & Fabric","Community","Computers & Electronics","Day Spas","Dentists","Education & Training","Electricians","Entertainment","Escort","Farming","Finance","Food & Drink","Gardening","Health & Beauty","Home & Garden","Hospitals","Hotels","Industrial","Massage","Mexican Restaurants","Movers","Movie Theaters","New Cars","Night Clubs","Pizza","Plumbers","Real Estate & Property","Security","Shopping","Sports & Leisure","Storage","Transport","Travel & Tourism","Used Cars","Wedding Arrangements");
var job_terms=new Array("Accounting","Admin","Banking & Finance","Boilermaker","Bookkeeper","Business Opportunity","Call Centre","Contract & Freelance","Customer Service","Draughtsman","Driver","Electrician","Engineering","Executive","Fitter","Franchise","Government","Graphic Design","HR","Health Care","Hospitality","Human Resources","IT","Management","Manager","Manufacturing","Marketing","Nonprofit","PA","Part Time","Personal Assistant","Reception","Retail","Safety Officer","Sales & Marketing","Science & Biotech","Secretary","Security","Technician","Transportation");
var shopping_terms=new Array();
shopping_terms=[[1,"Computers"],[2,"Electronics"],[3,"Video"],[4,"Movies"],[5,"Music"],[6,"Software"],[7,"Books"],[8,"Toys"],[9,"Office"],[10,"Jewelry"],[11,"Cameras"],[12,"Clothing"],[14,"Babies"],[16,"Health"],[17,"Flowers"],[18,"Sporting"],[19,"Musical"],[23,"Magazines"],[26,"Auto"],[27,"Appliances"],[28,"Outdoor"],[29,"Furniture"],[30,"Indoor"],[47,"Industrial Supply"]];
var popular_shop_terms=new Array("Lottery","Flowers","Outdoor","Auto","Auto","Magazines","Sporting Goods","Health","Travel","Household","Cooking","Sporting Goods","Office","Movies","Games");
var ck1="ctxt938fjjs";
var ck111=4;var ckl=new Array(null);var ck11l=31536000000;var cke=new Date();cke.setTime(cke.getTime()+ck11l);function cks1111(ck1ll,ck11,ck1l){if(!ck1l){ck1l=new Date();}document.cookie=ck1ll+'='+escape(ck11)+';expires='+ck1l.toGMTString()+';path=/';}function ckg1llll(ck1ll){var ck1ll1=document.cookie;var ck11ll=ck1ll+"=";var ck11l1=ck1ll1.length;var ck1l1l=0;while(ck1l1l<ck11l1){var ck1l11=ck1l1l+ck11ll.length;if(ck1ll1.substring(ck1l1l,ck1l11)==ck11ll){var ck111l=ck1ll1.indexOf(";",ck1l11);if(ck111l==-1)ck111l=ck11l1;return unescape(ck1ll1.substring(ck1l11,ck111l));}ck1l1l=ck1ll1.indexOf(" ",ck1l1l)+1;if(ck1l1l==0)break;}return null;}function ckd1lll1(ck1ll){document.cookie=ck1ll+'='+';expires=Thu,01-Jan-70 00:00:01 GMT;path=/';}function ck111l1(ck1ll){var ck11111=ckg1llll(ck1ll);if(ck11111){ck11111l=1;while(ck11111.indexOf('^')!= '-1'){ckl[ck11111l]=ck11111.substring(0,ck11111.indexOf('^'));ck11111l++;ck11111=ck11111.substring(ck11111.indexOf('^')+1,ck11111.length);}}}function ck1111l(ck1ll,ck1l){var ck11='';for(var ck11111l=1;ckl[ck11111l];ck11111l++){ck11 += ckl[ck11111l]+'^';}cks1111(ck1ll,ck11,ck1l);}function ck11l11(ck1ll,ck11lll,ck1l){var ck11='';ck111l1(ck1ll);for(var ck11111l=1;ck11111l<ck11lll;ck11111l++){ck11 += ckl[ck11111l]+'^';}for(var ck1lll=ck11lll+1;ckl[ck1lll];ck1lll++){ck11 += ckl[ck1lll]+'^';}cks1111(ck1ll,ck11,ck1l);}function ck11ll1(){var ck11111l=0;for(var ck1lll=1;ckl[ck1lll];ck1lll++){ck11111l=ck1lll}return ck11111l+1;}function ckDP1l1l1(){if(document.cookie=='')document.write('nothing');else{ck1l1=document.cookie.split(';');for(ck11111l=0;ck11111l<ck1l1.length;ck11111l++){document.write(ck1l1[ck11111l]+'<br>');}}}function ckS1l1ll(ck1l111,ck1l11l){var ck111111;ck111l1(ck1);for(ck111111=1;ckl[ck111111];ck111111++){if(ckl[ck111111].substring(0,ck111)==ck1l111){ckl[ck111111]=ck1l111+ck1l11l;ck1111l(ck1,cke);return;}}var ck111ll=ck11ll1();ckl[ck111ll]=ck1l111+ck1l11l;ck1111l(ck1,cke);}function ckG1ll11(ck1l111){var ck111111;ck111l1(ck1);for(var ck111111=1;ckl[ck111111];ck111111++){if(ckl[ck111111].substring(0,ck111)==ck1l111){return(ckl[ck111111].substring(ck111));}}return "";}function ckD1ll1l(ck1l111){var ck111111;ck111l1(ck1);for(ck111111=1;ckl[ck111111]; ck111111++){if(ckl[ck111111].substring(0,ck111)==ck1l111){ck11l11(ck1,ck111111,cke);return;}}}

var cm_channel_index=0;
// Do not show bottom banner ads for CBS Radio
if (tinbu_subid.indexOf("tinbu.cbsradio") >= 0) {
 BtmAdsShowBanner=false;
}

if (tinbu_subid.indexOf(".lottery") >= 0) {
 cm_channel_index=0;
} else if (tinbu_subid.indexOf(".horoscope") >= 0) {
 cm_channel_index=1;
} else if (tinbu_subid.indexOf(".weather") >= 0) {
 cm_channel_index=2;
} else if (tinbu_subid.indexOf(".gasprice") >= 0) {
 cm_channel_index=3;
} else if (tinbu_subid.indexOf(".mpg") >= 0) {
 cm_channel_index=4;
} else if (tinbu_subid.indexOf(".models") >= 0) {
 cm_channel_index=5;
} else if (tinbu_subid.indexOf(".soccer") >= 0) {
 cm_channel_index=6;
} else if (tinbu_subid.indexOf(".fitness") >= 0) {
 cm_channel_index=7;
} else if (tinbu_subid.indexOf(".flight") >= 0) {
 cm_channel_index=8;
} else if (tinbu_subid.indexOf(".mortgage") >= 0) {
 cm_channel_index=9;
} else if (tinbu_subid.indexOf(".recipe") >= 0) {
 cm_channel_index=10;
} else if (tinbu_subid.indexOf(".sports") >= 0) {
 cm_channel_index=11;
} else if (tinbu_subid.indexOf(".stocks") >= 0) {
 cm_channel_index=12;
} else if (tinbu_subid.indexOf(".entertainment") >= 0) {
 cm_channel_index=13;
} else if (tinbu_subid.indexOf(".sudoku") >= 0) {
 cm_channel_index=14;
} else {
 cm_channel_index=0;
}
function GetUserSearchInfo(ShowSchTerm,SearchType)
{
 UserSearchLocation=ckG1ll11(var_usr_loc);
 if (UserSearchLocation=="") {
  var IPAddr=ckG1ll11(var_ip_addr);
  if (IPAddr=="") {
   IPAddr="0";
  }
  document.write("<script language=javascript src='http://www.tinbuadserv.com/ads_mgmt/adserv/geo.php?ip="+IPAddr+"'></script>");
 }

 var search_terms=super_terms;
 if (SearchType==SearchTypeIndeed){
  search_terms=job_terms;
 } else if (SearchType==SearchTypeShop){
  search_terms=popular_shop_terms;
 }
 var ridx=Math.floor(Math.random()*search_terms.length);
 var RandKeyword=search_terms[ridx];
 if (SearchType==SearchTypeShop){
  RandKeyword=search_terms[cm_channel_index];
 }
 UserSearchKeywords=ckG1ll11(var_usr_key);
 FillKeyword=RandKeyword;
 if (ShowSchTerm) {
  var newFillKeyword=ckG1ll11(var_search_term);
  if (SearchType==SearchTypeShop) {
   newFillKeyword=ckG1ll11(var_prcgrab_key);
  }
  if(newFillKeyword!="") {
   FillKeyword=newFillKeyword;
  }
 }
}
GetUserSearchInfo(true,SearchTypeSPages);
function PageViewSessionExpired()
{
 var LastSubID=ckG1ll11(var_curr_prod);
 if (LastSubID == "" || LastSubID != tinbu_subid) {
  return true; 
 }

 var LastTimeStamp=ckG1ll11 (var_last_time);
 if (LastTimeStamp == "") { return true; }

 var curr_session_date=new Date();
 var curr_session_sec=parseInt(curr_session_date.valueOf()/1000);
 var TimeDiff=curr_session_sec - LastTimeStamp;

 return (TimeDiff > 600);
}
function SetPageViewSession()
{
 var curr_session_date=new Date();
 var curr_session_sec=parseInt(curr_session_date.valueOf()/1000);
 ckS1l1ll (var_last_time, curr_session_sec);
 ckS1l1ll (var_curr_prod, tinbu_subid);
}
function getCurrentPageView()
{
 var pageView;
 if (PageViewSessionExpired()) {
  pageView=1;
 } else {
  pageView=ckG1ll11 (var_page_view);
  if (pageView == "") {
   pageView=1;
  } else {
   pageView++;
  }
 }
 ckS1l1ll (var_page_view, pageView);
 SetPageViewSession();
 return pageView;
}
var currPageView=getCurrentPageView();


if (tinbu_subid.indexOf(".search") < 0) {
 var ads_rotate=0;
 if (tinbu_subid.indexOf("tinbu.ClearChannels") >= 0) { 
  ads_rotate=2;
  BtmAdsShowBanner=false;
 } else if (tinbu_subid.indexOf("tinbu.com")>=0) {
  ads_rotate=1;
 } else if (tinbu_subid.indexOf("tinbu.cbsradio.") >= 0 || tinbu_subid.indexOf("nclotto.com.") >= 0) {
  ads_rotate=3;
 } else if (tinbu_subid.indexOf(".parkedpage.") >= 0 || tinbu_subid.indexOf(".ParkedPage.") >= 0) {
  ads_rotate=4;
 } else if (tinbu_subid.indexOf("tinbu.TBmyspaceH") >= 0) { 
  ads_rotate=8;
 } else if (tinbu_subid.indexOf("tinbutest.com")>=0) {
  ads_rotate=9;
 }
 document.write ("<script language=javascript src=\"http://www.tinbuadserv.com/ads_mgmt/adserv/lycos_tinbu_cm_ctxt.php?Channel="+cm_channel_index+"&subid="+tinbu_subid+"&serveUrl="+tinbu_cxt_serveUrl+"&view="+currPageView+"&geoloc="+UserSearchLocation+"&btmbanner="+BtmAdsShowBanner+"&rotate="+ads_rotate+"\"></script>");
}
function ShowPopularShoppingHelp(i)
{
 if(prcgrb_start=='undefined'||prcgrb_start==null){
  prcgrb_start=1;
  prcgrb[0]="Printers";
  prcgrb[1]="Hard Drives";
  prcgrb[2]="Flat Panel and LCD Monitors";
  prcgrb[3]="Desktops";
 }
 var fn=prcgrb_start+i+1;
 var item=escape(prcgrb[i]);
 var urlstr="javascript:ShoppingPopularSearch("+prcgrb_cat_id+",0,'"+item+"',1)";
 document.write("<td width=60><a href=\""+urlstr+"\"><img title=\""+prcgrb[i]+"\" alt=\""+prcgrb[i]+"\" border=0 src='http://www.tinbuadserv.com/imgs_feed/pricegrabber/"+prcgrb_cat_id+"/"+fn+".jpg'></a></td>");
 document.write("<td width=170>");
 document.write("<a class=spsrchhost href=\""+urlstr+"\"><b>"+prcgrb[i]+"</b></a>");
 document.write("<br><a class=clicklink href=\""+urlstr+"\">List All & Compare Prices</a>");
 document.write("</td>");
}
function ShowPopularShopping()
{
 if(prcgrb_cat_id=='undefined'||prcgrb_cat_id==null){
  prcgrb_cat_id=1;
  prcgrb_cat_name="Computers";
 }
 document.write("<br><center><table bgcolor=#E0E0E0 cellpadding=2 border=0 cellspacing=1 width=468>");
 document.write("<tr valign=middle><td align=left class=spsrchtitle bgcolor=#F3F3F3><a class=clicklink href=\"javascript:ShoppingPopularSearch("+prcgrb_cat_id+",0,'',1)\"><img align=top border=0 src='http://www.tinbuadserv.com/imgs_feed/nhead_popcat_0.gif'></a>");
 document.write("&nbsp;<a class=clicklink href=\"javascript:ShoppingPopularSearch("+prcgrb_cat_id+",0,'',1)\">"+prcgrb_cat_name+"&nbsp;>&nbsp;<b>List All</b></a></td></tr>");
 document.write("<tr><td bgcolor=#FFFFFF>");
 document.write("<table bgcolor=#FFFFFF cellpadding=2 border=0 cellspacing=0 width=100%><tr align=left>");
 ShowPopularShoppingHelp(0);
 document.write("<td width=8>&nbsp;</td>");
 ShowPopularShoppingHelp(1);
 document.write("</tr><tr align=left>");
 ShowPopularShoppingHelp(2);
 document.write("<td width=8>&nbsp;</td>");
 ShowPopularShoppingHelp(3);
 document.write("</tr></table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowSearchByType(SearchType)
{
 var search_terms;
 var find_what;
 if (SearchType==SearchTypeSPages) {
  search_terms=super_terms;
  find_what="Business";
 } else {
  search_terms=job_terms;
  find_what="Jobs";
 }
 var randnum=Math.floor(Math.random()*search_terms.length);
 var startidx;
 if (randnum<9) {
  startidx=0;
 } else {
  startidx=randnum-9;
 }
 GetUserSearchInfo(false,SearchTypeSPages);
 if (UserSearchLocation=="") {
  UserSearchLocation="Los Angeles CA";
 }
 document.write("<br><center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=95%>");
 document.write("<form method=post name=SuperPagesSearch action=\"javascript:GoToSearch()\" onsubmit=\"return SaveSearchByType(this)\">");
 document.write("<tr><td align=left class=spsrchtitle bgcolor=#E5E5E5>");
 document.write("<b>&nbsp;Find "+find_what+" In&nbsp;</b><input onChange=\"ChangeLocation(this.value)\" class=tbtextinput type=text name=bizloc value=\""+UserSearchLocation+"\"></td></tr></form>");
 document.write("<tr><td align=left class=ctxt_box>");
 document.write("<table bgcolor=#FFFFFF cellpadding=3 border=0 cellspacing=0 width=100%>");
 document.write("<tr valign=top align=center><td bgcolor=#E5E5E5 colspan=3 class=spsrchcontent>");
 document.write("</td></tr>");
 var superidx;
 for (superidx=0; superidx<3;superidx++)
 {
  document.write("<tr valign=top align=left>");
  document.write("<td align=left width=33%><a class=super_link href=\"javascript:SuperIndeedPopularSearch("+SearchType+",'"+search_terms[3*superidx+startidx]+"')\">"+search_terms[3*superidx+startidx]+"</a></td>");
  document.write("<td align=left width=33%><a class=super_link href=\"javascript:SuperIndeedPopularSearch("+SearchType+",'"+search_terms[3*superidx+startidx+1]+"')\">"+search_terms[3*superidx+startidx+1]+"</a></td>");
  document.write("<td align=left width=33%><a class=super_link href=\"javascript:SuperIndeedPopularSearch("+SearchType+",'"+search_terms[3*superidx+startidx+2]+"')\">"+search_terms[3*superidx+startidx+2]+"</a></td>");
  document.write("</tr>");
 }
 document.write("</table>");
 document.write("</td></tr></form>");
 document.write("</table></center>");
}
function ShowDefaultPopularSearch()
{
 document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=95%><tr><td align=left height=60 class=ctxt_box>");
 document.write("<span class=srchdesc><b>&nbsp;Popular Searches</b></span><br>");
 document.write("<table cellpadding=2 border=0 cellspacing=0 width=100%>");
 var popIndex;
 for (popIndex=0; popIndex<3;popIndex++)
 {
  document.write("<tr align=left>");
  document.write("<td align=left width=33%><a class=ctxt_link href=\"javascript:LycosPopularSearch('"+popular_terms[popIndex]+"')\">&nbsp;<span class=TinbuPopularSearch>"+popular_terms[popIndex]+"</span></td>");
  document.write("<td align=left width=33%><a class=ctxt_link href=\"javascript:LycosPopularSearch('"+popular_terms[popIndex+1]+"')\">&nbsp;<span class=TinbuPopularSearch>"+popular_terms[popIndex+1]+"</span></td>");
  document.write("<td align=left width=33%><a class=ctxt_link href=\"javascript:LycosPopularSearch('"+popular_terms[popIndex+2]+"')\">&nbsp;<span class=TinbuPopularSearch>"+popular_terms[popIndex+2]+"</span></td>");
  document.write("</tr>");
 }
 document.write("</table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowAdvertisingComBanner()
{
 if (window.ACE_AR) {
  document.write("<center><table width=100%><tr><td align=center>");
  document.write("<center><SCRIPT TYPE='text/javascript' SRC='http://uac.advertising.com/wrapper/aceUAC.js'></SCRIPT></center>");
  document.write("</td></tr></table></center>");
 }
}
function GetCurrSubid()
{
 var subid=ckG1ll11(var_curr_subid);
 if (subid=="") {
  subid=tinbu_subid;
 }
 return subid;
}
function SetCurrSubid()
{
 if (tinbu_subid.indexOf(".search")>0) { //search initiated from search results
  return;
 }
 ckS1l1ll (var_curr_subid, tinbu_subid); //search initiated from module
}
function ShowAdsCell(CellWidth, AdsTitle, AdsDesc, AdsHost, AdsUrl, ShowDesc, ShowHost)
{
 NewAdsUrl=encodeURI(AdsUrl.replace(/%/g,'%25')).replace(/&/g,'%26')
 CurrSubid=GetCurrSubid();
 document.write("<td bgcolor=#FFFFFF width="+CellWidth+" onMouseOver=\"this.style.backgroundColor='#FFFFC0';this.style.cursor='hand'\" onMouseOut=\"this.style.backgroundColor='#FFFFFF'\">"); 
 document.write("<a target=_blank class=ctxt_link href=\"http://www.tinbuserver.com/ads/tinbu_redirect.php?");
 document.write("redirect="+NewAdsUrl);
 document.write("&title="+AdsTitle);
 document.write("&host="+AdsHost);
 document.write("&url="+window.location.href);
 document.write("&subid="+CurrSubid);
 document.write("&kw="+curr_keyword);
 document.write("&click=context");
 document.write("\"><span class=ctxt_title><u>"+AdsTitle+"</u></span>");
 if (ShowDesc) {
  document.write("<br>"+AdsDesc);
 }
 if (ShowHost) {
  document.write("<br><span class=ctxt_host>"+AdsHost+"</span></a></td>");
 } else {
  document.write("</span></a></td>");
 }
}
function ShowPopCell(CellWidth, PopTitle, PopDesc)
{
 document.write("<td bgcolor=#FFFFFF width="+CellWidth+" onMouseOver=\"this.style.backgroundColor='#FFFFC0';this.style.cursor='hand'\" onMouseOut=\"this.style.backgroundColor='#FFFFFF'\">"); 
 document.write("<a class=ctxt_link href=\"javascript:LycosPopularSearch('"+PopTitle+"')\"><span class=ctxt_title><u>"+PopTitle+"</u></span>");
 document.write("<br>"+PopDesc+"</span></a></td>");
}

function ShowTopInsWebAds()
{
 CurrSubid=GetCurrSubid();
 document.write("<center>");
 ShowInsWebAds(CurrSubid,tinbu_cxt_serveUrl);
 document.write("</center>");
}
function ShowTopCtxtPopSearchAds(FixedWidth)
{
 if (top_ctxt_title[0] == null || !top_ctxt_title[0]) {
  ShowDefaultPopularSearch();
  return;
 }
 if (FixedWidth) {
  document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=468><tr><td align=left class=ctxt_box>");
 } else {
  document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=100%><tr><td align=left class=ctxt_box>");
 }
 document.write("<table cellpadding=0 border=0 cellspacing=8 width=100%>");

 var adsIndex;
 for (adsIndex=0; adsIndex<top_ctxt_title.length; adsIndex++)
 {
  document.write("<tr align=left valign=top>");
  if (top_ads_type == ads_type_ctxt || top_ads_type == ads_type_pulse360) {
   ShowAdsCell("100%", top_ctxt_title[adsIndex], top_ctxt_desc[adsIndex], top_ctxt_host[adsIndex], top_ctxt_url[adsIndex], true, true);
  } else {
   ShowPopCell("100%", top_ctxt_title[adsIndex], top_ctxt_desc[adsIndex]);
  }
  document.write("</tr>");
 }

 document.write("</table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowYBrantAds()
{
 document.write("<center><script type=\"text/javascript\" src=\"http://ad.promanagerplus.com/st?ad_type=ad&ad_size=468x60&section=541418\"></script></center>");
}
function ShowPulse360Ads(AdsPostion)
{
 var adsIndex,startIndex,endIndex;
 var adsCount=pulse_title.length;
 CurrSubid=GetCurrSubid();
 if (AdsPostion==1){//Top
  startIndex=0;
  if(adsCount>=2) {
   endIndex=1;
  } else {
   endIndex=adsCount;
  }
 } else if (AdsPostion==2){//Middle
  if(adsCount>=4) {
   startIndex=2;
   endIndex=3;
  } else {
   startIndex=adsCount-2;
   endIndex=startIndex+1;
  }
 } else if (AdsPostion==3){//Bottom
  if(adsCount>=7) {
   startIndex=5;
   endIndex=7;
  } else {
   startIndex=adsCount-2;
   endIndex=adsCount-1;
  }
 }
 if (startIndex<0) { return; }

 document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=468><tr><td align=left class=ctxt_box>");
 document.write("<table cellpadding=0 border=0 cellspacing=8 width=100%>");
 for (adsIndex=startIndex;adsIndex<=endIndex;adsIndex++)
 {
  document.write("<tr align=left valign=top>");
  document.write("<td bgcolor=#FFFFFF width=100% onMouseOver=\"this.style.backgroundColor='#FFFFC0';this.style.cursor='hand'\" onMouseOut=\"this.style.backgroundColor='#FFFFFF'\">");
  document.write("<a target=_blank class=ctxt_link href=\"http://www.tinbuserver.com/ads/pulse360_redirect.php?");
  document.write("click_url="+pulse_url[adsIndex]);
  document.write("&title="+pulse_title[adsIndex]);
  document.write("&host="+pulse_host[adsIndex]);
  document.write("&site_url="+window.location.href);
  document.write("&subid="+CurrSubid);
  document.write("&rate="+pulse_rate[adsIndex]);
  document.write("&click_type=pulse");
  document.write("\"><span class=ctxt_title><u>"+pulse_title[adsIndex]+"</u></span>");
  document.write("<br>"+pulse_desc[adsIndex]);
  document.write("<br><span class=ctxt_host>"+pulse_host[adsIndex]+"</span></a></td>");
  document.write("</tr>");
 }

 document.write("</table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowTinbuCtxtAdsTopCom01(FixedWidth)
{
 switch (top_ads_type)
 {
  case ads_type_ctxt:
   ShowTopCtxtPopSearchAds(FixedWidth);
   break;
  case ads_type_popular:
   ShowTopCtxtPopSearchAds(FixedWidth);
   break;
  case ads_type_advert:
   ShowAdvertisingComBanner();
   break;
  case ads_type_other:
   ShowTopInsWebAds();
   break;
  case ads_type_clickbank:
   Show_CB_Ads(tinbu_subid,tinbu_cxt_serveUrl);
   break;
  case ads_type_adblade:
   AdBlade_Ads(cm_channel_index);
   break;
  case ads_type_pulse360:
   ShowPulse360Ads(1);
   break;
  case ads_type_superpages:
   ShowSearchByType(SearchTypeSPages);
   break;
  case ads_type_leadrev:
   Show_LR_Ad(CurrSubid,tinbu_cxt_serveUrl);
   break;
  case ads_type_ybrant:
   ShowYBrantAds();
   break;
  case ads_type_indeed:
   ShowSearchByType(SearchTypeIndeed);
   break;
  case ads_type_shopping:
   ShowPopularShopping();
   break;
 }
}

// width 468
function ShowTinbuCtxtAdsTop01()
{
 ShowTinbuCtxtAdsTopCom01(true);
}

// width 100%
function ShowTinbuCtxtAdsTop02()
{
 ShowTinbuCtxtAdsTopCom01(false);
}

function ShowMidCtxtPopSearchAds(DefinedWidth)
{
 if (mid_ctxt_title[0] == null || !mid_ctxt_title[0]) {
  ShowDefaultPopularSearch();
  return;
 }
 if (DefinedWidth>1) {
  document.write("<br><center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width="+DefinedWidth+"><tr><td height=60 class=ctxt_box>");
 } else if (DefinedWidth==1) {
  document.write("<br><center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=468><tr><td height=60 class=ctxt_box>");
 } else {
  document.write("<br><center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=100%><tr><td height=60 class=ctxt_box>");
 }
 document.write("<table cellpadding=0 border=0 cellspacing=8 width=100%>");

 for (adsIndex=0; adsIndex<mid_ctxt_title.length; adsIndex++)
 {
  document.write("<tr align=left valign=top>");
  if (mid_ads_type == ads_type_ctxt) {
   ShowAdsCell("100%", mid_ctxt_title[adsIndex], mid_ctxt_desc[adsIndex], mid_ctxt_host[adsIndex], mid_ctxt_url[adsIndex], true, true);
  } else {
   ShowPopCell("100%", mid_ctxt_title[adsIndex], mid_ctxt_desc[adsIndex]);
  }
  document.write("</tr>");
 }
 document.write("</table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowMidInsWebAds()
{
  CurrSubid=GetCurrSubid();
  document.write("<center>");
  ShowInsWebAds(CurrSubid,tinbu_cxt_serveUrl);
  document.write("</center>");
}
function ShowTinbuCtxtAdsMidCom01(DefinedWidth)
{
 switch (mid_ads_type)
 {
  case ads_type_ctxt:
   ShowMidCtxtPopSearchAds(DefinedWidth);
   break;
  case ads_type_popular:
   ShowMidCtxtPopSearchAds(DefinedWidth);
   break;
  case ads_type_advert:
   ShowAdvertisingComBanner();
   break;
  case ads_type_other:
   ShowMidInsWebAds();
   break;
  case ads_type_clickbank:
   Show_CB_Ads(tinbu_subid,tinbu_cxt_serveUrl);
   break;
  case ads_type_adblade:
   AdBlade_Ads(cm_channel_index);
   break;
  case ads_type_pulse360:
   ShowPulse360Ads(2);
   break;
  case ads_type_superpages:
   ShowSearchByType(SearchTypeSPages);
   break;
  case ads_type_leadrev:
   Show_LR_Ad(CurrSubid,tinbu_cxt_serveUrl);
   break;
  case ads_type_ybrant:
   ShowYBrantAds();
   break;
  case ads_type_indeed:
   ShowSearchByType(SearchTypeIndeed);
   break;
  case ads_type_shopping:
   ShowPopularShopping();
   break;
 }
}
function ShowTinbuCtxtAdsMiddle01()
{
 ShowTinbuCtxtAdsMidCom01(1);
}

function ShowTinbuCtxtAdsMiddle02()
{
 ShowTinbuCtxtAdsMidCom01(0);
}

function ShowTinbuCtxtAdsMiddleByWidth(AdsWidth)
{
 ShowTinbuCtxtAdsMidCom01(AdsWidth);
}

function ShowBtmCtxtPopSearchAds(FixedWidth)
{
 if (btm_ctxt_title[0] == null || !btm_ctxt_title[0]) {
  ShowDefaultPopularSearch();
  return;
 }
 if (FixedWidth) {
  document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=400><tr><td align=left class=ctxt_box>");
 } else {
  document.write("<center><table bgcolor=#FFFFFF cellpadding=0 border=0 cellspacing=0 width=100%><tr><td align=left class=ctxt_box>");
 }
 document.write("<table cellpadding=0 border=0 cellspacing=5 width=100%>");
 for (adsIndex=0; adsIndex<btm_ctxt_title.length; adsIndex++)
 {
  document.write("<tr align=left valign=top>");
  if (btm_ads_type == ads_type_ctxt) {
   ShowAdsCell("100%", btm_ctxt_title[adsIndex], btm_ctxt_desc[adsIndex], btm_ctxt_host[adsIndex], btm_ctxt_url[adsIndex], true, true);
  } else {
   ShowPopCell("100%", btm_ctxt_title[adsIndex], btm_ctxt_desc[adsIndex]);
  }
  document.write("</tr>");
 }
 document.write("</table>");
 document.write("</td></tr>");
 document.write("</table></center>");
}
function ShowTinbuCtxtAdsBtmCom01(FixedWidth)
{
 switch (btm_ads_type)
 {
  case ads_type_ctxt:
   ShowBtmCtxtPopSearchAds(FixedWidth);
   break;
  case ads_type_popular:
   ShowBtmCtxtPopSearchAds(FixedWidth);
   break;
  case ads_type_advert:
   ShowAdvertisingComBanner();
   break;
  case ads_type_other:
   ShowMidInsWebAds();
   break;
  case ads_type_clickbank:
   Show_CB_Ads(tinbu_subid,tinbu_cxt_serveUrl);
   break;
  case ads_type_adblade:
   AdBlade_Ads(cm_channel_index);
   break;
  case ads_type_pulse360:
   ShowPulse360Ads(3);
   break;
  case ads_type_superpages:
   ShowSearchByType(SearchTypeSPages);
   break;
  case ads_type_leadrev:
   Show_LR_Ad(CurrSubid,tinbu_cxt_serveUrl);
   break;
  case ads_type_ybrant:
   ShowYBrantAds();
   break;
  case ads_type_indeed:
   ShowSearchByType(SearchTypeIndeed);
   break;
  case ads_type_shopping:
   ShowPopularShopping();
   break;
 }
}
function ShowTinbuCtxtAdsBottom01()
{
 ShowTinbuCtxtAdsBtmCom01(true);
}
function ShowTinbuCtxtAdsBottom02()
{
 ShowTinbuCtxtAdsBtmCom01(false);
}
/********************  THIS IS FOR SEARCH ***************************/
function SaveLycosSearch(theForm)
{
 SetCurrSubid();
 ckS1l1ll (var_user_req, SearchTypeLycos);
 ckS1l1ll (var_search_term, theForm.srch_key.value);
 ckS1l1ll (var_search_page, "1");
}
function SaveSearchByType(ThisForm)
{
 SetCurrSubid();
 ckS1l1ll (var_user_req, ThisForm.srch_type.value);
 if (ThisForm.srch_type.value==SearchTypeShop) {
  ckS1l1ll (var_prcgrab_key, ThisForm.srch_key.value);
  ckS1l1ll (var_topcat_id,ThisForm.topcat.value);
  ckS1l1ll (var_search_page,1);
 } else {
  ckS1l1ll (var_search_term, ThisForm.srch_key.value);
  ckS1l1ll (var_usr_loc, ThisForm.bizloc.value);
 }
 ckS1l1ll (var_search_page, 1);
 GoToSearch();
}
function ShoppingPopularSearch(topcat_id,catzero_id,keywords,page)
{
 SetCurrSubid();
 ckS1l1ll (var_user_req, SearchTypeShop);
 ckS1l1ll (var_topcat_id, topcat_id);
 ckS1l1ll (var_catzero_id, catzero_id);
 ckS1l1ll (var_prcgrab_key, keywords);
 ckS1l1ll (var_search_page, page);
 GoToSearch();
}
function SuperIndeedPopularSearch(SearchType, SrchKey)
{
 SetCurrSubid();
 ckS1l1ll (var_user_req, SearchType);
 ckS1l1ll (var_search_term, SrchKey);
 ckS1l1ll (var_usr_loc, UserSearchLocation);
 ckS1l1ll (var_search_page, "1");
 GoToSearch();
}
function LycosPopularSearch(theSearchTerm)
{
 SetCurrSubid();
 ckS1l1ll (var_user_req, SearchTypeLycos);
 ckS1l1ll (var_search_term, theSearchTerm);
 ckS1l1ll (var_search_page, "1");
 GoToSearch();
}
function GoToSearch()
{
 window.location.href=search_url;
}
function JumpToLycosSearch(pageNum)
{
 ckS1l1ll (var_user_req, SearchTypeLycos);
 ckS1l1ll (var_search_page, pageNum);
 GoToSearch();
}
function JumpToSuperPagesSearch(pageNum)
{
 ckS1l1ll (var_user_req, SearchTypeSPages);
 ckS1l1ll (var_search_page, pageNum);
 GoToSearch();
}
function JumpToIndeedSearch(pageNum)
{
 ckS1l1ll (var_user_req, SearchTypeIndeed);
 ckS1l1ll (var_search_page, pageNum);
 GoToSearch();
}
function ChangeUserSrchTerm(NewTerm)
{
 if(NewTerm.length>2) {
  ckS1l1ll (var_usr_key, NewTerm);
 }
}
function ChangeLocation(NewLocation)
{
 if(NewLocation.length>2) {
  ckS1l1ll (var_usr_loc, NewLocation);
 }
}
function SetSearchType (SearchType)
{
 ckS1l1ll (var_user_req, SearchType);
 if (SearchType==SearchTypeSPages) {
  if (UserSearchLocation!="" && UserSearchKeywords!="") {
   ckS1l1ll (var_search_term, UserSearchKeywords);
   ckS1l1ll (var_usr_loc, UserSearchLocation);
   ckS1l1ll (var_search_page, "1");
   GoToSearch();
   return;
  }
 } else if (SearchType==SearchTypeLycos) {
  if (UserSearchKeywords!="") {
   if (UserSearchLocation!="") {
    ckS1l1ll (var_search_term, UserSearchKeywords+"+"+UserSearchLocation);
   } else {
    ckS1l1ll (var_search_term, UserSearchKeywords);
   }
   ckS1l1ll (var_user_req, SearchTypeLycos);
   ckS1l1ll (var_search_page, "1");
   GoToSearch();
   return;
  }
 }
 window.location.reload();
}
function xO0O01OO0OO0() // Show Search Results
{
 var CkUserReq=ckG1ll11(var_user_req);
 var CookieSearchPageNum=ckG1ll11(var_search_page);
 var CKValSearchTerm=ckG1ll11(var_search_term);
 if (CookieSearchPageNum == "") {
  CookieSearchPageNum="1";
 }
 CurrSubid=GetCurrSubid();
 if (CkUserReq==SearchTypeLycos) {
  document.write("<script language=javascript src='http://www.tinbuadserv.com/script/lycos_tinbu_search_new?Keywords="+escape(CKValSearchTerm));
  document.write("&subid="+CurrSubid);
  document.write("&serveUrl="+search_url);
  document.write("&is="+CookieSearchPageNum);
  document.write("'></script>");
 } else if (CkUserReq==SearchTypeSPages || CkUserReq==SearchTypeIndeed) {
  var CKValLSearchLocation=ckG1ll11(var_usr_loc);
  var parser_name="superpages_parser";
  if (CkUserReq==SearchTypeIndeed) {
   parser_name="indeed_parser";
  }
  ckS1l1ll (var_search_page, 1);
  document.write("<script language=javascript src='http://www.tinbuadserv.com/ads_mgmt/inc/"+parser_name+".php?Keywords="+escape(CKValSearchTerm));
  document.write("&loc="+CKValLSearchLocation);
  document.write("&subid="+CurrSubid);
  document.write("&serveUrl="+search_url);
  document.write("&page="+CookieSearchPageNum);
  document.write("'></script>");
 } else if (CkUserReq==SearchTypeShop) {
  var CKValPriceKey=ckG1ll11(var_prcgrab_key);
  var CKValCatZero=ckG1ll11(var_catzero_id);
  var CKValLTopCat=ckG1ll11(var_topcat_id);
  ckS1l1ll (var_search_page, 1);
  document.write("<script language=javascript src='http://www.tinbuadserv.com/ads_mgmt/inc/pricegrabber_parser.php?Keywords="+escape(CKValPriceKey));
  document.write("&topcat="+CKValLTopCat);
  document.write("&catzero="+CKValCatZero);
  document.write("&subid="+CurrSubid);
  document.write("&serveUrl="+search_url);
  document.write("&page="+CookieSearchPageNum);
  document.write("'></script>");
 }
}
function ShowSearchBarTitle(TitleText,SearchType)
{
 if(SearchType==0) { // text only
  document.write("<b>"+TitleText+"</b>");
 } else {
  document.write("<a class=srchbartitle href=\'javascript:SetSearchType("+SearchType+")\'>"+TitleText+"</a>");
 }
}
function ShowSearchBarSpacer()
{
 document.write("&nbsp;&nbsp;<img src='http://www.tinbuadserv.com/imgs_feed/srchbarline.png'>&nbsp;&nbsp;");
}
function ShowSearchBarCom01()
{
 document.write("<center><table bgcolor=#FFFFFF width=413 cellpadding=0 cellspacing=0 border=0>");
 document.write("<tr valign=middle align=left><td class=srchbartopcell height=25>&nbsp;");
}
function ShowSearchBarCom02()
{
 document.write("</td></tr>");
 document.write("<tr valign=bottom><td height=32>");
 document.write("<table bgcolor=#C0C0C0 width=100% cellpadding=2 cellspacing=1 border=0><tr>");
 document.write("<td bgcolor=#ECECEC>");
 document.write("<center><table border=0 cellpadding=0 cellspacing=0 width=380><tr valign=middle>");
}
function ShowSearchBarCom03(Text1,Text2)
{
 document.write("</td></tr></table>");
 document.write("<table width=100% cellpadding=0 cellspacing=0 border=0>");
 document.write("<tr align=left height=25 valign=top><td  align=center class=srchbarbtmcell width=50%>&nbsp;"+Text1+"</td>");
 document.write("<td class=srchbarbtmcell >"+Text2+"</td></tr></table>");
 document.write("</td></tr></table></center>");
}
function ShowSearchNavLinks()
{
 if (SearchNavLinkType==0) {
  return;
 }
 var hasTextBefore=false;
 if (HasShopSearch) {
  if (CurrSrchBar==SearchTypeShop) {
   ShowSearchBarTitle(SearchShopText,0);
  } else {
   ShowSearchBarTitle(SearchShopText,SearchTypeShop);
  }
  hasTextBefore=true;
 }
 if (HasSPagesSearch) {
  if (hasTextBefore) {
   ShowSearchBarSpacer();
  }
  if (CurrSrchBar==SearchTypeSPages) {
   ShowSearchBarTitle(SearchSPagesText,0);
  } else {
   ShowSearchBarTitle(SearchSPagesText,SearchTypeSPages);
  }
  hasTextBefore=true;
 }
 if (HasIndeedSearch) {
  if (hasTextBefore) {
   ShowSearchBarSpacer();
  }
  if (CurrSrchBar==SearchTypeIndeed) {
   ShowSearchBarTitle(SearchIndeedText,0);
  } else {
   ShowSearchBarTitle(SearchIndeedText,SearchTypeIndeed);
  }
  hasTextBefore=true;
 }
 if (HasLycosSearch) {
  if (hasTextBefore) {
   ShowSearchBarSpacer();
  }
  if (CurrSrchBar==SearchTypeLycos) {
   ShowSearchBarTitle(SearchLycosText,0);
  } else {
   ShowSearchBarTitle(SearchLycosText,SearchTypeLycos);
  }
  hasTextBefore=true;
 }
}
function ShowLycosSearchCell(ShowSchTerm)
{
 GetUserSearchInfo(ShowSchTerm,SearchTypeSPages);
 document.write("<form method=post action=\"javascript:GoToSearch()\" onsubmit=\"return SaveLycosSearch(this)\">");
 document.write("<td align=right class=spsrchboxlbl><img src='http://www.tinbuadserv.com/imgs_feed/lycos_dog.png'>&nbsp;</td>");
 document.write("<td align=center><input size=40 onChange='ChangeUserSrchTerm(this.value)' size=30 class=tbtextinput type=text name=srch_key id=srch_key value=\""+FillKeyword+"\"></td>");
 document.write("<td><input type=image border=0 src='http://www.tinbuadserv.com/imgs_feed/findButton2.png'></td>");
 document.write("</form></tr></table></center>");
}
function ShowSPagesSearchCell(ShowSchTerm)
{
 GetUserSearchInfo(ShowSchTerm,SearchTypeSPages);
 document.write("<form method=post name=SuperPagesSearch action='javascript:GoToSearch()' onsubmit='return SaveSearchByType(this)'>");
 document.write("<input type=hidden name=srch_type value="+SearchTypeSPages+">");
 document.write("<td class=spsrchboxlbl>&nbsp;Find&nbsp;</td>");
 document.write("<td ><input size=18 onChange='ChangeUserSrchTerm(this.value)' class=tbtextinput type=text name=srch_key id=srch_key value=\""+FillKeyword+"\"></td>");
 document.write("<td align=center class=spsrchboxlbl >&nbsp;in&nbsp;</td>");
 document.write("<td ><input size=18 onChange='ChangeLocation(this.value)' class=tbtextinput type=text name=bizloc value=\""+UserSearchLocation+"\"></td>");
 document.write("<td><input type=image border=0 src='http://www.tinbuadserv.com/imgs_feed/findButton2.png'></td>");
 document.write("</form></tr></table></center>");
}
function ShowIndeedSearchCell(ShowSchTerm)
{
 GetUserSearchInfo(ShowSchTerm,SearchTypeIndeed);
 document.write("<form method=post name=SuperPagesSearch action='javascript:GoToSearch()' onsubmit='return SaveSearchByType(this)'>");
 document.write("<input type=hidden name=srch_type value="+SearchTypeIndeed+">");
 document.write("<td class=spsrchboxlbl>&nbsp;Find&nbsp;</td>");
 document.write("<td ><input size=18 onChange='ChangeUserSrchTerm(this.value)' class=tbtextinput type=text name=srch_key id=srch_key value=\""+FillKeyword+"\"></td>");
 document.write("<td align=center class=spsrchboxlbl>&nbsp;job&nbsp;in&nbsp;</td>");
 document.write("<td ><input size=18 onChange='ChangeLocation(this.value)' class=tbtextinput type=text name=bizloc value=\""+UserSearchLocation+"\"></td>");
 document.write("<td><input type=image border=0 src='http://www.tinbuadserv.com/imgs_feed/findButton2.png'></td>");
 document.write("</form></tr></table></center>");
}
function ShowShopSearchCell(ShowSchTerm)
{
 GetUserSearchInfo(ShowSchTerm,SearchTypeShop);
 document.write("<form method=post name=SuperPagesSearch action='javascript:GoToSearch()' onsubmit='return SaveSearchByType(this)'>");
 document.write("<input type=hidden name=srch_type value="+SearchTypeShop+">");
 document.write("<td class=spsrchboxlbl>&nbsp;Shop&nbsp;For&nbsp;</td>");
 document.write("<td ><input size=18 onChange='ChangeUserSrchTerm(this.value)' class=tbtextinput type=text name=srch_key id=srch_key value=\""+FillKeyword+"\"></td>");
 document.write("<td align=center class=spsrchboxlbl >&nbsp;in&nbsp;</td>");
 document.write("<td><select name=topcat>");
 document.write("<option value=0>All Products</option>");
 for(var i=0;i<shopping_terms.length;i++)
 {
  document.write("<option value="+shopping_terms[i][0]+">"+shopping_terms[i][1]+"</option>");
 }
 document.write("</select></td>");
 document.write("<td><input type=image border=0 src='http://www.tinbuadserv.com/imgs_feed/findButton2.png'></td>");
 document.write("</form></tr></table></center>");
}
function ShowLycosSearch(ShowSchTerm)
{
 ShowSearchBarCom01();
 ShowSearchNavLinks();
 ShowSearchBarCom02();
 ShowLycosSearchCell(ShowSchTerm);
 ShowSearchBarCom03("","");
}
function ShowShopSearch(ShowSchTerm)
{
 ShowSearchBarCom01();
 ShowSearchNavLinks();
 ShowSearchBarCom02();
 ShowShopSearchCell(ShowSchTerm);
 ShowSearchBarCom03("Business, Category or Keyword","City and State, or Zip Code");
}
function ShowSPagesSearch(ShowSchTerm)
{
 ShowSearchBarCom01();
 ShowSearchNavLinks();
 ShowSearchBarCom02();
 ShowSPagesSearchCell(ShowSchTerm);
 ShowSearchBarCom03("Business, Category or Keyword","City and State, or Zip Code");
}
function ShowIndeedSearch(ShowSchTerm)
{
 ShowSearchBarCom01();
 ShowSearchNavLinks();
 ShowSearchBarCom02();
 ShowIndeedSearchCell(ShowSchTerm);
 ShowSearchBarCom03("Job title, keywords or company name","City and State, or Zip Code");
}
function x0OllOl000lO (ShowSchTerm)
{
 if (!HasSearchBar) {
  return;
 }
 CurrSrchBar=ckG1ll11(var_user_req);
 if (CurrSrchBar==SearchTypeSPages) { 
  ShowSPagesSearch(ShowSchTerm);
 } else if (CurrSrchBar==SearchTypeLycos) { 
  ShowLycosSearch(ShowSchTerm);
 } else if (CurrSrchBar==SearchTypeIndeed) { 
  ShowIndeedSearch(ShowSchTerm);
 } else if (CurrSrchBar==SearchTypeShop) { 
  ShowShopSearch(ShowSchTerm);
 } else { 
  CurrSrchBar=SearchTypeSPages;
  ShowSPagesSearch(ShowSchTerm);
 }
}
function x1OllOl000l1(ShowSchTerm)
{
 document.write("<center><table width=350 cellpadding=0 cellspacing=0 border=0>");
 document.write("<form action=\"javascript:GoToSearch()\" onsubmit=\"return SaveLycosSearch(this)\">");
 document.write("<tr><td width=135><img src=\"http://www.tinbuadserv.com/imgs_feed/lycos_white.png\"></td>");
 document.write("<td width=110><input type=TEXT name=srch_key size=25 ");
 if (ShowSchTerm) {
  var CKValSearchTerm=ckG1ll11(var_search_term);
  document.write("value=\""+CKValSearchTerm+"\"");
 } else {
  document.write("value=\"\"");
 }
 document.write("></td>");
 document.write("<td width=40><input type=submit value=\"Search\" name=Submit></td><tr>");
 document.write("</form>");
 document.write("</table></center>");
}
document.write("<iframe frameborder=0 id=\"SPagesTrackingIframe\" name=\"SPagesTrackingIframe\" width=1px height=1px src=\"http://www.lottostrategies.com/mgmt/blank.html\"></iframe>");
