Borders – Books, Used Books, Music, DVDs & Blu-ray
/* this variable (wishlistCountMini) is used to evaluate if maximum number of wishlist items has been reached on the client side used in: MiniShipCartDisplay.jsp and wishlist.js */ var wishlistCountMini = 0;
function clearText(obj){ obj.value = ""; }
function Set_Cookie( name, value, expires, path, domain, secure ) { /* set time, it's in milliseconds */ var today = new Date(); today.setTime( today.getTime() );
/* if the expires variable is set, make the correct expires time, the current script below will set it for x number of days, to make it for hours, delete * 24, for minutes, delete * 60 * 24 */ if ( expires ) { expires = expires * 1000 * 60 * 60 * 24; } var expires_date = new Date( today.getTime() + (expires) );
document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); }
function Get_Cookie( name ) {
var start = document.cookie.indexOf( name + "=" ); var len = start + name.length + 1; if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) { return null; } if ( start == -1 ) return null; var end = document.cookie.indexOf( ";", len ); if ( end == -1 ) end = document.cookie.length; return unescape( document.cookie.substring( len, end ) ); }
/* copied over from the former globalNavigation.jsp */
function storeCurrentURL()
{
var continueBrowsingURL = window.location;
createCookie('borders.oldBrowsingURL',continueBrowsingURL,1);
}
style="background:transparent url(/wps/wcm/myconnect/35c6bb004871929cae01efdac159f99f/Borders_tile.jpg?MOD=AJPERES) repeat-x scroll 0% 0%;"
>
class="no_sub_Nav">
var type = 0; var advanced = false;
try{ if(!advanced){ if(type ==2){ document.getElementById("selectType").selectedIndex = 6; }else if(type==3){ document.getElementById("selectType").selectedIndex = 17; }else{ document.getElementById("selectType").selectedIndex = type; } }else{ document.getElementById("selectType").selectedIndex = type; } } catch(e){} function validateTerm(){ var term = document.getElementById("keywordId").value; if( term != null && term != "" ){ evalSearchField(); return false; } else{ return false; } } function evalSearchField(){ var textVal = document.getElementById('keywordId').value ; var evalVal = ''; if(textVal == "" || textVal=="What are you looking for?"){ document.getElementById("searchmsgerror").style.display=""; }else{ var selectCombo = document.getElementById("selectType"); if((selectCombo.value == 0)||(selectCombo.value == 1)||(selectCombo.value == 2)||(selectCombo.value == 3)) {
document.getElementById('bordersearch').submit(); } else { if((selectCombo.value == 4)||(selectCombo.value == 5) ||(selectCombo.value == 6)){ var newsearch = document.getElementById("newsearchid"); if(selectCombo.value == 4){ newsearch.name = "title"; } else if(selectCombo.value == 5){ newsearch.name = "contrib"; } else if(selectCombo.value == 6){ newsearch.name = "sku"; } newsearch.value = textVal; var newSearchType = document.getElementById("newSearchType"); newSearchType.name = "type"; newSearchType.value="1"; } if((selectCombo.value == 8)||(selectCombo.value == 9)||(selectCombo.value == 10)||(selectCombo.value == 11)
||(selectCombo.value == 13)||(selectCombo.value == 14)||(selectCombo.value == 15)||(selectCombo.value == 16)||(selectCombo.value == 17)){
var newsearch = document.getElementById("newsearchid"); if(selectCombo.value == 8){ newsearch.name = "title"; } else if(selectCombo.value == 9){ newsearch.name = "contrib"; } else if(selectCombo.value == 10){ newsearch.name = "song"; } else if(selectCombo.value == 11){ newsearch.name = "sku"; } else if(selectCombo.value == 14){ newsearch.name = "comp"; } else if(selectCombo.value == 15){ newsearch.name = "cond"; } else if(selectCombo.value == 16){ newsearch.name = "work"; } else if(selectCombo.value == 17){ newsearch.name = "catno"; }else if(selectCombo.value == 13){ newsearch.name = "music_search"; }
newsearch.value = textVal; var newSearchType = document.getElementById("newSearchType"); newSearchType.name = "type"; newSearchType.value="2"; } if((selectCombo.value == 18)||(selectCombo.value == 19) ||(selectCombo.value == 20) ||( selectCombo.value == 21)){ var newsearch = document.getElementById("newsearchid"); if(selectCombo.value == 18){ newsearch.name = "title"; } else if(selectCombo.value == 19){ newsearch.name = "contrib"; } else if(selectCombo.value == 20){ newsearch.name = "actor"; } else if(selectCombo.value == 21){ newsearch.name = "sku"; } newsearch.value = textVal; var newSearchType = document.getElementById("newSearchType"); newSearchType.name = "type"; newSearchType.value="3"; } if(selectCombo.value == 7){ document.location.href='http://usedmarketplace.borders.com/booksearch?wquery='+textVal } else if(selectCombo.value == 12){ document.location.href='http://usedmarketplace.borders.com/musicsearch?wquery='+textVal } else if (selectCombo.value == 22){ document.location.href='http://usedmarketplace.borders.com/moviesearch?wquery='+textVal } else{ var newSearchType = document.getElementById("fromHeaderId"); newSearchType.value=selectCombo.selectedIndex; document.getElementById('bordersearchnew').submit(); } } }
}
function clearErrMsg(){
document.getElementById("searchmsgerror").style.display="none";
}
Welcome!
var signInUrl = "https://www.borders.com/online/store/LogonForm"; var signOutUrl = "LogoffRedirectView?URL=http%3a%2f%2fwww.borders.com%2fonline%2fstore%2fHome"; var notUserUrl = "LogoffRedirectView?URL=https%3a%2f%2fwww.borders.com%2fonline%2fstore%2fLogonForm";
var signInText = 'Sign in'; var signOutText = 'Sign out'; var notUserText = 'not'; var welcomeText = 'Welcome ';
function loadUserName(){ var commandName = "Home";
function deleteCookies(){ var cookieName="borders_deleteWCCookies"; var clearCookies= readCookie(cookieName); if( clearCookies && clearCookies != "" && clearCookies=='true'){ deleteWCCookies(); eraseCookie(cookieName); eraseCookie(cookie_firstName); eraseCookie(cookie_loggedIn); eraseCookie(cookie_userId); eraseCookie(cookie_email); eraseCookie(cookie_encodedUserId); eraseCookie(cookie_miniCart); } }
if( !isUserGeneric() ){ var userFirstName = escapeDisplayString(readCookie(cookie_firstName), 'name'); if( ajx_loggedIn && ajx_loggedIn != "" && ajx_userFirstName && ajx_userFirstName != "" ){ updateWelcomeMsg(ajx_userFirstName); } else if ('G' != 'G'){
var url = "ajax/userInfo.jsp"; var myAjax = new Ajax.Request(url, { onSuccess: getUserInfoFromResponse, onComplete: function(){updateWelcomeMsg(ajx_userFirstName);} }); } else if(userFirstName && userFirstName != "" ){ updateWelcomeMsg(userFirstName); } else { updateWelcomeMsg(''); } } else{ $("linksCache").innerHTML = '
'; }
deleteCookies(); } function updateWelcomeMsg(userName){ if( userName!="" && userName!=null){ $("welcomeCache").innerHTML = " " + userName; $("linksCache").innerHTML = '
'; } else{ $("linksCache").innerHTML = '
'; } }
- href="http://www.borders.com/online/store/OrderCalculate?storeId=13551&updatePrices=1&errorViewName=GenericPageView&calculationUsageId=-1&calculationUsageId=-7&orderItemId*=&quantity*=&URL=OrderItemDisplay">Shopping Cart
-
-
onClick="createCookie('borders.registerReferer','Wishlist',1);"
href="Wishlist" />Wish List - href="http://www.borders.com/online/store/LocatorView">Store Locator
var pageName="homeTab"; var linkActive = "0"; if(pageName!=""){ document.getElementById(pageName).className="on"; if(linkActive!=""){ if(linkActive=="0"){ document.getElementById(pageName).href="javascript:void(0)"; } else{ document.getElementById(pageName).className="subon"; } } if ("homeTab" =="homeTab") { document.getElementById("BordersLogoA").href="javascript:void(0)"; document.getElementById("BordersLogoA").style.cursor="default"; } }
Top 50 Pre-Orders
Take Note
January 31, 2010
January 28, 2010
January 18, 2010
Connect with Borders
eReading Made Easy
TOP OF MIND:
|
|
|

New James Patterson
Anita Blake, Vampire Hunter
New for Kids
Borders.com Price: $10.39
- Just Out! The 39 Clues Card Pack #3
- More for Kids


Borders Presents: James Patterson
Borders Backlot: The Lightning Thief
Online
Feb 01, 2010 17:55:46




























