Project Linus Store-Home

Products

“; } function insubmenu(mei,mid){ if(curmen[mid]==0)return(false); curm=curmen[mid]; maxloops=0; while(curm!=0){ if(mei==curm)return(true); curm=em[curm]; if(maxloops++>10) break; } return(false); } function addsubsclass(mennum,menid){ for(var ei in em){ if(typeof(emt[mennum][ei])==’boolean’){ men=document.getElementById(‘ect’+mennum+’_’+ei); if(men.className.indexOf(‘ectmenuhassub’)==-1)men.className+=’ ectmenuhassub’+(mennum+1); } } } emt[0]=new Array();curmen[0]=0; em[21]=0;emt[0][0]=false;em[31]=21;emt[0][21]=false;em[46]=21;emt[0][21]=false;em[22]=0;emt[0][0]=false;em[30]=22;emt[0][22]=false;em[24]=22;emt[0][22]=false;em[17]=0;emt[0][0]=false;em[15]=0;emt[0][0]=false;em[39]=0;emt[0][0]=false;em[7]=39;emt[0][39]=false;em[2]=0;emt[0][0]=false;em[10]=0;emt[0][0]=false;em[20]=0;emt[0][0]=false;em[42]=20;emt[0][20]=false;em[49]=20;emt[0][20]=false;em[19]=0;emt[0][0]=false;em[11]=19;emt[0][19]=false;em[28]=19;emt[0][19]=false;em[38]=0;emt[0][0]=false; addsubsclass(0,0) /* ]]]]> */]]>

Search

<span class='minlogin'>Login Status</span>” />               Login Status</td></tr><tr><td><p>Not logged in</p></td></tr><tr><td>» <a href=Login

Project Linus Store

Support Project Linus

All proceeds from our store support Project Linus. Each purchase you make assists in our mission providing blankets to children in need and service opportunities in your area. For our complete mission statement please click here.

Featured Items

Close Window‘ + ‘

The following items have been added to your order.

‘; if(retvals[0]!=”) schtml+=’

The following product isn’t currently available in our store: “‘+decodeURIComponent(retvals[0])+'”

‘; schtml+=”+ // Image and products container ‘‘ + ”; // start outer div for products var baseind=7; for(var index=0;index

‘+retvals[baseind+2]+’ ‘+pname+’ has been added

‘;
var prhtml=’

Price:’+pprice+’

‘;
var numoptions=retvals[baseind+5];
baseind+=6;
if(numoptions>0){
schtml+=”; for(var index2=0;index2

– ‘+optname+’:

‘+optvalue+’

‘;
}
schtml+=”; } schtml+=prhtml+”; } schtml+=”+ // end outer div for products
”+ // end image and products container ”; try{pprice=decodeURIComponent(retvals[5])}catch(err){pprice=’ERROR’} if(retvals[1]==1) schtml+=’

STOCK WARNING: Low stock on selected item, please click “Edit Order” to accept stock level.

‘; if(retvals[2]==1) schtml+=’

Item not currently in stock but placed on back order – select “Edit Order” to modify purchase.

‘; schtml+=’

Cart contents:’+retvals[4]+’ item(s)

‘ + ‘

(Discounts:) / Cart total:’+pprice+’

‘ + ” + ”; document.getElementById(‘scdiv’).innerHTML=schtml; if(document.getElementsByClassName){ var ectMCpm=document.getElementsByClassName(‘ectMCquant’); for(var index=0;indexclick here’;
ectMCpm=document.getElementsByClassName(‘ectMCtot’);
for(var index=0;indexbaseind){
try{pparam=decodeURIComponent(retvals[baseind++])}catch(err){pparam=’-‘}
if(ectMCpm=document.getElementById(‘sccarttax’))ectMCpm.innerHTML=pparam;
try{pparam=decodeURIComponent(retvals[baseind++])}catch(err){pparam=’-‘}
var ectMCpm=document.getElementsByClassName(‘mcMCdsct’);
for(var index=0;index‘;
document.getElementById(‘opaquediv’).style.display=”;
}
}
var op=[]; // Option Price Difference
var aIM=[],aIML=[]; // Option Alternate Image
var dOP=[]; // Dependant Options
var dIM=[]; // Default Image
var pIM=[],pIML=[]; // Product Image
var pIX=[]; // Product Image Index
var ot=[]; // Option Text
var pp=[]; // Product Price
var pi=[]; // Alternate Product Image
var or=[]; // Option Alt Id
var cp=[]; // Current Price
var oos=[]; // Option Out of Stock Id
var rid=[]; // Resulting product Id
var otid=[]; // Original product Id
var opttype=[];
var optperc=[];
var optmaxc=[];
var optacpc=[];
var fid=[];
var baseid=”;var oS=[];
var ps=[];
function checkStock(x,i,backorder){
if(i!=”&&(oS[i]>0||or[i]))return(true);
if(backorder&&(globBakOrdChk||confirm(“Some of these options are not currently in stock but are available to back order.”)))return(globBakOrdChk=true);
alert(“I’m sorry, that particular option is currently out of stock”);
x.focus();return(false);
}var isW3=(document.getElementById&&true);
var tax=0;
function dummyfunc(){};
function pricechecker(cnt,i){
if(i!=”&&i in op)return(op[i]);return(0);}
function regchecker(cnt,i){
if(i!=”)return(or[i]);return(”);}
function enterValue(x){
alert(“Please enter a value where indicated.”);
x.focus();return(false);}
function invalidChars(x){
alert(“The following characters are invalid:” + x);
return(false);}
function enterDigits(x){alert(“Please enter only digits in this field.”);x.focus();return(false);}
function enterMultValue(){alert(“Please enter a quantity for at least one option.”);return(false);}
function chooseOption(x){
alert(“Please choose from the available product options.”);
x.focus();return(false);}
function dataLimit(x,numchars){
alert(“Please enter a maximum of 255 chars in the field indicated.”.replace(255,numchars));
x.focus();return(false);}
var hiddencurr=”;
function addCommas(ns,decs,thos){
if((dpos=ns.indexOf(decs))0){
ns=ns.substr(0,dpos)+thos+ns.substr(dpos);
dpos-=3;
}
return(ns);
}
function formatprice(i, currcode, currformat){
if(hiddencurr==”)hiddencurr=document.getElementById(‘hiddencurr’).value;var pTemplate=hiddencurr; if(currcode!=”) pTemplate=’ 0.00′ + (currcode!=’ ‘?”+currcode+”:”);if(currcode==” JPY”)i=Math.round(i).toString();else if(i==Math.round(i))i=i.toString()+”.00″;
else if(i*10.0==Math.round(i*10.0))i=i.toString()+”0″;
else if(i*100.0==Math.round(i*100.0))i=i.toString();
i=addCommas(i.toString(),’.’,’,’);if(currcode!=””)pTemplate=currformat.toString().replace(/%s/,i.toString());else pTemplate=pTemplate.toString().replace(/d[,.]*d*/,i.toString());return(pTemplate);}
function openEFWindow(id,askq){
window.open(’emailfriend.php?’+(askq?’askq=1&’:”)+’id=’+id,’email_friend’,’menubar=no, scrollbars=no, width=430, height=430, directories=no,location=no,resizable=yes,status=no,toolbar=no’)
}
function updateoptimage(theitem,themenu,opttype){
var imageitemsrc=”,mzitem,theopt,theid,imageitem,imlist,imlistl,fn=window[‘updateprice’+theitem];
dependantopts(theitem);
fn();
if(opttype==1){
theopt=document.getElementsByName(‘optn’+theitem+’x’+themenu)
for(var i=0; i”,”.jpg”).replace(“?”,”.png”));
}
function updateprodimage(theitem,isnext){
var imlist=pIM[theitem].split(‘*’);
if(isnext) pIX[theitem]++; else pIX[theitem]–;
if(pIX[theitem]imlist.length-2) pIX[theitem]=0;
if(document.getElementById(“prodimage”+theitem))document.getElementById(“prodimage”+theitem).src=vsdecimg(imlist[pIX[theitem]]);
document.getElementById(“extraimcnt”+theitem).innerHTML=pIX[theitem]+1;
return false;
}
function quantup(tobjid,qud){
tobj=document.getElementById(‘w’+tobjid+’quant’);
if(isNaN(parseInt(tobj.value)))tobj.value=1;else if(qud==1)tobj.value=parseInt(tobj.value)+1;else tobj.value=Math.max(1,parseInt(tobj.value)-1);
if(document.getElementById(‘qnt’+tobjid+’x’))document.getElementById(‘qnt’+tobjid+’x’).value=tobj.value;
}/* ]]> */

Source

Please Login to Comment.