$(document).ready(function() {
//The clean way.
var build_link = function(rel,href, bodystr,divstr) {
return ' '+bodystr+' '+divstr;
}
var str = "";
var bodystr = "";
var divstr = "";
var orderStatus = " ";//need empty space for minicart link.
orderStatus+='My Cart: ';
bodystr+='
';
bodystr+=orderStatus;
bodystr+="0 Items - ";
bodystr+='$0.00';
bodystr+='
';
str += build_link('http://www1.lexmark.com/US/en/common/include/minicart.jsp?allproducts=null','http://www1.lexmark.com/US/en/cart/cart.jsp',bodystr,divstr);
if(str == 'null' || str == ''){
$('#cart-ul').hide();
} else {
$('#cart-ul').html(str); }
var build_link2 = function(href, str2) {
return '
';
if(str4 == 'null' || str4 == ''){
$('#pencil').hide();
} else {
$('#pencil-unit').html(str4);
}
if(str5 == 'null' || str5 == ''){
$('#logout-form').hide();
}
else {
$('#logout-form').html(str5);
}
},1);